mirror of
https://github.com/YosysHQ/yosys
synced 2026-05-25 11:26:22 +00:00
patcher: start
This commit is contained in:
parent
25344b3947
commit
b3f605e0d2
5 changed files with 67 additions and 2 deletions
|
|
@ -106,6 +106,7 @@ namespace RTLIL
|
|||
struct Monitor;
|
||||
struct Design;
|
||||
struct Module;
|
||||
struct Patch;
|
||||
struct Wire;
|
||||
struct Memory;
|
||||
struct Cell;
|
||||
|
|
@ -2527,13 +2528,13 @@ struct RTLIL::Cell : public RTLIL::NamedObject
|
|||
Hasher::hash_t hashidx_;
|
||||
[[nodiscard]] Hasher hash_into(Hasher h) const { h.eat(hashidx_); return h; }
|
||||
|
||||
protected:
|
||||
public:
|
||||
// use module->addCell() and module->remove() to create or destroy cells
|
||||
friend struct RTLIL::Module;
|
||||
friend struct RTLIL::Patch;
|
||||
Cell();
|
||||
~Cell();
|
||||
|
||||
public:
|
||||
// do not simply copy cells
|
||||
Cell(RTLIL::Cell &other) = delete;
|
||||
void operator=(RTLIL::Cell &other) = delete;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue