aboutsummaryrefslogtreecommitdiffstats
path: root/mistral/globals.cc
diff options
context:
space:
mode:
authorOlivier Galibert <galibert@pobox.com>2021-10-15 12:05:24 +0200
committerOlivier Galibert <galibert@pobox.com>2021-10-15 12:05:24 +0200
commitbfd61411e7bbf915ef92c315af8ec4eeb8221141 (patch)
tree7d12b0062222dce5c509d7949c208b3a0f55ebae /mistral/globals.cc
parent206bb0750608b65ff241f32bbf3e609ea307825a (diff)
downloadnextpnr-bfd61411e7bbf915ef92c315af8ec4eeb8221141.tar.gz
nextpnr-bfd61411e7bbf915ef92c315af8ec4eeb8221141.tar.bz2
nextpnr-bfd61411e7bbf915ef92c315af8ec4eeb8221141.zip
cyclonev_hps_interface_mpu_general_purpose: Use a id_ identifier
Diffstat (limited to 'mistral/globals.cc')
-rw-r--r--mistral/globals.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/mistral/globals.cc b/mistral/globals.cc
index cf0f556c..5b157a48 100644
--- a/mistral/globals.cc
+++ b/mistral/globals.cc
@@ -45,7 +45,7 @@ bool Arch::is_clkbuf_cell(IdString cell_type) const
void Arch::create_hps_mpu_general_purpose(int x, int y)
{
- BelId gp_bel = add_bel(x, y, id("cyclonev_hps_interface_mpu_general_purpose"), id("cyclonev_hps_interface_mpu_general_purpose"));
+ BelId gp_bel = add_bel(x, y, id_cyclonev_hps_interface_mpu_general_purpose, id_cyclonev_hps_interface_mpu_general_purpose);
for (int i = 0; i < 32; i++) {
add_bel_pin(gp_bel, id(stringf("gp_in[%d]", i)), PORT_IN, get_port(CycloneV::HPS_MPU_GENERAL_PURPOSE, x, y, -1, CycloneV::GP_IN, i));
add_bel_pin(gp_bel, id(stringf("gp_out[%d]", i)), PORT_OUT, get_port(CycloneV::HPS_MPU_GENERAL_PURPOSE, x, y, -1, CycloneV::GP_OUT, i));