Repaired last few errors in modules and ensured compilation with QUARTUS_BUILD global flag in Quartus build settings and compiled fully (no errors other than pin assignments)
This commit is contained in:
143 files changed
+6502
-109
No files matched your search
@@ -65,6 +65,9 @@ module assignment2 #(width=5, ramsz=9, romsz=10) (input logic [0:0] clk);
|
||||
logic [2**width-1:0] rd_shifter;
|
||||
shifter #(width) SHIFTER (instruction[2:0], rt, rs[4:0], instruction[10:6], rd_shifter);
|
||||
|
||||
rd = en_alu ? rd_alu : (en_shifter ? : rd_shifter : ({(2**width){1'b0}}));
|
||||
assign rd = en_alu
|
||||
? rd_alu
|
||||
: (en_shifter ? rd_shifter : {2**width{1'b0}});
|
||||
|
||||
endmodule
|
||||
`endif
|
||||
Reference in new issue
Block a user