mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-23 03:27:53 +00:00
Some cleanups in RTLIL::SigChunk::SigChunk(const RTLIL::Const&)
This commit is contained in:
parent
115dd959d9
commit
c61467a32c
2 changed files with 6 additions and 6 deletions
|
@ -461,7 +461,7 @@ struct RTLIL::SigChunk {
|
|||
RTLIL::Const data; // only used if wire == NULL, LSB at index 0
|
||||
int width, offset;
|
||||
SigChunk();
|
||||
SigChunk(const RTLIL::Const &data);
|
||||
SigChunk(const RTLIL::Const &value);
|
||||
SigChunk(RTLIL::Wire *wire, int width, int offset);
|
||||
SigChunk(const std::string &str);
|
||||
SigChunk(int val, int width = 32);
|
||||
|
@ -520,7 +520,7 @@ private:
|
|||
|
||||
public:
|
||||
SigSpec();
|
||||
SigSpec(const RTLIL::Const &data);
|
||||
SigSpec(const RTLIL::Const &value);
|
||||
SigSpec(const RTLIL::SigChunk &chunk);
|
||||
SigSpec(RTLIL::Wire *wire, int width = -1, int offset = 0);
|
||||
SigSpec(const std::string &str);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue