Ensured case variable assignment is internally consistent with other possibilities to ensure optimal case synthesis

This commit is contained in:
riley committed 2026-09-13 23:53:47 +10:00
1 parent 49f539c855
commit 4df723318b
3 files changed
+9 -9

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@ module lu #(parameter width = 2) (
2'b01: Y = A | B;
2'b10: Y = A ^ B;
2'b11: Y = ~(A | B);
default: Y = '0;
default:Y = '0;
endcase
end
endmodule