~ OPENSOURCE USB CARTRIGE DEVELOPMENT ~
-
- Very interested
- Posts: 374
- Joined: Mon Jun 11, 2007 3:09 am
- Location: Azeitão, PT
-
- Very interested
- Posts: 2984
- Joined: Fri Aug 17, 2007 9:33 pm
I don't know why you couldn't use something like DDR or DDR2 memory. Most manufacturers of FPGAs have libraries of macroblocks, and every one I've looked at has DDR/DDR2 interfaces, DMA, timers, shift registers, etc. I say just put an SODIMM socket on the cart (much smaller, so works with a cart better) and use the FPGA macro library to handle it. People can put as much or as little on the cart as they feel like. A 256 MB DDR SODIMM is only $15 from NewEgg. A 256 MB DDR2 SODIMM is only $10! So even the cheapest DDR2 SODIMM (from a reputable dealer) would give more memory than anyone could possibly use for less than a single PSRAM/SRAM. It doesn't matter if it's hard to interface with - the FPGA handles it.
You would only go for a PSRAM if you didn't wish to have an FPGA as then the interfacing IS a big deal. However, I don't see the cart without an FPGA. You need something to interface to the SD-card, maybe USB, handle bank selecting the RAM, etc. Might as well use an FPGA to handle ALL that (and more! ).
You would only go for a PSRAM if you didn't wish to have an FPGA as then the interfacing IS a big deal. However, I don't see the cart without an FPGA. You need something to interface to the SD-card, maybe USB, handle bank selecting the RAM, etc. Might as well use an FPGA to handle ALL that (and more! ).
-
- Very interested
- Posts: 745
- Joined: Sat Dec 15, 2007 7:49 am
- Location: Kazakhstan, Pavlodar
I tried EDO DRAM. It cost me a major headache. I understand that the use of FPGA would simplify all my effort, but I want device wich cheaper and more importantly - easily repeated by newbie. Therefore, and focused on PSRAM.
In addition, when using DDR or DDR2 or even SDRAM memory you will have to negotiate TTL and LTTL. SODIMM memory is not so small as they should.
In addition, when using DDR or DDR2 or even SDRAM memory you will have to negotiate TTL and LTTL. SODIMM memory is not so small as they should.
-
- Very interested
- Posts: 374
- Joined: Mon Jun 11, 2007 3:09 am
- Location: Azeitão, PT
Where is PSRAM to be found aside from the combo memories that mobile phones have?
The thing about DDRI/II/III is that they work at a huge frequency for a home-project and the wires will be transmission lines, which will have attenuation and signal reflection... And besides that how would the data bus be connected as these rams work with 2.5V/1.5V??
I've seen the DDR interface module for FPGA, but a FPGA to support that and the rest of the features, will be a bit pricey...
For example this FPGA from lattice: LFXP6C5QN208C (I have one):
208pins QFP (Its like the 315-5660 chip from MD2) /142 IOs;
1.8V~3.3V;
5.6k registers;
72+23 Kbits of internal RAM;
Non-Volatile/volatile configuration;
Costs 44.5€ in farnell, 29$ in mouser
Will this be the FPGA? or another one?
The LFXP3C5QN208C is lighter in density and has 136 IOs @ 19$ in mouser
The thing about DDRI/II/III is that they work at a huge frequency for a home-project and the wires will be transmission lines, which will have attenuation and signal reflection... And besides that how would the data bus be connected as these rams work with 2.5V/1.5V??
I've seen the DDR interface module for FPGA, but a FPGA to support that and the rest of the features, will be a bit pricey...
For example this FPGA from lattice: LFXP6C5QN208C (I have one):
208pins QFP (Its like the 315-5660 chip from MD2) /142 IOs;
1.8V~3.3V;
5.6k registers;
72+23 Kbits of internal RAM;
Non-Volatile/volatile configuration;
Costs 44.5€ in farnell, 29$ in mouser
Will this be the FPGA? or another one?
The LFXP3C5QN208C is lighter in density and has 136 IOs @ 19$ in mouser
-
- Very interested
- Posts: 2984
- Joined: Fri Aug 17, 2007 9:33 pm
The Cyclone series from Altera is pretty good as well. As long as you go with lower gate counts, the price is pretty reasonable. A Cyclone III with 10K logic block/elements cost about $20 from DigiKey ($19.20 to ~$40, depending on the exact model). The Cyclone III handbook even shows how to do DDR/DDR2 interfaces (among other things).
-
- Very interested
- Posts: 374
- Joined: Mon Jun 11, 2007 3:09 am
- Location: Azeitão, PT
-
- Very interested
- Posts: 2984
- Joined: Fri Aug 17, 2007 9:33 pm
Just about. The point is that there's a decent selection of good FPGAs at reasonable prices available from a number of sources which can do the job. With enough logic blocks, you could even have a graphics coprocessor to help out, much like the Virtua Racing cart for the Genesis (only better! ).Shiru wrote:Isn't Cyclone III big enough to fit most of SMD hardware inside it (with external RAM and CPUs)?
I like that RAM SLOT idea...
It will make that cart cheaper...
And lot of us have some extra RAM modules at home...
From old PC motherboard...
So choose the right type and then post some very first dimensions
of that RAM-SLOT...
I will try to make some very first and not official cool 3d visualisations of that cartrige... this month.
/as motivation for us /
It will make that cart cheaper...
And lot of us have some extra RAM modules at home...
From old PC motherboard...
So choose the right type and then post some very first dimensions
of that RAM-SLOT...
I will try to make some very first and not official cool 3d visualisations of that cartrige... this month.
/as motivation for us /
-
- Very interested
- Posts: 374
- Joined: Mon Jun 11, 2007 3:09 am
- Location: Azeitão, PT
Yeah a Ram slot is great, but what RAM type?
DDRI?
DDRII?
SDRAM?
DRAM-EDO?
DDRI/II it can be found anywhere, but the voltage? how can someone interface these thingies operating @ 2.5V or 1.5V? Everyone is forgetting that the megadrive works at 5V and connecting these devices to the system is not that easy because of the logic levels...
SDRAM/DRAM EDO work @ 3.3V
And the FPGA needs to have a IO voltage of at least 3.3V, unless the cart will have a logic level translator, but that is going to cost more/space wasted...
DDRI?
DDRII?
SDRAM?
DRAM-EDO?
DDRI/II it can be found anywhere, but the voltage? how can someone interface these thingies operating @ 2.5V or 1.5V? Everyone is forgetting that the megadrive works at 5V and connecting these devices to the system is not that easy because of the logic levels...
SDRAM/DRAM EDO work @ 3.3V
And the FPGA needs to have a IO voltage of at least 3.3V, unless the cart will have a logic level translator, but that is going to cost more/space wasted...
-
- Very interested
- Posts: 2984
- Joined: Fri Aug 17, 2007 9:33 pm
Any would be fine as long as we have at least a couple MBs. I don't mind if it's only 4 MB PSRAM, or a slot where you add your own stick. Either is sufficient to the task.Jorge Nuno wrote:Yeah a Ram slot is great, but what RAM type?
DDRI?
DDRII?
SDRAM?
DRAM-EDO?
Most FPGAs have level shifting on the IO since they realize that most of the systems they'll be stuck into have varying IO levels. I guess that would be one thing to pay attention to when deciding which FPGA to use - check the FPGA handbook for what range of IO levels can be handled. As long as the FPGA handles it, then what voltages the RAM uses becomes moot.DDRI/II it can be found anywhere, but the voltage? how can someone interface these thingies operating @ 2.5V or 1.5V? Everyone is forgetting that the megadrive works at 5V and connecting these devices to the system is not that easy because of the logic levels...
SDRAM/DRAM EDO work @ 3.3V
And the FPGA needs to have a IO voltage of at least 3.3V, unless the cart will have a logic level translator, but that is going to cost more/space wasted...
-
- Very interested
- Posts: 374
- Joined: Mon Jun 11, 2007 3:09 am
- Location: Azeitão, PT
Yeah but then the cart will have 4 different sockets or more if you throw in SODIMMSChilly Willy wrote: Any would be fine as long as we have at least a couple MBs. I don't mind if it's only 4 MB PSRAM, or a slot where you add your own stick. Either is sufficient to the task.
But but Is there a FPGA that have a IO voltage in one side of 5V (for MD) and 2.5V for DDR side? (assuming the ram chosen is DDR)Chilly Willy wrote: Most FPGAs have level shifting on the IO since they realize that most of the systems they'll be stuck into have varying IO levels. I guess that would be one thing to pay attention to when deciding which FPGA to use - check the FPGA handbook for what range of IO levels can be handled. As long as the FPGA handles it, then what voltages the RAM uses becomes moot.
-
- Very interested
- Posts: 2984
- Joined: Fri Aug 17, 2007 9:33 pm
Well, I vote for one SODIMM for DDR2. I'll settle for any memory. As long as it's still just a discussion, I say have two models of carts: the first uses a single PSRAM; the second would have one DDR2 SODIMM socket.Jorge Nuno wrote:Yeah but then the cart will have 4 different sockets or more if you throw in SODIMMSChilly Willy wrote: Any would be fine as long as we have at least a couple MBs. I don't mind if it's only 4 MB PSRAM, or a slot where you add your own stick. Either is sufficient to the task.
The Cyclone divides the IO into two blocks per side, and each of these blocks has its own Vccio. The DDR2 interface would use a different IO block compared to the other in/outs so that they could comply to the proper IO voltage standards. It's all in the handbook. Folks who are interested should probably get the manuals.But but Is there a FPGA that have a IO voltage in one side of 5V (for MD) and 2.5V for DDR side? (assuming the ram chosen is DDR)Chilly Willy wrote: Most FPGAs have level shifting on the IO since they realize that most of the systems they'll be stuck into have varying IO levels. I guess that would be one thing to pay attention to when deciding which FPGA to use - check the FPGA handbook for what range of IO levels can be handled. As long as the FPGA handles it, then what voltages the RAM uses becomes moot.
Cyclone manuals: http://www.altera.com/literature/lit-cyc.jsp
Cyclone II manuals: http://www.altera.com/literature/lit-cyc2.jsp
Cyclone III manuals: http://www.altera.com/literature/lit-cyc3.jsp
Note that the Cyclone III with 5136 logic block elements can be gotten from DigiKey for as low as $12.80 in single unit quantities. I'm not saying it HAS to use a cyclone, but it's available cheap. I'd switch to Lattice if it does a better job for the same price (or the same job cheaper).
-
- Very interested
- Posts: 374
- Joined: Mon Jun 11, 2007 3:09 am
- Location: Azeitão, PT