mirror of
https://github.com/YosysHQ/yosys
synced 2025-11-05 13:56:04 +00:00
Add SigChunk::offset_in_sigspec
This commit is contained in:
parent
37875fdedf
commit
acee6db361
2 changed files with 49 additions and 15 deletions
|
|
@ -1131,6 +1131,7 @@ struct RTLIL::SigChunk
|
|||
RTLIL::Wire *wire;
|
||||
std::vector<RTLIL::State> data; // only used if wire == NULL, LSB at index 0
|
||||
int width, offset;
|
||||
int offset_in_sigspec = -1;
|
||||
|
||||
SigChunk() : wire(nullptr), width(0), offset(0) {}
|
||||
SigChunk(const RTLIL::Const &value) : wire(nullptr), data(value.to_bits()), width(GetSize(data)), offset(0) {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue