mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-07 03:31:24 +00:00
renamed SigSpec::to_single_sigbit() to SigSpec::as_bit(), added is_bit()
This commit is contained in:
parent
6af8076967
commit
7f110e7018
8 changed files with 34 additions and 34 deletions
|
@ -78,7 +78,7 @@ struct FsmOpt
|
|||
|
||||
bool signal_is_unused(RTLIL::SigSpec sig)
|
||||
{
|
||||
RTLIL::SigBit bit = sig.to_single_sigbit();
|
||||
RTLIL::SigBit bit = sig.as_bit();
|
||||
|
||||
if (bit.wire == NULL || bit.wire->attributes.count("\\unused_bits") == 0)
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue