aboutsummaryrefslogtreecommitdiffstats
path: root/machxo2/arch.cc
diff options
context:
space:
mode:
Diffstat (limited to 'machxo2/arch.cc')
-rw-r--r--machxo2/arch.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/machxo2/arch.cc b/machxo2/arch.cc
index 5fcdeaf7..b1a4a62a 100644
--- a/machxo2/arch.cc
+++ b/machxo2/arch.cc
@@ -93,17 +93,17 @@ Arch::Arch(ArchArgs args) : args(args)
BaseArch::init_bel_buckets();
for (int i = 0; i < chip_info->width; i++)
- x_ids.push_back(id(stringf("X%d", i)));
+ x_ids.push_back(idf("X%d", i));
for (int i = 0; i < chip_info->height; i++)
- y_ids.push_back(id(stringf("Y%d", i)));
+ y_ids.push_back(idf("Y%d", i));
for (int i = 0; i < chip_info->width; i++) {
- IdString x_id = id(stringf("X%d", i));
+ IdString x_id = idf("X%d", i);
x_ids.push_back(x_id);
id_to_x[x_id] = i;
}
for (int i = 0; i < chip_info->height; i++) {
- IdString y_id = id(stringf("Y%d", i));
+ IdString y_id = idf("Y%d", i);
y_ids.push_back(y_id);
id_to_y[y_id] = i;
}