cyclonev_hps_interface_mpu_general_purpose: Use a id_ identifier
This commit is contained in:
parent
206bb07506
commit
bfd61411e7
@ -94,3 +94,5 @@ X(A1DATA)
|
||||
X(B1DATA)
|
||||
X(WCLK_INV)
|
||||
X(WE_INV)
|
||||
|
||||
X(cyclonev_hps_interface_mpu_general_purpose)
|
||||
|
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user