aboutsummaryrefslogtreecommitdiffstats
path: root/frontends/ast/genrtlil.cc
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-07-16 14:15:33 +0200
committerClifford Wolf <clifford@clifford.at>2014-07-16 14:15:33 +0200
commit02346cd1d5c8d88d067693b66e35893578de0991 (patch)
tree58c9ca907142980dd5db8cf8fdc9fc81dff0aac2 /frontends/ast/genrtlil.cc
parent964a67ac4194bb85fb3cb7a90a62dc1e4a685ea4 (diff)
parent73a345294a0c4639b6339ee20e5ca942c963f2f4 (diff)
downloadyosys-02346cd1d5c8d88d067693b66e35893578de0991.tar.gz
yosys-02346cd1d5c8d88d067693b66e35893578de0991.tar.bz2
yosys-02346cd1d5c8d88d067693b66e35893578de0991.zip
Merged new $mem/$memwr WR_EN interface
Diffstat (limited to 'frontends/ast/genrtlil.cc')
-rw-r--r--frontends/ast/genrtlil.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/frontends/ast/genrtlil.cc b/frontends/ast/genrtlil.cc
index 787f4d2d8..a2fdcf8b1 100644
--- a/frontends/ast/genrtlil.cc
+++ b/frontends/ast/genrtlil.cc
@@ -1287,9 +1287,6 @@ RTLIL::SigSpec AstNode::genRTLIL(int width_hint, bool sign_hint)
cell->connections["\\DATA"] = children[1]->genWidthRTLIL(current_module->memories[str]->width);
cell->connections["\\EN"] = children[2]->genRTLIL();
- if (cell->connections["\\EN"].width > 1)
- cell->connections["\\EN"] = uniop2rtlil(this, "$reduce_bool", 1, cell->connections["\\EN"], false);
-
cell->parameters["\\MEMID"] = RTLIL::Const(str);
cell->parameters["\\ABITS"] = RTLIL::Const(addr_bits);
cell->parameters["\\WIDTH"] = RTLIL::Const(current_module->memories[str]->width);