Small V-Prop: 2 Cog's, 4 KB ROM, 4KB Hub RAM
nutson
Posts: 242
To accomodate some older (and smaller) FPGA boards (Cyclone 2C5) I made a small but usable V-Prop with 2 COG's in less than 5000 LE's and 12KB RAM (4KB HUB, 4KB ROM 4KB COG registers. It is running the attached SPIN program on the DE0-nano now. The oscilloscope shows two pins toggling. Thanks Cluso for the unscrambled ROM files. If there is interest, I will post the design files later, too exited now. Need more testing to see if there are unidentified aliasing problems.
Comments
Imagine your 2-cog version with reduced I/O pins as a tiny 16-pin chip - it would be a great little peripheral controller
I have a 40KB Hub RAM with 4KB ROM/RAM and 4 cogs of 4KB. I don't have anything running in the upper 2KB of cog yet.
Make a logic which can load upper cog ram from the hub while the cog is running, then switch low ram with high ram... then again... then you will have something like a hubexec enabled cog.
I have a couple of 2C5 "Ebay specials" in my lab...
Another experiment: when there are just a few COG's, the hub can rotate faster, I modified lines 68-72 in dig.v to rotate over 4 Cog's. The speedup can be seen for a simple testprogram that just does a series of RDLONG's.