I made a quick and dirty circuit to exercise RAM reads and writes. The idea is simple: ramp through a counter. Bits 0..3, 5..20 (a total of 20 bits) routes to the address pins of the icoBoard Gamma's SRAM chip. Bit 4 is used to select read/write. This way, the RAM alternates between reads and writes. Data input is taken from the current address bus, while the data output pins drive LEDs directly, with NO intervening processing.
Test 1 - Cold start - Random data is shown on the LEDs.
Test 2 - After running test 1 for a while and resetting the board, the values read back appear to correspond to the current address.
In short, RAM is accepting data, and is reporting the same data back.
I ecstatic. After many months of failure after failure with other FPGA boards, I'm just so happy that this is working. You have *no* idea.
The next step is to work on completing a serial I/O interface to talk to the outside world with. I might interface a S16X4 as a test CPU before trying the RISC-V. Not sure yet.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.