Added testbench for instruction classifier and fixed compilation errors. Should be fine to synthesise but icarus does not like the constant bit extraction in the always_comb block for some reason.

This commit is contained in:
riley committed 2026-09-08 21:31:18 +10:00
1 parent 00d9e3de88
commit f5a2455849
3 files changed
+56 -3

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
module instruction_classifier(input logic op[5:0],
module instruction_classifier(input logic[5:0] op,
output logic[0:0] R, output logic[0:0] B1, output logic[0:0] J,
output logic[0:0] B2, output logic[0:0] I, output logic[0:0] F,
output logic[0:0] M);