aboutsummaryrefslogtreecommitdiffstats
path: root/passes/techmap/pmuxtree.cc
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2019-08-15 10:25:54 -0700
committerEddie Hung <eddie@fpgeh.com>2019-08-15 10:25:54 -0700
commit02dead2e60e802986ac80137667e399d45233cdc (patch)
tree13dc1fa37096c7c83159b6403ff703e213be197d /passes/techmap/pmuxtree.cc
parent467c34eff05bd62fd64c35f07fe140f33edf4511 (diff)
downloadyosys-02dead2e60e802986ac80137667e399d45233cdc.tar.gz
yosys-02dead2e60e802986ac80137667e399d45233cdc.tar.bz2
yosys-02dead2e60e802986ac80137667e399d45233cdc.zip
ID(\\.*) -> ID(.*)
Diffstat (limited to 'passes/techmap/pmuxtree.cc')
-rw-r--r--passes/techmap/pmuxtree.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/passes/techmap/pmuxtree.cc b/passes/techmap/pmuxtree.cc
index 1a0fa4e3b..f77652f3b 100644
--- a/passes/techmap/pmuxtree.cc
+++ b/passes/techmap/pmuxtree.cc
@@ -92,18 +92,18 @@ struct PmuxtreePass : public Pass {
if (cell->type != ID($pmux))
continue;
- SigSpec sig_data = cell->getPort(ID(\\B));
- SigSpec sig_sel = cell->getPort(ID(\\S));
+ SigSpec sig_data = cell->getPort(ID(B));
+ SigSpec sig_sel = cell->getPort(ID(S));
- if (!cell->getPort(ID(\\A)).is_fully_undef()) {
- sig_data.append(cell->getPort(ID(\\A)));
+ if (!cell->getPort(ID(A)).is_fully_undef()) {
+ sig_data.append(cell->getPort(ID(A)));
SigSpec sig_sel_or = module->ReduceOr(NEW_ID, sig_sel);
sig_sel.append(module->Not(NEW_ID, sig_sel_or));
}
SigSpec result, result_or;
result = recursive_mux_generator(module, sig_data, sig_sel, result_or);
- module->connect(cell->getPort(ID(\\Y)), result);
+ module->connect(cell->getPort(ID(Y)), result);
module->remove(cell);
}
}