diff options
author | D. Shah <dave@ds0.me> | 2021-01-29 12:58:41 +0000 |
---|---|---|
committer | D. Shah <dave@ds0.me> | 2021-02-02 17:00:14 +0000 |
commit | 9388df19d3ab3ca1b127defafe6fa3f71147f451 (patch) | |
tree | 09d4cf8ffab3c6fb1e1c4593e693a62ef5606973 /ice40/delay.cc | |
parent | 6d23461bcd83d27c6b365948a5e85db80389832e (diff) | |
download | nextpnr-9388df19d3ab3ca1b127defafe6fa3f71147f451.tar.gz nextpnr-9388df19d3ab3ca1b127defafe6fa3f71147f451.tar.bz2 nextpnr-9388df19d3ab3ca1b127defafe6fa3f71147f451.zip |
refactor: Replace getXName().c_str(ctx) with ctx->nameOfX
This makes the ongoing migration to IdStringList easier.
Signed-off-by: D. Shah <dave@ds0.me>
Diffstat (limited to 'ice40/delay.cc')
-rw-r--r-- | ice40/delay.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ice40/delay.cc b/ice40/delay.cc index 40dcff16..a3469876 100644 --- a/ice40/delay.cc +++ b/ice40/delay.cc @@ -80,7 +80,7 @@ void ice40DelayFuzzerMain(Context *ctx) printf("%s %d %d %s %s %d %d\n", cursor == dst ? "dst" : "src", int(ctx->chip_info->wire_data[cursor.index].x), int(ctx->chip_info->wire_data[cursor.index].y), - ctx->getWireType(cursor).c_str(ctx), ctx->getWireName(cursor).c_str(ctx), int(delay), + ctx->getWireType(cursor).c_str(ctx), ctx->nameOfWire(cursor), int(delay), int(ctx->estimateDelay(cursor, dst))); if (cursor == src) |