
Anonymous
No aplicable
10-21-2020
08:15 AM
1.889 Vistas
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
I am designing 4-bit comparator using 2-bit comparator and made a circuit .
After running RTL stimulation Error occurs.
I don't know why this error occurs as most of the output is correct but few are wrong.
I attached the screenshot of 2-bit comparator code and the circuit diagram of 4-bit if you find something wrong then please guide me regarding that issue.
Enlace copiado
4 Respuestas
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
You have a typo in your equals logic for the 2-bit comparator. The first term is using ~A1 when it should be ~B1.

Anonymous
No aplicable
10-21-2020
12:02 PM
1.870 Vistas
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Not sure how to rephrase it any clearer. Your Equal logic assignment should be:
assign Equal = (~A1)&(~A0)&(~B1)&(~B0)....etc.

Anonymous
No aplicable
10-21-2020
07:31 PM
1.838 Vistas
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
I made correction in code as you said and now more output are correct but 2-3 are wrong still.
Please Guide me.

Responder
Opciones de temas
- Suscribirse a un feed RSS
- Marcar tema como nuevo
- Marcar tema como leído
- Flotar este Tema para el usuario actual
- Favorito
- Suscribir
- Página de impresión sencilla