mirror of
https://github.com/zachjs/sv2v.git
synced 2026-09-04 00:41:13 +02:00
cleanup of Enum conversion; additional test
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user