diff options
author | Adam Izraelevitz <azidar@gmail.com> | 2016-11-18 11:49:26 -0800 |
---|---|---|
committer | Adam Izraelevitz <azidar@gmail.com> | 2016-11-18 11:49:26 -0800 |
commit | f77dc3baccf63aa6ef3ab795524661c2e1805671 (patch) | |
tree | f769308b677df22e3362ac81067544cadb647546 /backends/firrtl | |
parent | e01382739db10b4ee01d02ba9991aace8dd666a5 (diff) | |
download | yosys-f77dc3baccf63aa6ef3ab795524661c2e1805671.tar.gz yosys-f77dc3baccf63aa6ef3ab795524661c2e1805671.tar.bz2 yosys-f77dc3baccf63aa6ef3ab795524661c2e1805671.zip |
Bugfix: include assign to write-mask
Diffstat (limited to 'backends/firrtl')
-rw-r--r-- | backends/firrtl/firrtl.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/backends/firrtl/firrtl.cc b/backends/firrtl/firrtl.cc index 3b61eb9f8..0d1c1889d 100644 --- a/backends/firrtl/firrtl.cc +++ b/backends/firrtl/firrtl.cc @@ -280,6 +280,7 @@ struct FirrtlWorker cell_exprs.push_back(stringf(" %s.w%d.addr <= %s\n", mem_id.c_str(), i, addr_expr.c_str())); cell_exprs.push_back(stringf(" %s.w%d.data <= %s\n", mem_id.c_str(), i, data_expr.c_str())); cell_exprs.push_back(stringf(" %s.w%d.en <= %s\n", mem_id.c_str(), i, wen_expr.c_str())); + cell_exprs.push_back(stringf(" %s.w%d.mask <= UInt<1>(1)\n", mem_id.c_str(), i)); cell_exprs.push_back(stringf(" %s.w%d.clk <= asClock(%s)\n", mem_id.c_str(), i, clk_expr.c_str())); } |