diff options
Diffstat (limited to 'nexus/arch.h')
-rw-r--r-- | nexus/arch.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nexus/arch.h b/nexus/arch.h index d37c5026..00046d7f 100644 --- a/nexus/arch.h +++ b/nexus/arch.h @@ -1444,12 +1444,12 @@ struct Arch : BaseCtx IdString pip_src_wire_name(PipId pip) const { int wire = pip_data(pip).from_wire; - return db->loctypes[chip_info->grid[pip.tile].loc_type].wires[wire].name; + return IdString(db->loctypes[chip_info->grid[pip.tile].loc_type].wires[wire].name); } IdString pip_dst_wire_name(PipId pip) const { int wire = pip_data(pip).to_wire; - return db->loctypes[chip_info->grid[pip.tile].loc_type].wires[wire].name; + return IdString(db->loctypes[chip_info->grid[pip.tile].loc_type].wires[wire].name); } // ------------------------------------------------- |