1
0
mirror of synced 2026-01-25 20:06:27 +00:00

Merge pull request #271 from azidar/bugfix-assign-wmask

Bugfix: include assign to write-mask
This commit is contained in:
Clifford Wolf
2016-11-19 17:36:07 +01:00
committed by GitHub

View File

@@ -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()));
}