r/logisim

Hi everyone! I'm a first-year Computer Engineering student.

I fully understand the theoretical logic behind converting 4-bit Binary to Gray code using XOR gates. However, I have zero experience with the practical side.

I need your help with two things:

  1. In Logisim, how do I properly wire the gates to see the conversion in real-time?
  2. If I want to build this on a physical breadboard, what specific components (ICs, switches, etc.) should I look for?

I’m still a beginner, so any step-by-step guidance or a simple diagram would be amazing. Thanks!

u/Most-Caregiver2621 — 14 days ago

Hello everyone, for one of my projects I was planning to use a 16x4 encoder, but when I went to implement in the online version of logisim I had problems with the output wires.

More specifically, no matter to what select bit setting I changed the priority encoder to, the output bits remained the same even if the input bits changed. Below is a picture of a priority encoder with 16 inputs but only two output lines, which obviously makes no sense since two binary bits are not enough for the 16 possibilities in the encoder.

https://preview.redd.it/zb3548yszeyg1.png?width=277&format=png&auto=webp&s=288bf6f1948510b542cb5b2cba7e9219ec775aa9

Below is a picture of a 8x3 encoder with only two output lines

https://preview.redd.it/1szav6y60fyg1.png?width=277&format=png&auto=webp&s=bc6af6f8a7e1c0b0bf4da0b71dd03938b0acab71

I did wonder if this was a problem because I'm using the online version and not the app version that you can download to desktop, so if it is please do let me know. If this is something that comes in built into the app, is my only choice cascading several 4x2 encoders to make one big encoder?

reddit.com
u/mega2005 — 14 days ago