aboutsummaryrefslogtreecommitdiffstats
path: root/passes/techmap/iopadmap.cc
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2019-08-15 14:50:10 -0700
committerEddie Hung <eddie@fpgeh.com>2019-08-15 14:50:10 -0700
commit52355f5185fe42e28775e897f458b38a439c0ec5 (patch)
tree83d8984e70806c9bcc8cd6d72ea81456ca76aba6 /passes/techmap/iopadmap.cc
parent6cd8cace0c1d2a9f7b1f1cd56a223c38a5ea799a (diff)
downloadyosys-52355f5185fe42e28775e897f458b38a439c0ec5.tar.gz
yosys-52355f5185fe42e28775e897f458b38a439c0ec5.tar.bz2
yosys-52355f5185fe42e28775e897f458b38a439c0ec5.zip
Use more ID::{A,B,Y,blackbox,whitebox}
Diffstat (limited to 'passes/techmap/iopadmap.cc')
-rw-r--r--passes/techmap/iopadmap.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/passes/techmap/iopadmap.cc b/passes/techmap/iopadmap.cc
index 726fcb905..898cb77a4 100644
--- a/passes/techmap/iopadmap.cc
+++ b/passes/techmap/iopadmap.cc
@@ -180,7 +180,7 @@ struct IopadmapPass : public Pass {
for (auto cell : module->cells())
if (cell->type == ID($_TBUF_)) {
- SigBit bit = sigmap(cell->getPort(ID(Y)).as_bit());
+ SigBit bit = sigmap(cell->getPort(ID::Y).as_bit());
tbuf_bits[bit].first = cell->name;
}
@@ -213,7 +213,7 @@ struct IopadmapPass : public Pass {
continue;
SigBit en_sig = tbuf_cell->getPort(ID(E)).as_bit();
- SigBit data_sig = tbuf_cell->getPort(ID(A)).as_bit();
+ SigBit data_sig = tbuf_cell->getPort(ID::A).as_bit();
if (wire->port_input && !tinoutpad_celltype.empty())
{