diff options
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 2c78b84f..40dcff16 100644 --- a/ice40/delay.cc +++ b/ice40/delay.cc @@ -29,7 +29,7 @@ void ice40DelayFuzzerMain(Context *ctx) { std::vector<WireId> srcWires, dstWires; - for (int i = 0; i < ctx->chip_info->num_wires; i++) { + for (int i = 0; i < int(ctx->chip_info->wire_data.size()); i++) { WireId wire; wire.index = i; |