Commit Graph

18 Commits

Author SHA1 Message Date
Byron Lathi
21e3a477c1 Update IP 2023-07-19 21:06:20 -07:00
Byron Lathi
2f11808f11 Change to simpler rom 2023-01-13 13:07:13 -06:00
Byron Lathi
98c07b59b4 Add files from previous version 2023-01-12 17:06:25 -06:00
Byron Lathi
7e97784992 Create UART and uart_wrapper 2023-01-11 21:16:16 -05:00
Byron Lathi
8181a3a583 Change divider to pipelined version
The pipelining allows the cpu to run at a faster clock speed but results
in latency. At the current 2 MHz, there is 1 cycle of latency which is
negligible because the 6502 cannot do sequential data memory accesses.

In the future, there will have to be some sort of status flag or
interrupt showing that the divider is ready.
2023-01-05 19:21:00 -05: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
9a2f0a4bb4 Create interrupt controller 2023-01-03 14:50:45 -05:00
Byron Lathi
8c4102612f Add timer and test program 2022-12-29 11:51:38 -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
aefa3d23f3 remove dangling comma 2022-12-20 17:33:58 -05:00
Byron Lathi
12fb6283cc Get block rom working 2022-12-20 17:26:59 -05:00
Byron Lathi
52de8d3eb3 Get block rom kind of working 2022-12-20 15:38:55 -05:00
Byron Lathi
19b13164e9 RWB and ADDR are inputs, not outputs! 2022-12-19 23:43:45 -05:00
Byron Lathi
09e31fe7ab Start over pretty much. 2022-12-19 23:12:22 -05:00
Byron Lathi
fcae23785e Throw everything up
I think that previously, I had not actually commited any of this to git.
This adds all of the new effinix stuff that I had been working on for
months.

The gist of all of this is that the intel fpga is expensive and does not
exist, whereas the effinix ones are not as expensive and more existant.
This redoes the project to use the dev board, as well as a custom board
that I may or may not make.
2022-10-04 17:15:49 -05:00