diff options
| author | Clifford Wolf <clifford@clifford.at> | 2018-06-09 18:41:38 +0200 | 
|---|---|---|
| committer | Clifford Wolf <clifford@clifford.at> | 2018-06-09 18:41:38 +0200 | 
| commit | 8cabb39d6d6270f3f721c903d20f7b2cf8fe79a4 (patch) | |
| tree | 7e9a38d080f4da3354cf88bed8d840bed6567aa9 /ice40/chipdb.py | |
| parent | 0bc5b1c2d94dcfd83c4d55082ee9936435c8488b (diff) | |
| download | nextpnr-8cabb39d6d6270f3f721c903d20f7b2cf8fe79a4.tar.gz nextpnr-8cabb39d6d6270f3f721c903d20f7b2cf8fe79a4.tar.bz2 nextpnr-8cabb39d6d6270f3f721c903d20f7b2cf8fe79a4.zip  | |
Getting rid of .nil() methods, compare with zero- and default-constructed objects instead
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'ice40/chipdb.py')
| -rw-r--r-- | ice40/chipdb.py | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/ice40/chipdb.py b/ice40/chipdb.py index 7b1ba93a..78ba2e46 100644 --- a/ice40/chipdb.py +++ b/ice40/chipdb.py @@ -318,7 +318,7 @@ for wire in range(num_wires):      if wire in wire_uphill_belport:          info += "{%d, PIN_%s}, " % wire_uphill_belport[wire]      else: -        info += "{-1, PIN_NIL}, " +        info += "{-1, PIN_NONE}, "      info += ("wire%d_downbels, " % wire) if num_bels_downhill > 0 else "nullptr, "  | 
