mirror of
https://github.com/YosysHQ/yosys
synced 2025-09-08 18:51:28 +00:00
Added "json -aig"
This commit is contained in:
parent
56d4822719
commit
e534881794
3 changed files with 76 additions and 9 deletions
|
@ -41,6 +41,16 @@ unsigned int AigNode::hash() const
|
|||
return h;
|
||||
}
|
||||
|
||||
bool Aig::operator==(const Aig &other) const
|
||||
{
|
||||
return name == other.name;
|
||||
}
|
||||
|
||||
unsigned int Aig::hash() const
|
||||
{
|
||||
return hash_ops<std::string>::hash(name);
|
||||
}
|
||||
|
||||
struct AigMaker
|
||||
{
|
||||
Aig *aig;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue