mirror of
https://github.com/YosysHQ/yosys.git
synced 2026-08-22 06:07:26 +02:00
fixup! check: add bufnorm invariant check
This commit is contained in:
@@ -288,7 +288,7 @@ struct CheckPass : public Pass {
|
|||||||
|
|
||||||
for (auto wire : module->wires()) {
|
for (auto wire : module->wires()) {
|
||||||
if (design->flagBufferedNormalized) {
|
if (design->flagBufferedNormalized) {
|
||||||
if (!wire->driverKnown())
|
if (!wire->port_input && !wire->driverKnown())
|
||||||
log_error("Wire %s has no bufnorm driver cell in buffer normalized mode\n", log_id(wire));
|
log_error("Wire %s has no bufnorm driver cell in buffer normalized mode\n", log_id(wire));
|
||||||
} else {
|
} else {
|
||||||
if (wire->driverKnown())
|
if (wire->driverKnown())
|
||||||
|
|||||||
Reference in New Issue
Block a user