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

Input/Output Pin #16

Open
JimmyDansbo opened this issue Aug 28, 2020 · 1 comment
Open

Input/Output Pin #16

JimmyDansbo opened this issue Aug 28, 2020 · 1 comment

Comments

@JimmyDansbo
Copy link

Would it be at all possible to add an option so that subcircuit's pins could behave as both an input, and an output at once. (Like you could if it weren't a subcircuit...) This would be really useful for some circuits, and make them less complex.
A use case would be a tri-state register where the data could be read in from the data bus into the register, then send back out on the data bus from a sub circuit.

This request is copied directly from an existing request on the original Logisim development page.
https://sourceforge.net/p/circuit/feature-requests/76/

@maehne
Copy link

maehne commented Aug 30, 2020

Support for inout pins has been also requested for Logisim-evolution (see issue #253). It supports inout pins now at least on the top level. Supporting it in sub-modules and simulation would be require much effort according to this comment by @kevinawalsh. You can work around it by placing tristate buffers only in the top level and splitting the inout port of a sub-module into separate input, output, and output enable ports.

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