Commit Graph

14 Commits

Author SHA1 Message Date
Byron Lathi
38566f7b4a add testbench for SD command tx
Sends a few commands which we know the proper checksum for and makes
sure that the bits on the output are correct.
2022-04-08 12:29:15 -05:00
Byron Lathi
3e69109474 Add tests for crc7
These are just some values that I found from an example program. This
does not test every possible value.
2022-04-08 00:56:14 -05:00
Byron Lathi
5548f9d02a Update mm_testbench 2022-04-07 10:48:10 -05:00
Byron Lathi
2600a23e59 Add memory_mapper testbench
This testbench simply creates the memory mapper, adds a mapping to the
first entry, and then makes sure the addresses are correct after
enabling and disabling the memory mapper.
2022-04-05 17:20:23 -05:00
Byron Lathi
e70fffb472 Add irq status register
Upon receiving an interrupt, the corresponding bit in the interrupt
status register will be set and an IRQ will be raised for the CPU. The
cpu can then respond to the interrupt and clear the interrupt by writing
back to the interrupt status register.
2022-03-14 13:16:09 -05:00
Byron Lathi
b48438f6b2 Add write and puts tasks to the uart testbench
The write task will transmit a single byte, the puts task will transmit
a string of length n. These do not do any verification, you still have
to look at the output.
2022-03-14 00:04:04 -05:00
Byron Lathi
e063e9f6a3 Add basic UART device
So far the device only transmits the ASCII set on repeat, but will
become fully featured later.
2022-03-13 19:42:41 -05:00
Byron Lathi
5834f179d2 Ignore more modelsim files
Ignore all bak files and msim_transcript
2022-03-13 19:39:14 -05:00
Byron Lathi
79675ec773 Clean up modelsim folder 2022-03-12 19:41:08 -06:00
Byron Lathi
3d9d340520 Get the FPGA part working
This changes some of the clocks, fixes a bug in the seven segment stuff.
2022-03-11 22:55:26 -06:00
Byron Lathi
ad55f986f5 Add bb_spi_controller
Bit banged spi controller, very simple but very slow.
2022-03-08 15:26:01 -06:00
Byron Lathi
c70272f9de Add addr_decode and testbench 2022-03-05 20:11:47 -06:00
Byron Lathi
bc98b67ddf Add boot rom 2022-03-05 18:12:27 -06:00
Byron Lathi
aca17a9cf8 Create quartus project 2022-03-05 17:52:42 -06:00