23 February 2010, 22:51 | #121 | |
Registered User
Join Date: Feb 2010
Location: Germany
Posts: 12
|
Quote:
Heck, why should I do a full 32bit design and bottleneck it by 16bit data pathes inbetween? Michael |
|
23 February 2010, 23:16 | #122 | |
Registered User
Join Date: Feb 2010
Location: Germany
Posts: 12
|
Quote:
For slow cards it is not of concern, but fast switching signals on a programmable logic IC will make this mandatory. For "playing around" a two layer PCB is nice, but may cause more problems than it solves (very first DENEB prototype was a two layer card...). All fast Zorro III cards (gfx cards, SCSI cards, etc.) use four layer PCBs (with few exceptions mainly from Poland), as requested by the Zorro III specs from Dave Haynie, and for technical reasons already mentioned. You also mentioned that you plan to make matched impedance on the drivers in FPGA to match the board impedance - without GND plane you have no reference plane to calculate the impedance on the PCB at all... On speed of Zorro III: my old calculations posted here are rule of thumb, it depends on some factors in the system, like CPU card and type, and the bus interface design. On your 40MB/s assumption... well, dream on. Same for Multi Transfer Cycles - using them is tricky at least, but there is a reason why the DENEB has no support for them (though we played around with that feature during development, so enjoy the game ). DMA... well. Makes sense for I/O cards with high data load (SCSI like Fastlane Z3 and A4091 or USB2 like DENEB). I don't know of any other Zorro III DMA card. And there is also reason for that... it's complex due to Buster "features", available in Buster 9 and 11. Without playing some tricks you won't get stable DMA on Zorro III. Nevertheless, DMA on a RAM card is useless. The CPU stores data in RAM, so what would be the benefit for CPU to set up a DMA transfer from your Zorro III RAM card to ... some other RAM, wait for completion of transfer and finally access the copied RAM content by PIO again? Michael |
|
24 February 2010, 01:15 | #123 |
Thalion Webshrine
Join Date: Jan 2004
Location: Oxford
Posts: 14,463
|
You are the man, and you did the design. I don't claim to know the challenges involved but I regularly down-size buses in my FPGA work to save pins without compromising speed by just running them at twice the speed. This must not have been an option of your USB host controller, otherwise you would I am sure have done so.
|
24 February 2010, 22:00 | #124 | |||
Registered User
Join Date: Feb 2008
Location: Saint-Petersburg / Russia
Posts: 324
|
Quote:
Quote:
Anyway, I am having a great fun with the project. Trying to support MTCs will be fun, too Quote:
|
|||
24 February 2010, 22:14 | #125 |
Registered User
Join Date: Feb 2008
Location: Saint-Petersburg / Russia
Posts: 324
|
Okay, so I've got some results
There are still issues with the system not recognizing the memory on startup (I suspect wrong addressing, or byte swap, or other bugs of all sorts). But the memory responds, can be written to and read from. The nice small memtest program helped me a lot in debugging: Unfortunately it doesn't use patterns like 0x12345678, and won't detect faulty addressing. And there are the bustest utility results for SDRAM running at 133MHz. The memory chip was desoldered from a PC100 DIMM. It is a Micron 8Mx16 SDRAM, and can do 133MHz according to the datasheet. However, the memtest reported errors, and I had to lower its clock to 100MHz to run more or less stable. The performance goes down a bit, with peaks at around 9MB/s. |
24 February 2010, 22:18 | #126 |
Thalion Webshrine
Join Date: Jan 2004
Location: Oxford
Posts: 14,463
|
This is your first stab at Zorro III. I'm sure you'll pull in a few cycles here and there and get it faster.
Is it possible to tune the SDRAM pins? Add configurable delays etc? |
24 February 2010, 22:42 | #127 | |
Registered User
Join Date: Feb 2008
Location: Saint-Petersburg / Russia
Posts: 324
|
Quote:
All configuration, like Autoconfig values or memory latency, is currently compiled in. I think it is quite possible to make it configurable through some linked I/O board and a simple, yet non-existing utility. There are still plenty LEs in FPGA for that. |
|
24 February 2010, 22:50 | #128 |
Thalion Webshrine
Join Date: Jan 2004
Location: Oxford
Posts: 14,463
|
In our last ASIC all the SDRAM pins all have individual configurable delay lines in them and a method of calibrating this delay so the lengths of the tracks between the RAM and the chip can vary across the PCB without causing too much skew.
|
24 February 2010, 23:15 | #129 |
Happy Registered User
Join Date: Apr 2009
Location: Stockholm, Sweden
Posts: 101
|
Mfg id
The discussion about Manufacturer IDs never seamed to come to an end... Is there still an official maintained list of IDs?
I would need one, but don't really feel comfortable picking one at random. Any suggestions? /Eriond |
25 February 2010, 08:17 | #130 |
Registered User
Join Date: Feb 2008
Location: Saint-Petersburg / Russia
Posts: 324
|
No, I didn't go that far with configuring individual pins controlling SDRAM. It has been mentioned that some (but not all) Cyclone II pins have selectable On-Chip Termination resistors (25 to 50 ohm), and also programmable current (from 4mA to 24mA). I think I've also seen something related to configurable delay for certain pins but will have to inspect the topic in more detail.
|
25 February 2010, 09:29 | #131 | |
Registered User
Join Date: Feb 2010
Location: Germany
Posts: 12
|
Quote:
At least I got mine from him in 2005. That should be the official way. Michael |
|
25 February 2010, 09:35 | #132 |
Registered User
Join Date: Feb 2010
Location: Germany
Posts: 12
|
|
25 February 2010, 09:46 | #133 | |
Registered User
Join Date: Feb 2010
Location: Germany
Posts: 12
|
Quote:
For DENEB, this would have saved 16pins, which is not sufficient for SDRAM at all, even if you share the data bus with the I/O controller. Another thing being "ugly" when sharing an I/O card (like USB) with system memory on the same physical Zorro card: if the I/O can do DMA, what will you do when the system assigns a DMA transfer source/target on the memory on the same physical card? This complicates things, as "normal" Zorro III DMA is not possible any more, and you need to differentiate between "normal" DMA and card internal DMA... As soon as you are on two Zorro cards, things are easy (in terms of Zorro III) again. Never measured the speed a DENEB doing DMA can reach with a Zorro III RAM card - in principle the cycles could be shorter than Buster ones, as DENEB operates at much higher frequencies internally and therefore can close Zorro cycles much faster. Michael |
|
25 February 2010, 12:28 | #134 |
Registered User
Join Date: Feb 2008
Location: Saint-Petersburg / Russia
Posts: 324
|
Another busspeed screenshot:
|
25 February 2010, 12:43 | #135 |
Needs a life
Join Date: Jan 2008
Location: England
Posts: 1,707
|
I'm amazed that write is faster than read... But that's endemic across the system!
|
25 February 2010, 16:39 | #136 |
Registered User
Join Date: Nov 2006
Location: Amigaville
Age: 46
Posts: 3,338
|
It's like looking at a blackboard with Einstein's theories on.
|
25 February 2010, 21:06 | #137 | |
Registered User
Join Date: Aug 2008
Location: London / Canada
Posts: 781
|
Quote:
Of course in practice Z3 doesn't achieve anything close to this, as you have found out. Anyway, I am keenly interested in a Zorro 3 memory expansion board as my Cyberstorm PPC is hobbled with 128MB ram, maximum, which really sucks for OS4. I understand any Z3 memory would be slow, but at this point slow memory is better than no memory. I also understand I will have to convince Thomas Frieden to add support for this memory board, but he is more likely to do it if actual hardware exists and can either be lent to him or him provided exactly what he needs to add to the OS4 kernel to make it work. |
|
25 February 2010, 21:59 | #138 |
Registered User
Join Date: Aug 2007
Location: berlin/germany
Posts: 1,054
|
is that the third part of busspeed on addr 40000000 thats relevant to your z3 memory, right? seems within anticipated transfer speed. cool that it works already anyway, not very usual among amiga developments. lol.
|
26 February 2010, 00:42 | #139 |
Thalion Webshrine
Join Date: Jan 2004
Location: Oxford
Posts: 14,463
|
Pretty sure that Zorro RAM cards can never be use as main memory in OS4. I believe it is just the way it (the existing Kernel?) works. This is why there is no support for DKB3128, Fastlane etc.
|
26 February 2010, 05:18 | #140 |
Registered User
Join Date: Aug 2008
Location: London / Canada
Posts: 781
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Amiga 3000 Zorro Bus Problems | Ze_ro | support.Hardware | 18 | 30 April 2021 06:27 |
Wanted - A4000 Tower case and Zorro bus board | AmigaFun | MarketPlace | 8 | 03 June 2011 13:03 |
Zorro Bus Termination... | chiark | support.Hardware | 3 | 15 October 2010 09:50 |
PCMCIA card reader in Zorro bus | protek | Hardware mods | 17 | 06 November 2009 00:46 |
Zorro II Card - Zorro III Slot ? | THX1138 | support.Hardware | 4 | 03 May 2003 11:03 |
|
|