aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/cells.cc
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2018-11-19 01:49:52 +0100
committerSylvain Munaut <tnt@246tNt.com>2018-11-19 18:20:20 +0100
commit325d46e284fd7944b99929c1482e641a1db53931 (patch)
treef24daf405d24211bf57334d67e5d18d0ec6574b7 /ice40/cells.cc
parent3f4dc7c80e19b9ff404055029c3239d29d0af25f (diff)
downloadnextpnr-325d46e284fd7944b99929c1482e641a1db53931.tar.gz
nextpnr-325d46e284fd7944b99929c1482e641a1db53931.tar.bz2
nextpnr-325d46e284fd7944b99929c1482e641a1db53931.zip
ice40/chipdb: Add wires to global network for all cells that can drive it
The icebox DB is a bit inconsistent in how global network connections are represented. Here we make it appear consistent by creating ports on the cells that can drive it. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'ice40/cells.cc')
-rw-r--r--ice40/cells.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ice40/cells.cc b/ice40/cells.cc
index 3906334f..53f2e10c 100644
--- a/ice40/cells.cc
+++ b/ice40/cells.cc
@@ -244,8 +244,8 @@ std::unique_ptr<CellInfo> create_ice_cell(Context *ctx, IdString type, std::stri
add_port(ctx, new_cell.get(), "LOCK", PORT_OUT);
add_port(ctx, new_cell.get(), "PLLOUT_A", PORT_OUT);
add_port(ctx, new_cell.get(), "PLLOUT_B", PORT_OUT);
- add_port(ctx, new_cell.get(), "PLLOUTGLOBALA", PORT_OUT);
- add_port(ctx, new_cell.get(), "PLLOUTGLOBALB", PORT_OUT);
+ add_port(ctx, new_cell.get(), "PLLOUT_A_GLOBAL", PORT_OUT);
+ add_port(ctx, new_cell.get(), "PLLOUT_B_GLOBAL", PORT_OUT);
} else {
log_error("unable to create iCE40 cell of type %s", type.c_str(ctx));
}