diff options
author | Tim 'mithro' Ansell <me@mith.ro> | 2018-05-30 13:11:18 -0700 |
---|---|---|
committer | Tim 'mithro' Ansell <me@mith.ro> | 2018-05-30 13:21:48 -0700 |
commit | dd5565826677a0b36e6147aca6c6600dfbb704ce (patch) | |
tree | eab6b46f40018611516259303cb89bbeaf3c7728 /README | |
parent | f7e9fec63a3f88bee8c27e858da319ea03d68d14 (diff) | |
download | icestorm-dd5565826677a0b36e6147aca6c6600dfbb704ce.tar.gz icestorm-dd5565826677a0b36e6147aca6c6600dfbb704ce.tar.bz2 icestorm-dd5565826677a0b36e6147aca6c6600dfbb704ce.zip |
Better error message when bit pattern is missing.
Previously;
```
self.apply_directive('buffer', src, dst)
File "/usr/local/google/home/tansell/work/catx/vtr/env/conda/bin/icebox_hlc2asc", line 698, in apply_directive
bits, = [entry[0] for entry in self.db if entry[1:] == fields]
ValueError: not enough values to unpack (expected 1, got 0)
```
Now:
```
Parse error in line 2108:
span12_y4_g14_0 -> span4_y4_g11_7 <-> span4_x7_g4_0
No bit pattern for ['buffer', 'sp12_h_r_11', 'sp4_h_r_7'] in LogicTile(1k, 7, 4)
```
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions