mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 09:05:32 +00:00
ABC9: Cell Port Bug Patch (#3670)
* ABC9: RAMB36E1 Bug Patch * Add simplified testcase * Also fix xaiger writer for under-width output ports * Remove old testcase * Missing top-level input port * Fix tabs --------- Co-authored-by: Eddie Hung <eddie@fpgeh.com>
This commit is contained in:
parent
7efc50367e
commit
8611429237
4 changed files with 26 additions and 2 deletions
|
@ -674,8 +674,12 @@ void prep_delays(RTLIL::Design *design, bool dff_mode)
|
|||
continue;
|
||||
|
||||
auto offset = i.first.offset;
|
||||
auto O = module->addWire(NEW_ID);
|
||||
if (!cell->hasPort(i.first.name))
|
||||
continue;
|
||||
auto rhs = cell->getPort(i.first.name);
|
||||
if (offset >= rhs.size())
|
||||
continue;
|
||||
auto O = module->addWire(NEW_ID);
|
||||
|
||||
#ifndef NDEBUG
|
||||
if (ys_debug(1)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue