Skip to content
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

Adding external pins feature #6

Open
jainpranav1 opened this issue Feb 5, 2022 · 2 comments
Open

Adding external pins feature #6

jainpranav1 opened this issue Feb 5, 2022 · 2 comments

Comments

@jainpranav1
Copy link

jainpranav1 commented Feb 5, 2022

Thank you so much for making this tool. This tool was able to help me make the Nand2Tetris HDL Visualizer extension: https://marketplace.visualstudio.com/items?itemName=PranavJain.nand2tetris-hdl-visualizer&ssr=false#overview which has been deployed in my university's computer organization class.
screenshot1
In the image, you can see that I modified the HDElk file inorder to accommodate external pins, like sel[0], sel[1], etc. This was done by adding them to internal pins on internal gates, and then shifting the internal pin boxes so that the external pins are separated from the internal pins. Is it possible that you can add a feature to draw external pins within the HDElk library? Then, I wouldn't have to add separate code to do so. Please let me know if this is possible. Thank you again for your time and efforts. This is a really awesome tool.

@davidthings
Copy link
Owner

Could the internal port feature help?

https://davidthings.github.io/hdelk/tutorial#internal-ports

@jainpranav1
Copy link
Author

Hi! I originally used the internal ports feature, but the ports ended up far from their respective gates connected by long wires. This made the diagram quite cluttered and hard to follow. That is why I decided to not use the internal port feature and instead add my own code to make ports close to their respective gates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants