mirror of https://github.com/YosysHQ/yosys.git
error when no signal found
This commit is contained in:
parent
1b5ff92e62
commit
8ba2000a50
|
@ -994,6 +994,8 @@ struct SimWorker : SimShared
|
|||
for (auto wire : topmod->wires()) {
|
||||
if (wire->port_input) {
|
||||
fstHandle id = fst->getHandle(scope + "." + RTLIL::unescape_id(wire->name));
|
||||
if (id==0)
|
||||
log_error("Unable to find required '%s' signal in file\n",(scope + "." + RTLIL::unescape_id(wire->name)).c_str());
|
||||
inputs[wire] = id;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue