mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-24 21:27:00 +00:00
Added log_cmd_error_expection
This commit is contained in:
parent
7661ded8dd
commit
d878fcbdc7
4 changed files with 7 additions and 8 deletions
|
@ -32,10 +32,7 @@
|
|||
* Convert a signal into a KISS-compatible textual representation.
|
||||
*/
|
||||
std::string kiss_convert_signal(const RTLIL::SigSpec &sig) {
|
||||
if (!sig.is_fully_const()) {
|
||||
throw 0;
|
||||
}
|
||||
|
||||
log_assert(sig.is_fully_const());
|
||||
return sig.as_const().as_string();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue