-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hierarchal designs #37
Comments
I think this would probably be better as a separate project. My current thinking on this is that we feed each subckt into netlistsvg and then click the ports to open the right netlist inside the viewer.
I'm working on This looks like a starting point: https://github.com/nturley/nturley.github.io I think that the editor component should be removed and something like browser sync used instead, so that any editor can be used. |
Interactive viewer will be very cool. Netlistsvg should be able to handle hierarchical netlists from Yosys though and output separate SVGs. So far I haven't been able to generate any hierarchal netlists though. Can anyone tell me how to use
And I am getting a similar thing for any hierarchal designs. |
Ok, I guess I don't need to run "prep". Running {
"creator": "Yosys 0.7 (git sha1 61f6811, gcc 5.4.0-6ubuntu1~16.04.4 -O2 -fstack-protector-strong -fPIC -Os)",
"modules": {
"top_ver": {
"attributes": {
"src": "top_ver.v:1"
},
"ports": {
"q": {
"direction": "input",
"bits": [ 2 ]
},
"p": {
"direction": "input",
"bits": [ 3 ]
},
"r": {
"direction": "input",
"bits": [ 4 ]
},
"out": {
"direction": "output",
"bits": [ 5 ]
}
},
"cells": {
"u2": {
"hide_name": 0,
"type": "bottom2",
"parameters": {
},
"attributes": {
"src": "top_ver.v:8"
},
"connections": {
"n": [ 5 ],
"m": [ 4 ],
"l": [ 6 ]
}
},
"u1": {
"hide_name": 0,
"type": "bottom1",
"parameters": {
},
"attributes": {
"src": "top_ver.v:7"
},
"connections": {
"c": [ 6 ],
"b": [ 3 ],
"a": [ 2 ]
}
}
},
"netnames": {
"intsig": {
"hide_name": 0,
"bits": [ 6 ],
"attributes": {
"src": "top_ver.v:5"
}
},
"out": {
"hide_name": 0,
"bits": [ 5 ],
"attributes": {
"src": "top_ver.v:4"
}
},
"r": {
"hide_name": 0,
"bits": [ 4 ],
"attributes": {
"src": "top_ver.v:3"
}
},
"p": {
"hide_name": 0,
"bits": [ 3 ],
"attributes": {
"src": "top_ver.v:3"
}
},
"q": {
"hide_name": 0,
"bits": [ 2 ],
"attributes": {
"src": "top_ver.v:3"
}
}
}
}
}
} |
#64 is more specific about how to accomplish this so I'm going to close this issue as a duplicate. |
This stood out to me on the README before but was removed in some re-shuffling and I couldn't see an issue for it.
I guess the more interesting thing to me would be to allow navigating hierarchies in an interactive fashion but that may be out of scope for this project.
The text was updated successfully, but these errors were encountered: