137 lines
3.4 KiB
JSON

{
"creator": "Yosys 0.48+5 (git sha1 7a362f1f7, clang++ 18.1.2-wasi-sdk -Oz)",
"modules": {
"half_adder": {
"attributes": {
"top": "00000000000000000000000000000001",
"src": "/root/half_adder.v:1.1-9.10"
},
"ports": {
"a": {
"direction": "input",
"bits": [ 2 ]
},
"b": {
"direction": "input",
"bits": [ 3 ]
},
"c": {
"direction": "input",
"bits": [ 4 ]
},
"sum": {
"direction": "output",
"bits": [ 5 ]
},
"carry": {
"direction": "output",
"bits": [ 6 ]
}
},
"cells": {
"$auto$simplemap.cc:75:simplemap_bitop$81": {
"hide_name": 1,
"type": "$_AND_",
"parameters": {
},
"attributes": {
"src": "/root/half_adder.v:7.18-7.23"
},
"port_directions": {
"A": "input",
"B": "input",
"Y": "output"
},
"connections": {
"A": [ 2 ],
"B": [ 3 ],
"Y": [ 7 ]
}
},
"$auto$simplemap.cc:75:simplemap_bitop$82": {
"hide_name": 1,
"type": "$_OR_",
"parameters": {
},
"attributes": {
"src": "/root/half_adder.v:7.18-7.27"
},
"port_directions": {
"A": "input",
"B": "input",
"Y": "output"
},
"connections": {
"A": [ 7 ],
"B": [ 4 ],
"Y": [ 6 ]
}
},
"$auto$simplemap.cc:75:simplemap_bitop$83": {
"hide_name": 1,
"type": "$_XOR_",
"parameters": {
},
"attributes": {
"src": "/root/half_adder.v:8.16-8.21"
},
"port_directions": {
"A": "input",
"B": "input",
"Y": "output"
},
"connections": {
"A": [ 2 ],
"B": [ 3 ],
"Y": [ 5 ]
}
}
},
"netnames": {
"$and$/root/half_adder.v:7$1_Y": {
"hide_name": 1,
"bits": [ 7 ],
"attributes": {
"src": "/root/half_adder.v:7.18-7.23"
}
},
"a": {
"hide_name": 0,
"bits": [ 2 ],
"attributes": {
"src": "/root/half_adder.v:2.9-2.10"
}
},
"b": {
"hide_name": 0,
"bits": [ 3 ],
"attributes": {
"src": "/root/half_adder.v:3.9-3.10"
}
},
"c": {
"hide_name": 0,
"bits": [ 4 ],
"attributes": {
"src": "/root/half_adder.v:4.9-4.10"
}
},
"carry": {
"hide_name": 0,
"bits": [ 6 ],
"attributes": {
"src": "/root/half_adder.v:5.10-5.15"
}
},
"sum": {
"hide_name": 0,
"bits": [ 5 ],
"attributes": {
"src": "/root/half_adder.v:6.10-6.13"
}
}
}
}
}
}