aboutsummaryrefslogtreecommitdiffstats
path: root/mistral/globals.cc
diff options
context:
space:
mode:
Diffstat (limited to 'mistral/globals.cc')
-rw-r--r--mistral/globals.cc3
1 files changed, 2 insertions, 1 deletions
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
}
}