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
e801556428
Replace localparams at the root level with defines
...
iverilog doesn't support localparams at the root level.
2017-12-09 10:44:39 +00:00
Graham Edgecombe
e7ae22bf31
Remove _ops.sv files
2017-12-07 22:37:58 +00:00
Graham Edgecombe
29e4c40af4
Remove clock input from ALU and branch PC mux
2017-12-07 22:37:58 +00:00
Graham Edgecombe
5516973b5f
Fix bit shifting by numbers greater than 1
2017-12-07 22:37:58 +00:00
Graham Edgecombe
b1de4f3bb2
Fix ALU source multiplexers
2017-12-07 22:37:58 +00:00
Graham Edgecombe
bef709dc73
Replace always with always_ff
2017-12-02 18:29:51 +00:00
Graham Edgecombe
efb33456f9
Add include guards
2017-12-01 23:30:33 +00:00
Graham Edgecombe
5884a437b8
Add JAL/JALR support to the ALU
2017-12-01 23:02:50 +00:00
Graham Edgecombe
37d703c83e
Add ALU control signals to the decoder
2017-12-01 23:02:50 +00:00
Graham Edgecombe
30b793cbaf
Add ALU
2017-12-01 23:02:50 +00:00