Andrea Venturi
a9c0d91341
support up5k FPGA with internal OSC
2018-01-23 18:17:44 +01:00
Graham Edgecombe
dd52e5c318
Declare {ram,leds,uart}_sel before using them
2017-12-30 15:24:52 +00:00
Graham Edgecombe
9b1e27cc0d
Combine the instruction and data buses
2017-12-25 23:33:53 +00:00
Graham Edgecombe
7ef3e831ce
Prefix data bus wire names with data_
2017-12-17 19:57:00 +00:00
Graham Edgecombe
135a081fd4
Remove unused clk_div.sv include
2017-12-16 11:32:32 +00:00
Graham Edgecombe
04dc25c5dc
Merge memory bus inputs/outputs in the port list
...
I don't think the control/data in/out split makes as much sense - it's
a convention much better suited to the pipeline stages.
2017-12-12 21:15:11 +00:00
Graham Edgecombe
22bce1bdeb
Fix compatibility with iverilog
...
This commit:
* changes the type of all output variables to logic
* splits variable declaration and assignment
* declares variables before modules that use the variables
2017-12-09 21:03:45 +00:00
Graham Edgecombe
02a742b3c9
Remove trailing comma in SB_IO declaration
...
Icarus treats this is an error.
2017-12-07 22:49:28 +00:00
Graham Edgecombe
6d638404f1
Add new memory-mapped UART
...
This implementation uses a simpler state machine than the previous
version.
The receiver still needs to be implemented.
2017-12-07 22:37:59 +00:00
Graham Edgecombe
bb5f2c8d8c
Fix ram_sel/leds_sel decoding
...
Wildcards can only be used in casez statements - not in if statements.
2017-12-07 22:37:59 +00:00
Graham Edgecombe
82394bce1c
Add read_out signal to the memory bus
...
This is required to implement reads with side effects (e.g. reading from
the UART receive buffer).
2017-12-07 22:37:58 +00:00
Graham Edgecombe
cddfd0587d
Add loopback UART
2017-12-07 22:37:58 +00:00
Graham Edgecombe
3d26eb67ed
Synchronize the PLL locked output with the clock
2017-12-07 22:37:58 +00:00
Graham Edgecombe
26f6b88da8
Add PLL
2017-12-07 22:37:58 +00:00
Graham Edgecombe
a8225b8ebb
Fix clock connected to the LEDs flip flop
2017-12-07 22:37:58 +00:00
Graham Edgecombe
365d3e37c6
Memory map the LEDs
2017-12-07 22:37:58 +00:00
Graham Edgecombe
0be0da3917
Add memory address decoding
2017-12-07 22:37:58 +00:00
Graham Edgecombe
018faac560
Add memory bus and move data memory to a separate module
2017-12-07 22:37:58 +00:00
Graham Edgecombe
08c4451abf
Add clock divider
2017-12-07 22:37:58 +00:00
Graham Edgecombe
9de9955ad0
Connect lower 8 bits of x31 to the LEDs for debugging
2017-12-02 15:33:45 +00:00
Graham Edgecombe
3af3fb71a1
Add serial flash, LED and UART pins
2017-12-01 23:25:06 +00:00
Graham Edgecombe
9ca70b76a6
Remove redundant logic keyword from the top module
2017-12-01 23:02:50 +00:00
Graham Edgecombe
4a4dee334d
Add initial fetch/decode stages
2017-12-01 08:46:43 +00:00