diff options
author | Tim 'mithro' Ansell <me@mith.ro> | 2018-07-08 15:59:53 -0700 |
---|---|---|
committer | Tim 'mithro' Ansell <me@mith.ro> | 2018-07-08 15:59:53 -0700 |
commit | ef618927caa8468ef8afcd38d7b4e15938580d81 (patch) | |
tree | 8f94635d62a78cc66965c0e961edaf4feb58eb65 /iceprog/iceprog.c | |
parent | b2e1df618c01194011926b3e42b07a2257c249a6 (diff) | |
download | icestorm-ef618927caa8468ef8afcd38d7b4e15938580d81.tar.gz icestorm-ef618927caa8468ef8afcd38d7b4e15938580d81.tar.bz2 icestorm-ef618927caa8468ef8afcd38d7b4e15938580d81.zip |
icebox_vlog: Save error message to file and print it.
Previously if you were doing;
`icebox_vlog example.asc > example_bit.v` you would just get;
```
Traceback (most recent call last):
File "icebox_vlog.py", line 947, in <module>
assert False
AssertionError
```
Now you get;
```
Traceback (most recent call last):
File "icebox_vlog.py", line 948, in <module>
assert False, "\n ".join(emsg)
AssertionError: Single-driver-check failed for 2 nets:
n10 has 0 drivers: []
n15 has 2 drivers: ['clk', 'clk2']
```
Diffstat (limited to 'iceprog/iceprog.c')
0 files changed, 0 insertions, 0 deletions