aboutsummaryrefslogtreecommitdiffstats
path: root/passes/techmap/nlutmap.cc
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2019-08-17 15:01:31 +0200
committerGitHub <noreply@github.com>2019-08-17 15:01:31 +0200
commit8915f496d97a2e858cbadb265695dd1a54b80ac4 (patch)
tree352bd2245f166e0f6679fed971655c7d3df0a7b4 /passes/techmap/nlutmap.cc
parent41191f1ea48437423b4caf81e6af1e3024bb8c7d (diff)
parent3b19c3657cda6d972bd3b1c3eeacdfca5fb35de8 (diff)
downloadyosys-8915f496d97a2e858cbadb265695dd1a54b80ac4.tar.gz
yosys-8915f496d97a2e858cbadb265695dd1a54b80ac4.tar.bz2
yosys-8915f496d97a2e858cbadb265695dd1a54b80ac4.zip
Merge pull request #1300 from YosysHQ/eddie/cleanup2
Use ID::{A,B,Y,keep,blackbox,whitebox} instead of ID()
Diffstat (limited to 'passes/techmap/nlutmap.cc')
-rw-r--r--passes/techmap/nlutmap.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/passes/techmap/nlutmap.cc b/passes/techmap/nlutmap.cc
index 4a3428b3c..798d82248 100644
--- a/passes/techmap/nlutmap.cc
+++ b/passes/techmap/nlutmap.cc
@@ -85,7 +85,7 @@ struct NlutmapWorker
if (cell->type != ID($lut) || mapped_cells.count(cell))
continue;
- if (GetSize(cell->getPort(ID(A))) == lut_size || lut_size == 2)
+ if (GetSize(cell->getPort(ID::A)) == lut_size || lut_size == 2)
candidate_ratings[cell] = 0;
for (auto &conn : cell->connections())