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

[feature request] ability to import logic gate representation #211

Open
Ponali opened this issue Apr 13, 2024 · 0 comments
Open

[feature request] ability to import logic gate representation #211

Ponali opened this issue Apr 13, 2024 · 0 comments

Comments

@Ponali
Copy link

Ponali commented Apr 13, 2024

it would be nice to be able to import a text representation of logic gates, so it can later be turned into its own chip for abstraction.

in the "Exploring How Computers Work" series made for this, when talking about 7-segment (or 8?) displays, there has been a moment for a program called "Logic Friday". i installed this program, put a truth table and converted it into a logic gate representation.
i can use the diagram to reconstruct it in the simulation, but it will take a lot of time to do so, and the diagram is veery complicated '._.

here's what the text representation looks like to me:

F0 = 0;
F1 = A' B C  + A' B' C  + A B C  + A B D' + A' B C' D + B' C' D' + A B' C'  + A B' D';
F2 = A' C' D' + A' B' D + A B C' D + A' B' C  + A B' C'  + A B' D';
F3 = A' B' D + A' B C  + A' B D' + A B C' D + A B' C D + A' B C' D + B' C' D' + A B' C'  + A B' D';
F4 = A' C D' + A B C' D + A B' C D + A' B' C  + A B D' + A' B C' D + B' C' D' + A B' C' ;
F5 = A' C D' + A B C' D + A B' C D + A B C  + A B D' + B' C' D' + A B' D';
F6 = A' B D' + A B' C D + A B C  + A B D' + A' B C' D + B' C' D' + A B' C'  + A B' D';
F7 = A' B D' + A B C' D + A B' C D + A' B' C  + A B C  + A' B C' D + A B' C'  + A B' D';

if you're wondering why i'm not copying from the video with the version with Two's Complement, that's because i wanted to make my own version using hexadecimal so i can save some time.

i'm also asking this because reconstructing everything manually is a pain in the ass to do because of common human errors which you can't notice, and the board for every logic gate being too small.

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

1 participant