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:
TroubleElectrical committed 2026-10-13 13:24:44 +11:00
1 parent f91fe0681a
commit 19b07b649d
143 files changed
+6502 -109

No files matched your search

+4 -1
View File
@@ -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