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
|
@ -64,7 +64,7 @@ struct SpliceWorker
|
|||
return sliced_signals_cache.at(sig);
|
||||
|
||||
int offset = 0;
|
||||
int p = driven_bits_map.at(sig.extract(0, 1).to_single_sigbit()) - 1;
|
||||
int p = driven_bits_map.at(sig.extract(0, 1).as_bit()) - 1;
|
||||
while (driven_bits.at(p) != RTLIL::State::Sm)
|
||||
p--, offset++;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue