Closed tilk closed 5 years ago
With #1241 (which will be merged in the coming days), this now works correctly:
"parameters": {
"ABITS": 2,
"INIT": "1x1x1x1x1x1x1x1x",
"MEMID": "\\mem",
"OFFSET": 0,
"RD_CLK_ENABLE": "0",
"RD_CLK_POLARITY": "0",
"RD_PORTS": 1,
"RD_TRANSPARENT": "0",
"SIZE": 4,
"WIDTH": 4,
"WR_CLK_ENABLE": "0",
"WR_CLK_POLARITY": "0",
"WR_PORTS": 0
},
We merged #1241 a few days ago. Can this be closed now?
Yes, this can be closed.
The following SystemVerilog code:
Gives me the following INIT parameter as exported to JSON:
But if I change the parameter N to 2, I get:
And therefore,
x
values became0
s.I'm working on using the JSON output for simulation, where I use three-valued logic and I would like to preserve
x
values where possible.