mirror of
https://github.com/YosysHQ/yosys.git
synced 2026-08-22 06:07:26 +02: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 <[email protected]>
This commit is contained in:
co-authored by
Eddie Hung
parent
7efc50367e
commit
8611429237
@@ -274,6 +274,10 @@ struct XAigerWriter
|
||||
continue;
|
||||
auto offset = i.first.offset;
|
||||
|
||||
auto rhs = cell->getPort(i.first.name);
|
||||
if (offset >= rhs.size())
|
||||
continue;
|
||||
|
||||
#ifndef NDEBUG
|
||||
if (ys_debug(1)) {
|
||||
static pool<std::pair<IdString,TimingInfo::NameBit>> seen;
|
||||
@@ -281,7 +285,7 @@ struct XAigerWriter
|
||||
log_id(cell->type), log_id(i.first.name), offset, d);
|
||||
}
|
||||
#endif
|
||||
arrival_times[cell->getPort(i.first.name)[offset]] = d;
|
||||
arrival_times[rhs[offset]] = d;
|
||||
}
|
||||
|
||||
if (abc9_flop)
|
||||
|
||||
Reference in New Issue
Block a user