diff options
author | dh73 <dh73_fpga@qq.com> | 2017-11-08 20:24:01 -0600 |
---|---|---|
committer | dh73 <dh73_fpga@qq.com> | 2017-11-08 20:24:01 -0600 |
commit | cf8cc50bf51c2fa36a3189e131a7e7fe0807ae8f (patch) | |
tree | 456b6aae2215835e602851eafc3b52bb6bb6f3de /backends/smt2/smtbmc.py | |
parent | 1fc061d90c45166f87d92f76b6fae1ec517be72f (diff) | |
parent | 9ae25039fb6e28db639372d67c1b72c4170feaa3 (diff) | |
download | yosys-cf8cc50bf51c2fa36a3189e131a7e7fe0807ae8f.tar.gz yosys-cf8cc50bf51c2fa36a3189e131a7e7fe0807ae8f.tar.bz2 yosys-cf8cc50bf51c2fa36a3189e131a7e7fe0807ae8f.zip |
Merge https://github.com/cliffordwolf/yosys
Diffstat (limited to 'backends/smt2/smtbmc.py')
-rw-r--r-- | backends/smt2/smtbmc.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/backends/smt2/smtbmc.py b/backends/smt2/smtbmc.py index c8151c266..d9b79e26e 100644 --- a/backends/smt2/smtbmc.py +++ b/backends/smt2/smtbmc.py @@ -644,6 +644,9 @@ def write_vcd_trace(steps_start, steps_stop, index): data = ["x"] * width gotread = False + if len(wdata) == 0 and len(rdata) != 0: + wdata = [[]] * len(rdata) + assert len(rdata) == len(wdata) for i in range(len(wdata)): |