3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-24 01:25:33 +00:00

Update fix

This commit is contained in:
Akash Levy 2024-10-01 03:42:32 -07:00
parent dd9687fc4c
commit 16b1eb1699
2 changed files with 3 additions and 8 deletions

View file

@ -784,12 +784,14 @@ namespace {
mwr.en = cell->getPort(ID::WR_EN).extract(i * res.width, (ni - i) * res.width);
mwr.addr = cell->getPort(ID::WR_ADDR).extract(i * abits, abits);
mwr.data = cell->getPort(ID::WR_DATA).extract(i * res.width, (ni - i) * res.width);
#ifndef ENABLE_VERIFIC_SYSTEMVERILOG
if (!is_compat) {
Const priority_mask = cell->parameters.at(ID::WR_PRIORITY_MASK).extract(i * n_wr_ports, n_wr_ports);
for (int j = 0; j < n_wr_ports; j++)
if (wr_wide_continuation[j] != State::S1)
mwr.priority_mask.push_back(priority_mask[j] == State::S1);
}
#endif
res.wr_ports.push_back(mwr);
}
if (is_compat) {