mirror of https://github.com/YosysHQ/nextpnr.git
ice40: Explicitly connect CIN when legalizing carry chain
This connection is implicit as it is hardwired in the hardware. This commit makes the connection explicit and thus appearing in the generated netlist allowing post-rout simulation.
This commit is contained in:
parent
cfa5f77dd9
commit
c46f2bbd86
|
|
@ -122,6 +122,8 @@ class ChainConstrainer
|
||||||
o_r.cell = lc.get();
|
o_r.cell = lc.get();
|
||||||
cout_port.net->driver = o_r;
|
cout_port.net->driver = o_r;
|
||||||
cout_port.net = co_i3_net;
|
cout_port.net = co_i3_net;
|
||||||
|
// CIN is connected to COUT in hardware, make the connection explicit in the netlist
|
||||||
|
lc->connectPort(id_CIN, co_i3_net);
|
||||||
|
|
||||||
// If COUT also connects to a CIN; preserve the carry chain
|
// If COUT also connects to a CIN; preserve the carry chain
|
||||||
if (cin_cell) {
|
if (cin_cell) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue