cleanup of Enum conversion; additional test

This commit is contained in:
Zachary Snow
2019-04-03 21:31:56 -04:00
parent 383754fa7a
commit f9d46d548e
4 changed files with 136 additions and 30 deletions
+30
View File
@@ -0,0 +1,30 @@
`define PRINT(val) $display("%02d", val);
module top;
initial begin
`PRINT(0)
`PRINT(1)
`PRINT(2)
`PRINT(2)
`PRINT(1)
`PRINT(3)
`PRINT(20)
`PRINT(0)
`PRINT(19)
`PRINT(16)
`PRINT(17)
`PRINT(18)
`PRINT(0)
`PRINT(16)
`PRINT(17)
`PRINT(18)
`PRINT(2)
`PRINT(3)
end
endmodule