diff options
author | gatecat <gatecat@ds0.me> | 2021-05-09 18:28:49 +0100 |
---|---|---|
committer | gatecat <gatecat@ds0.me> | 2021-05-15 14:54:33 +0100 |
commit | ad5e5f80ca4ad798d1afbddcae84e04f3a26f0e5 (patch) | |
tree | 7b4427c020dc2f5b58ee393d9b6eb512496a572c /mistral | |
parent | a5815265288aa373c52ca1786f2303fb6eb83162 (diff) | |
download | nextpnr-ad5e5f80ca4ad798d1afbddcae84e04f3a26f0e5.tar.gz nextpnr-ad5e5f80ca4ad798d1afbddcae84e04f3a26f0e5.tar.bz2 nextpnr-ad5e5f80ca4ad798d1afbddcae84e04f3a26f0e5.zip |
mistral: Rename clock buffer primitive
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'mistral')
-rw-r--r-- | mistral/constids.inc | 2 | ||||
-rw-r--r-- | mistral/globals.cc | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/mistral/constids.inc b/mistral/constids.inc index 2477f693..9450d8b1 100644 --- a/mistral/constids.inc +++ b/mistral/constids.inc @@ -75,4 +75,4 @@ X(VCC) X(LOC) -X(MISTRAL_CLKBUF)
\ No newline at end of file +X(MISTRAL_CLKENA)
\ No newline at end of file diff --git a/mistral/globals.cc b/mistral/globals.cc index 34e569d3..2d1b2ef8 100644 --- a/mistral/globals.cc +++ b/mistral/globals.cc @@ -28,9 +28,10 @@ void Arch::create_clkbuf(int x, int y) for (int z = 0; z < 4; z++) { // For now we only consider the input path from general routing, other inputs like dedicated clock pins are // still a TODO - BelId bel = add_bel(x, y, id(stringf("CLKBUF[%d]", z)), id_MISTRAL_CLKBUF); + BelId bel = add_bel(x, y, id(stringf("CLKBUF[%d]", z)), id_MISTRAL_CLKENA); 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 } } |