3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-23 09:05:32 +00:00

Merge pull request #3972 from nakengelhardt/celledges_shift_ops

celledges: support shift ops
This commit is contained in:
N. Engelhardt 2024-03-08 09:35:47 +01:00 committed by GitHub
commit d70113a909
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 153 additions and 9 deletions

View file

@ -543,13 +543,13 @@ struct EvalPass : public Pass {
int pos = 0;
for (auto &c : tabsigs.chunks()) {
tab_line.push_back(log_signal(RTLIL::SigSpec(tabvals).extract(pos, c.width)));
tab_line.push_back(log_signal(RTLIL::SigSpec(tabvals).extract(pos, c.width), false));
pos += c.width;
}
pos = 0;
for (auto &c : signal.chunks()) {
tab_line.push_back(log_signal(value.extract(pos, c.width)));
tab_line.push_back(log_signal(value.extract(pos, c.width), false));
pos += c.width;
}