aboutsummaryrefslogtreecommitdiffstats
path: root/mistral/globals.cc
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-05-14 20:25:41 +0100
committergatecat <gatecat@ds0.me>2021-05-15 14:54:33 +0100
commitb29fa1d24c44f7f6454158d27e751203c2d9e099 (patch)
tree75ccaaf5ad84bdc1e4cf1d7b37955dd9f1813685 /mistral/globals.cc
parent66b3a192f8966538d32d3467dbb160ae31e2ee9e (diff)
downloadnextpnr-b29fa1d24c44f7f6454158d27e751203c2d9e099.tar.gz
nextpnr-b29fa1d24c44f7f6454158d27e751203c2d9e099.tar.bz2
nextpnr-b29fa1d24c44f7f6454158d27e751203c2d9e099.zip
mistral: FF&CLKBUF fixes, part 1
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'mistral/globals.cc')
-rw-r--r--mistral/globals.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/mistral/globals.cc b/mistral/globals.cc
index 2d1b2ef8..eee8d0a9 100644
--- a/mistral/globals.cc
+++ b/mistral/globals.cc
@@ -32,6 +32,7 @@ void Arch::create_clkbuf(int x, int y)
add_bel_pin(bel, id_A, PORT_IN, get_port(CycloneV::CMUXHG, x, y, -1, CycloneV::CLKIN, z));
add_bel_pin(bel, id_Q, PORT_OUT, get_port(CycloneV::CMUXHG, x, y, z, CycloneV::CLKOUT));
// TODO: enable pin
+ bel_data(bel).block_index = z;
}
}