mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-23 06:13:41 +00:00
warning
This commit is contained in:
parent
4089c1b358
commit
3d1fb7a093
1 changed files with 4 additions and 8 deletions
|
@ -122,10 +122,8 @@ void observabilityClean(RTLIL::Module *module, SigMap &sigmap, dict<RTLIL::SigSp
|
||||||
RTLIL::SigSpec po = elt.first;
|
RTLIL::SigSpec po = elt.first;
|
||||||
if ((!po.size()) || (!po[0].is_wire())) {
|
if ((!po.size()) || (!po[0].is_wire())) {
|
||||||
// Can't perform the analysis correctly.
|
// Can't perform the analysis correctly.
|
||||||
if (debug) {
|
log_warning("Module %s contains some logic that prevents obs_clean analysis\n", module->name.c_str());
|
||||||
log("Module contains some logic that prevents obs_clean analysis\n");
|
|
||||||
log_flush();
|
log_flush();
|
||||||
}
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
RTLIL::Wire *w = po[0].wire;
|
RTLIL::Wire *w = po[0].wire;
|
||||||
|
@ -150,10 +148,8 @@ void observabilityClean(RTLIL::Module *module, SigMap &sigmap, dict<RTLIL::SigSp
|
||||||
RTLIL::SigSpec po = elt.first;
|
RTLIL::SigSpec po = elt.first;
|
||||||
if ((!po.size()) || (!po[0].is_wire())) {
|
if ((!po.size()) || (!po[0].is_wire())) {
|
||||||
// Can't perform the analysis correctly.
|
// Can't perform the analysis correctly.
|
||||||
if (debug) {
|
log_warning("Module %s contains some logic that prevents obs_clean analysis\n", module->name.c_str());
|
||||||
log("Module contains some logic that prevents obs_clean analysis\n");
|
|
||||||
log_flush();
|
log_flush();
|
||||||
}
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
RTLIL::Wire *w = po[0].wire;
|
RTLIL::Wire *w = po[0].wire;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue