Commit Graph

13 Commits

Author SHA1 Message Date
Byron Lathi
7682dffe3c Change test program to use correct args
Seems to work, when you run the test program it resets the card and
sends the voltage and test pattern, and it does receive a response from
the card.
2023-01-12 21:45:13 -06:00
Byron Lathi
98c07b59b4 Add files from previous version 2023-01-12 17:06:25 -06:00
Byron Lathi
519cd19739 Add uart2 test program
Reads input from uart and then writes it back out again immediately.
2023-01-12 14:05:13 -06:00
Byron Lathi
ab46236816 First throw at UART. 2023-01-12 13:34:46 -06:00
Byron Lathi
5f6657a227 Add divider
Adds a 16x16 divider to go with the multiplier.

The divider is a single stage with no pipelining, which works at the
slow 2MHz frequency. Doing this lowers the maximum clock frequency to 5.

This is acceptable for now but means that the cpu can't be run at 14,
which is the maximum frequency.
2023-01-05 18:35:42 -05:00
Byron Lathi
42ad901ba4 Add multiplier
Add 16x16 multiplier.

Pretty simple. Address 0-1 is multipled by address 2-3 and the result is
in address 4-7, all little endian of course.
2023-01-04 16:15:02 -05:00
Byron Lathi
32a78a4aff Add interrupt based timer and test code 2023-01-03 18:20:34 -05:00
Byron Lathi
8c4102612f Add timer and test program 2022-12-29 11:51:38 -05:00
Byron Lathi
91833e1f4f Test the runram program 2022-12-23 14:35:45 -05:00
Byron Lathi
e08e839d01 New test program 2022-12-22 22:39:43 -05:00
Byron Lathi
cf9aef64ac First stab at getting sdram working 2022-12-22 20:25:32 -05:00
Byron Lathi
b8161e3082 Add LED module and address decoding; disable LA
The Logic analyzer isn't that useful anyway since it does not track
rising and falling edges.
2022-12-20 19:26:24 -05:00
Byron Lathi
52de8d3eb3 Get block rom kind of working 2022-12-20 15:38:55 -05:00