Compartir tecnología

[Notas de estudio] 4. Circuito lógico combinacional (Parte 1)

2024-07-12

한어Русский языкEnglishFrançaisIndonesianSanskrit日本語DeutschPortuguêsΕλληνικάespañolItalianoSuomalainenLatina

  • Clasificación de circuitos digitales: circuitos lógicos combinacionales, circuitos lógicos secuenciales.
  • Este capítulo estudia circuitos lógicos combinacionales.

4.1 Análisis de circuitos lógicos combinacionales

  • Dado un circuito lógico, determine su expresión lógica, enumere la tabla de verdad, obtenga la expresión lógica simplificada y analice su función.

Circuito de paridad impar de 3 bits

(1) Como se muestra en la siguiente figura.
Insertar descripción de la imagen aquí
(2) Enumere la tabla de verdad

ABCOyo
00000
00101
01011
01110
10011
10110
11000
11101

(3) AnalizarCircuito de paridad imparFunción.

  • Cuando C es 1, y hay 0 o 2 unos en AB (AB es lo mismo, Z=0), (un número impar de unos), L es 1.
  • Cuando C es 0, y solo hay un 1 en AB (AB es diferente, Z=1), (un número impar de unos), L es 1.
  • Es decir, cuando hay un número impar de unos en ABC, L es 1. Cuando hay un número par de unos en ABC, L es 0.

Circuito de paridad par de 3 bits

(1) Sobre la base del circuito de paridad impar, agregando un inversor al extremo de salida, podemos obtenerCircuito de paridad uniforme

circuito complementario de 3 bits

  • Como se muestra abajo.
    Insertar descripción de la imagen aquí
  • Expresión lógica.
    X = AX = AX=A
    Y = ( A ⋅ B ‾ ‾ ) ⋅ ( A ‾ ⋅ B ) ‾ ‾ = A ⋅ B ‾ + A ‾ ⋅ BY = línea superior{(línea superior{A·línea superior{B}})·(línea superior{línea superior{A}·B)}}=A·línea superior{B}+línea superior{A}·BY=(AB)(AB)=AB+AB
    Z = ( A ‾ ⋅ C ‾ ) ⋅ ( A ⋅ C ‾ ) ‾ ‾ = A ‾ ⋅ C + A ⋅ C ‾ Z=overline{(overline{overline{A}·C})·(overline{A·overline{C})}}=overline{A}·C+A·overline{C}O=(AC)(AC)=AC+AC
  • Mesa de la verdad.
ABCXYO
000000
001001
010010
011011
100111
101110
110101
111100
  • Análisis funcional.
    (1) Código original ABC, A sirve como bit de signo, 0 representa un número positivo y 1 representa un número negativo.
    (2) Código inverso XYZ, X sirve como bit de signo, consistente con A.
    (3) Cuando A=0 es un número positivo, YZ y BC son consistentes.
    (4) Cuando A = 1 es un número negativo, el bit de signo permanece sin cambios en X = A e YZ es el resultado de invertir BC.

4.2 Diseño de circuito lógico combinacional

  • Aclare la función lógica, determine la entrada y la salida, enumere la tabla de verdad, escriba la expresión lógica, simplifique la expresión lógica de transformación y dibuje el diagrama lógico.

Luz indicadora de llegada de tren de 3 dígitos

  • necesidad.
    (1) Utilice 2 entradaspuerta NAND,inversor.
    (2) Luz indicadora n.° 1, luz indicadora de llegada del tren expreso. Alta prioridad.
    (3) Luz indicadora n.° 2, tren expreso directo que ingresa a la luz indicadora de la estación. En prioridad.
    (4) Luz indicadora n.° 3, tren lento entrando en la luz indicadora de la estación. Baja prioridad.
    (5) Como máximo puede haber una luz indicadora encendida al mismo tiempo.

  • Definir variables de entrada y salida.
    (1) señal de entrada, I 0 petición exprés, I 1 petición exprés directa, I 2 petición tren de cercanías I_0 petición exprés, I_1 petición exprés directo, I_2 petición tren de cercaníasI0petición expresa,I1Solo solicítalo rápidamente,I2Solicitud de tren lento . 1 significa que hay una solicitud entrante, 0 significa que no hay ninguna solicitud entrante.
    (2) señal de salida, L 0 indicador luminoso de parada exprés, L 1 indicador luminoso de parada exprés directa, L 2 indicador luminoso de parada de tren de cercanías L_0 indicador luminoso de parada exprés, L_1 indicador luminoso de parada rápida directa, L_2 indicador luminoso de parada de tren de cercaníasyo0Luz de llegada exprés,yo1Luz indicadora de parada directa,yo2Luz indicadora de llegada de tren lento . 1 significa que la luz está encendida, 0 significa que la luz está apagada.

  • Mesa de la verdad.

ingresarproducción
Yo_0Yo_1Yo_2L_0L_1L_2
000000
1XX100
01X010
001001
  • Listar expresiones lógicas
    L0 = yo0 L_0 = yo_0yo0=I0
    L 1 = I 0 ‾ ⋅ I 1 L_1 = línea superior{I_0}·I_1yo1=I0I1
    L 2 = I 0 ‾ ⋅ I 1 ‾ ⋅ I 2 L_2 = línea superior{I_0}·línea superior{I_1}·I_2yo2=I0I1I2

  • Convierta a formato NAND según sea necesario.
    L0 = yo0 L_0 = yo_0yo0=I0
    L 1 = I 0 ‾ ⋅ I 1 ‾ ‾ L_1 = línea superior{línea superior{línea superior{I_0}·I_1}}yo1=I0I1
    L 2 = I 0 ‾ ⋅ I 1 ‾ ‾ ‾ ⋅ I 2 ‾ ‾ L_2 =sobrelínea{sobrelínea{sobrelínea{sobrelínea{sobrelínea{I_0}·sobrelínea{I_1}}}·I_2}}yo2=I0I1I2

  • Dibuja un diagrama lógico.
    (1) Un chip 74HC00 contiene cuatro puertas CMOS NAND de 2 entradas.
    (2) Un chip 74HC04 contiene 6 inversores CMOS.
    Insertar descripción de la imagen aquí

Convierta código Gray de 4 bits en código binario natural

  • necesidad.
    (1) Se puede utilizar cualquier circuito de puerta lógica.
    (2) Código Gray de 4 bits, convertido en código binario natural.

  • Definir variables de entrada y salida.
    (1) Variables de entrada, sol 3, sol 2, sol 1, sol 0 sol_3, sol_2, sol_1, sol_0GRAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMO3,GRAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMO2,GRAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMO1,GRAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMO0
    (2) Variables de salida, B3, B2, B1, B0 B_3, B_2, B_1, B_0B3,B2,B1,B0

  • Enumera la tabla de verdad.

ingresarproducción
G_3G_2G_1G_0B_3B_2B_1B_0
00000000
00010001
00110010
00100011
01100100
01110101
01010110
01000111
11001000
11011001
11111010
11101011
10101100
10111101
10011110
10001111
  • Dibuja un mapa de Karnaugh basado en la tabla de verdad.
    Insertar descripción de la imagen aquí
    Insertar descripción de la imagen aquí

  • Enumera expresiones lógicas.
    B3 = G3 B_3 = G_3B3=GRAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMO3
    B 2 = G 3 ‾ ⋅ G 2 + G 3 ⋅ G 2 ‾ = G 3 ⊕ G 2 B_2 = línea superior{G_3}·G_2 + G_3·línea superior{G_2}=G_3⊕G_2B2=GRAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMO3GRAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMO2+GRAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMO3GRAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMO2=GRAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMO3GRAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMO2
    B 1 = G 3 ‾ G 2 G 1 ‾ + G 3 G 2 ‾ G 1 ‾ + G 3 ‾ G 2 ‾ G 1 + G 3 G 2 G 1 = ( G 3 G 2 ‾ + G 3 ‾ G 2 ) G 1 ‾ + ( G 3 G 2 ‾ + G 3 ‾ G 2 ) ‾ G 1 = G 3 ⊕ G 2 ⊕ G 1 B_1 = sobrelínea{G_3}G_2sobrelínea{G_1}+G_3sobrelínea{G_2}sobrelínea{G_1}+sobrelínea{G_3}sobrelínea{G_2}G_1+G_3G_2G_1=(G_3sobrelínea{G_2}+sobrelínea{G_3}G_2)sobrelínea{G_1}+sobrelínea{(G_3sobrelínea{G_2}+sobrelínea{G_3}G_2)}G_1=G_3⊕G_2⊕G_1B1=GRAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMO3GRAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMO2GRAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMO1+GRAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMO3GRAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMO2GRAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMO1+GRAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMO3GRAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMO2GRAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMO1+GRAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMO3GRAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMO2GRAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMO1=(GRAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMO3GRAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMO2+GRAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMO3GRAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMO2)GRAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMO1+(GRAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMO3GRAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMO2+GRAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMO3GRAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMO2)GRAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMO1=GRAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMO3GRAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMO2GRAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMO1
    B0 = G3 ⊕G2 ⊕G1 ⊕G0 B_0=G_3⊕G_2⊕G_1⊕G_0B0=GRAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMO3GRAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMO2GRAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMO1GRAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMO0

  • Dibuja un diagrama lógico.
    Insertar descripción de la imagen aquí

4.3 Competición y aventura en circuitos lógicos combinacionales

  • En los circuitos lógicos combinacionales, las señales tardan una cierta cantidad de tiempo en pasar a través de las puertas lógicas.
  • Las señales pasan por diferentes caminos y tienen diferentes tiempos de transmisión (diferentes niveles de puertas lógicas, diferentes tipos de puertas lógicas).
  • Competencia: la señal en múltiples terminales de entrada de una puerta lógica cambia en direcciones opuestas al mismo tiempo y el tiempo de cambio es diferente. Este fenómeno se llama "competencia". (Quien cambia primero y quien cambia después es competencia).
  • Inquietante: La contención produce pulsos estrechos de interferencia de salida, un fenómeno conocido como Inquietante.

4.3.1 Razones de los riesgos competitivos

  • Las señales de entrada no pueden llegar al mismo tiempo, lo que resulta en un período corto de pulsos anormalmente estrechos.
  • Y puerta
    Insertar descripción de la imagen aquí
  • O puerta
    Insertar descripción de la imagen aquí

4.3.2 Métodos para eliminar el riesgo competitivo

1. Descubre y elimina términos de multiplicación complementarios.

  • F = ( A + B ) ( A ‾ + C ) F = (A+B)(línea superior{A}+C)F=(A+B)(A+C)
  • Cuando B=C=0, aparecerá AA ‾ Aoverline{A}AAtérmino del producto.
  • Descubrir: AA ‾ Aoverline{A}AALos términos del producto pueden generar "riesgo de carrera".
    Insertar descripción de la imagen aquí
  • Términos de multiplicación complementarios: A ⋅ A ‾ A·línea superior{A}AA
  • Eliminar: F = ( A + B ) ( A ‾ + C ) = AA ‾ + AC + BA ‾ + BC = AC + BA ‾ + BCF = (A+B)(A+C)=A+AC+BA+BC=AC+BA+BCF=(A+B)(A+C)=AA+AC+BA+antes de Cristo=AC+BA+antes de Cristo . De esta forma, no existen elementos complementarios y, en cierta medida, se evita la competencia y la asunción de riesgos.

Insertar descripción de la imagen aquí

2. Agregue términos de producto para evitar agregar términos complementarios.

  • Como se ha mencionado más arriba, F = AC + BA ‾ + BCF = AC + Boverline{A} + BCF=AC+BA+antes de Cristo, cuando B=C=1, F = A + A ‾ + 1 = 1 F = A+overline{A}+1 =1F=A+A+1=1 . El término del producto BC aquí = 1 juega un papel para evitar el riesgo de competencia al agregar términos complementarios.
  • de acuerdo aOperaciones de identidad "O" de uso común(Sección 2.1), AB + A ‾ C + BC = AB + A ‾ C AB + línea superior {A} C + BC = AB + línea superior {A} CAB+AC+antes de Cristo=AB+AC
  • Al encontrar funciones lógicas L = AC + BC ‾ L=AC + Boverline{C}yo=AC+BCDe esta forma, podemos agregar el término del producto. AB ABAB
    Insertar descripción de la imagen aquí

3. Condensador paralelo en la salida.

  • Para escenarios de trabajo más lentos.
  • El valor de capacitancia es de 4~20pF. Desempeña un papel "suavizante" en el riesgo de pulsos estrechos.
  • Desventaja: los flancos ascendentes y descendentes de la forma de onda de salida se volverán más lentos.

4.4 (Enfoque de aprendizaje) Varios circuitos integrados de lógica combinacional típicos

  • Codificador, decodificador, selector de datos, distribuidor de datos, comparador numérico, unidad de operación aritmética/lógica.

4.4.1 Codificador

1. Definición y principio de funcionamiento.

  • Usar un código binario para representar información con un significado específico se llama codificación.
  • Un circuito lógico con función de codificación se llama codificador.
    Insertar descripción de la imagen aquí
(1) Decodificador ordinario (codificador de 4 hilos y 2 hilos)
  • 4 entradas Yo 0 Yo 1 Yo 2 Yo 3 Yo_0 Yo_1 Yo_2 Yo_3I0I1I2I3, señal activa de alto nivel.
  • 2 salidas Y1Y0Y_1Y_0Y1Y0
  • Premisa: en cualquier momento, Yo 0 Yo 1 Yo 2 Yo 3 Yo_0 Yo_1 Yo_2 Yo_3I0I1I2I3 Sólo puede haber un valor de 1.Y hay un código binario correspondiente. Y1Y0Y_1Y_0Y1Y0
  • Como se muestra en la siguiente tabla, además de las cuatro combinaciones de valores de las cuatro entradas, las salidas correspondientes a las otras 12 combinaciones son todas 00.
Yo 0 Yo_0I0 Yo 1 Yo_1I1 Yo 2 Yo_2I2 Yo 3 Yo_3I3 Y1Y_1Y1 Y0Y_0Y0
100000
010001
001010
000111
  • Expresiones lógicas y diagramas lógicos.
    Y 1 = I 0 ‾ I 1 ‾ I 2 I 3 ‾ + I 0 ‾ I 1 ‾ I 2 ‾ I 3 Y_1 = sobrelínea{I_0}sobrelínea{I_1}I_2sobrelínea{I_3}+sobrelínea{I_0}sobrelínea{I_1}sobrelínea{I_2}I_3Y1=I0I1I2I3+I0I1I2I3
    Y 0 = I 0 ‾ I 1 I 2 ‾ I 3 ‾ + I 0 ‾ I 1 ‾ I 2 ‾ I 3 Y_0 = sobrelínea{I_0}I_1sobrelínea{I_2}sobrelínea{I_3}+sobrelínea{I_0}sobrelínea{I_1}sobrelínea{I_2}I_3Y0=I0I1I2I3+I0I1I2I3

Insertar descripción de la imagen aquí

  • Pregunta adicional: Si más de 2 de las 4 entradas tienen el valor 1 al mismo tiempo, la salida se codificará incorrectamente.
    Por ejemplo: Yo 2 = Yo 3 = 1 Yo_2=Yo_3=1I2=I3=1hora, Y1Y0=0 Y_1Y_0=0Y1Y0=0
  • Para abordar este problema, se pueden establecer prioridades y prioridades aumentando la prioridad.
(2) Codificador de prioridad
  • Con base en lo anterior, enumere la tabla de verdad.
Yo 0 Yo_0I0 Yo 1 Yo_1I1 Yo 2 Yo_2I2 Yo 3 Yo_3I3 Y1Y_1Y1 Y0Y_0Y0
100000
X10001
XX1010
XXX111
  • Expresión lógica:
    Y 1 = I 2 I 3 ‾ + I 3 = I 2 + I 3 Y_1 = I_2overline{I_3}+I_3= I_2+I_3Y1=I2I3+I3=I2+I3
    Y 0 = I 1 I 2 ‾ I 3 ‾ + I 3 = I 1 I 2 ‾ + I 3 Y_0 = I_1sobrelínea{I_2}sobrelínea{I_3}+I_3=I_1sobrelínea{I_2}+I_3Y0=I1I2I3+I3=I1I2+I3

Insertar descripción de la imagen aquí

(3) El valor de salida es válido
  • Pregunta adicional: ¿cuándo? Yo 0 = 1 o Yo 0 = 1 Yo_0=1 o Yo_0=1I0=1oI0=1siempre siempre Y1Y0=0 Y_1Y_0=0Y1Y0=0 .Diferentes entradas, mismas salidas, indistinguiblesLa salida válida es 0 ( Yo 0 = 1 Yo_0=1I0=1ySalida no válida 0
  • Para resolver este problema, puedes agregar una expresión "El valor de salida es válido."El valor del indicador de salida es GS.
  • Por ejemplo, el siguiente codificador 8421BCD. La primera y segunda fila de la tabla de verdad son 0000. Solo cuando GS == 1, significa que ABCD en este momento es un código válido.
S 9 S_9S9 S 8 S_8S8 S7 S_7S7 S6 S_6S6 S 5 S_5S5 S 4 S_4S4 S3S_3S3 S2S_2S2 S1S_1S1 S0S_0S0 Automóvil club británicoA CAMA Y DESAYUNOB C.C.C DDD GSGSGS
111111111100000
111111111000001
111111110100011
111111101100101
111111011100111
111110111101001
111101111101011
111011111101101
110111111101111
101111111110001
011111111110011

2. Codificador de prioridad de circuito integrado

  • Típico: codificador de prioridad CD4532 (descontinuado)
    Insertar descripción de la imagen aquí

  • El codificador de prioridad I 7 tiene la prioridad más alta y I 0 tiene la prioridad más baja. El codificador de prioridad I_7 tiene la prioridad más alta y I_0 tiene la prioridad más baja.codificador de prioridadI7más alta prioridad,I0La prioridad más baja.

    • Sólo cuando EI=1, el codificador funciona.
    • Cuando EI = 0, el codificador tiene prohibido funcionar (la salida es de nivel bajo).
  • Cuando EI=1, cuando todas las entradas son de nivel bajo, noprioridad más baja Ingrese un nivel alto y emita 000 en este momento. En este momento EO=1.

  • Sólo cuando EI=1 y todas las entradas son 0, EO=1. Dedicado a la conexión en cascada de EI con otro dispositivo.

  • Cuando EI=1, al menos uno de los terminales de entrada es de nivel alto 1 y GS=1.

  • Consulte el libro para conocer expresiones lógicas específicas y diagramas de bloques lógicos.

EI permite codificar EI permite codificarmiICodificación permitida Yo 7 Yo_7I7 Yo 6 Yo_6I6 Yo 5 Yo_5I5 Yo 4 Yo_4I4 Yo 3 Yo_3I3 Yo 2 Yo_2I2 Yo 1 Yo_1I1 Yo 0 Yo_0I0 Y2Y_2Y2 Y1Y_1Y1 Y0Y_0Y0 GS tiene entrada 1 GS tiene entrada 1GShay entrada1 EO ingresa todos los 0 EO ingresa todos los 0EOIngresar todo0
0XXXXXXXX00000
11XXXXXXX11110
101XXXXXX11010
1001XXXXX10110
10001XXXX10010
100001XXX01110
1000001XX01010
10000001X00110
10000000100010
10000000000001

  • Cuando EI 1 = 0, el segmento 1 está deshabilitado. Y 2 Y 1 Y 0 = = 000 , GS 1 = 0 , EO 1 = 0 . EI 0 = 0, el chip 0 también está desactivado. Cuando EI_1=0, el segmento 1 está deshabilitado. Y_2Y_1Y_0==000, GS_1=0, EO_1=0. EI_0=0, el segmento 0 también está deshabilitado.cuandomiI1=0tiempo, película1Desactivado.Y2Y1Y0==000GRAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMOS1=0miOhhhhhhh1=0miI0=0,pedazo0También discapacitado.

    • En este momento GS 0 = 0. L 3 L 2 L 1 L 0 = 0000. GS = GS 1 + GS 0 = 0, en este momento GS_0=0. L_3L_2L_1L_0=0000. GS = GS_1+GS_0=0,en este momentoGRAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMOS0=0yo3yo2yo1yo0=0000GS=GRAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMOS1+GRAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMOS0=0,
    • Esta es una codificación no válida.
  • Cuando EI 1 = 1, se permite codificar el segmento 1. Si I 15 − I 8 = 000...000, entonces EO 1 = 1, entonces EI 0 = 1. El segmento 0 permite la codificación. Se puede ver que la codificación del segmento 1 tiene una prioridad más alta que la codificación del segmento 0. Cuando EI_1 = 1, se permite la codificación del segmento 1. Si I_ {15} - I_8 = 000...000, entonces EO_1 =. 1, entonces EI_0=1. El segmento 0 permite la codificación.Se puede ver que la prioridad de la codificación del segmento 1 es mayor que la de la codificación del segmento 0.cuandomiI1=1tiempo, película1Se permite la codificación siI15I8=000...000,en este momentomiOhhhhhhh1=1,de este modomiI0=1 .pedazo0 Se permite la codificación.Se puede ver que la película1La codificación tiene prioridad sobre los cortes0codificación

    • En este momento, L 3 = GS 1 = 0, L 2 = Y 2 1 + Y 2 0 = Y 2 0, L 1 = Y 1 1 + Y 1 0 = Y 1 0, L 0 = Y 0 1 + Y 0 0 = Y 0 0 En este momento, L_3=GS_1=0, L2=Y2_1+Y2_0=Y2_0, L1=Y1_1+Y1_0=Y1_0, L0=Y0_1+Y0_0=Y0_0en este momentoyo3=GRAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMOS1=0yo2=Y21+Y20=Y20yo1=Y11+Y10=Y10yo0=Y01+Y00=Y00
    • El rango de codificación de salida es 0000 − 0111 El rango de codificación de salida es 0000-0111El rango de codificación de salida es00000111
  • Cuando EI 1 = 1, se permite la codificación en el segmento 1. Si I 15 − I 8 tiene al menos un 1, entonces EO 1 = 0, por lo que EI 0 = 0, y la codificación está prohibida en el segmento 0. Cuando EI_1=1, se permite la codificación en el segmento 1. Si I_{15} - I_8 tiene al menos un 1, entonces EO_1=0, por lo que EI_0=0, la codificación está prohibida en el segmento 0.cuandomiI1=1tiempo, película1Se permite la codificación siI15I8al menos uno1,en este momentomiOhhhhhhh1=0,de este modomiI0=0,pedazo0La codificación está prohibida.

    • En este momento, L 3 = GS 1 = 1, L 2 = Y 2 1 + Y 2 0 = Y 2 1, L 1 = Y 1 1 + Y 1 0 = Y 1 1, L 0 = Y 0 1 + Y 0 0 = Y 0 1 En este momento, L_3=GS_1=1, L2=Y2_1+Y2_0=Y2_1, L1=Y1_1+Y1_0=Y1_1, L0=Y0_1+Y0_0=Y0_1en este momentoyo3=GRAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMOS1=1yo2=Y21+Y20=Y21yo1=Y11+Y10=Y11yo0=Y01+Y00=Y01
    • El rango de codificación de salida es 1000 − 1111 El rango de codificación de salida es 1000-1111El rango de codificación de salida es10001111
EI 1 permite codificar EI_1 permite codificarmiI1Codificación permitida EI 0 permite codificar EI_0 permite codificarmiI0Codificación permitida yo 15 yo_{15}I15 Yo 14 Yo_{14}I14 Yo 13 Yo_{13}I13 Yo 12 Yo_{12}I12 yo 11 yo_{11}I11 yo 10 yo_{10}I10 Yo 9 Yo_9I9 Yo 8 Yo_8I8 Yo 7 Yo_7I7 Yo 6 Yo_6I6 Yo 5 Yo_5I5 Yo 4 Yo_4I4 Yo 3 Yo_3I3 Yo 2 Yo_2I2 Yo 1 Yo_1I1 Yo 0 Yo_0I0 Y21Y2_1Y21 Y11Y1_1Y11 Y01Y0_1Y01 Y20Y2_0Y20 Y10Y1_0Y10 Y00Y0_0Y00 EO 1 Ingrese todos los 0 EO_1 Ingrese todos los 0miOhhhhhhh1Ingresar todo0 EO 0 Ingrese todos los 0 EO_0 Ingrese todos los 0miOhhhhhhh0Ingresar todo0 GS 1 tiene entrada 1 GS_1 tiene entrada 1GRAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMOS1hay entrada1 GS 0 tiene entrada 0 GS_0 tiene entrada 0GRAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMOS0hay entrada0 L 3 L_3yo3 L2L_2yo2 L1L1yo1 L0L_0yo0
0 (sección 1 deshabilitada) EI 0 = EO 1 = 0 EI_0=EO_1=0miI0=miOhhhhhhh1=0(deshabilitado en el segmento 0)XXXXXXXXXXXXXXXX00000000000000
101XXXXXXXXXXXXXXX111000001 (el chip 1 tiene entrada)01 L3 = GS1 L_3 = GS_1yo3=GRAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMOS11 L2 = Y2_1 L_2 = Y2_1yo2=Y211 L1 = Y11 L_1 = Y1_1yo1=Y111 L0 = Y01 L_0 = Y0_1yo0=Y01
1001XXXXXXXXXXXXXX11000000101110
10001XXXXXXXXXXXXX10100000101101
100001XXXXXXXXXXXX10000000101100
1000001XXXXXXXXXXX01100000101011
10000001XXXXXXXXXX01000000101010
100000001XXXXXXXXX00100000101001
1000000001XXXXXXXX00000000101000
1 EI 0 = EO 1 = 1 EI_0=EO_1=1miI0=miOhhhhhhh1=1(pieza 0 obra)000000001XXXXXXX0001111 (la entrada del chip 1 es toda 0)00 (codificación no válida para el segmento 1)10 L3 = GS1 L_3 = GS_1yo3=GRAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMORAMOS11 L2 = Y2_0 L_2 = Y2_0yo2=Y201 L1 = Y10 L_1 = Y1_0yo1=Y101 L0 = Y00 L_0 = Y0_0yo0=Y00
110000000001XXXXXX00011010010110
1100000000001XXXXX00011110010101
11000000000001XXXX00011110010100
110000000000001XXX00011110010011
1100000000000001XX00011110010010
11000000000000001X00011110010001
11000000000000000100011110010000
11000000000000000000011111 (la entrada del chip 0 es toda 0)00 (sección 0 codificación no válida)0000

4.4.2 Decodificador

  • 138 decodificador.
  • 151 selector de datos.

1. Definición y función

  • Hay dos tipos de decodificadores:
    • Decodificador de dirección única: Convierte una serie de códigos en una señal válida que corresponde a uno. (Por ejemplo, la computadora decodifica la dirección de la unidad de almacenamiento, convierte el código de dirección en una señal válida y selecciona la unidad de almacenamiento correspondiente)
    • Transcodificador: Convierte un código en otro código.
(1) Decodificador binario
  • n terminales de entrada
  • 2n2^n2norteterminal de salida
  • 1 terminal de habilitación
(2) decodificador de 2 hilos y 4 hilos
  • Terminal de salida, nivel bajo activo
    Insertar descripción de la imagen aquí
  • mesa de la verdad
ingresarproducción
/MIA_1A_0/Y_3/Y_2/Y_1/Y_0
1 prohibidoXX1111
0 habilitar001110 bajo activo
0 habilitar01110 baja efectividad1
0 habilitar1010 bajo activo11
0 habilitar110 bajo activo111
  • expresión lógica (NO puertaypuerta NANDforma de expresión)

Y 0 ‾ = E ‾ ‾ ⋅ A 1 ‾ ⋅ A 0 ‾ ‾ línea superior{Y_0} = línea superior{línea superior{línea superior{E}}·línea superior{A_1}·línea superior{A_0}}Y0=miA1A0 //00
Y 1 ‾ = E ‾ ‾ ⋅ A 1 ‾ ⋅ A 0 ‾ línea superior{Y_1} = línea superior{línea superior{línea superior{E}}·línea superior{A_1}·A_0}Y1=miA1A0 //01
Y 2 ‾ = E ‾ ‾ ⋅ A 1 ⋅ A 0 ‾ ‾ línea superior{Y_2} = línea superior{línea superior{línea superior{E}}·A_1·línea superior{A_0}}Y2=miA1A0 //10
Y 3 ‾ = E ‾ ‾ ⋅ A 1 ⋅ A 0 ‾ línea superior{Y_3} = línea superior{línea superior{línea superior{E}}·A_1·A_0}Y3=miA1A0 //11

  • Diagrama lógico de decodificador de 2 a 4 hilos.
    Insertar descripción de la imagen aquí

2. Decodificador de circuito integrado

(1) Decodificador binario
Decodificador de 2 hilos y 4 hilos x2
  • Utilice 74x139 para indicar CMOS tipo 74HC139 o TTL tipo 74LS139.
  • 74x139Sí"Decodificador dual de 2 a 4 cables”。
  • Dos decodificadores independientes están empaquetados en un chip integrado. (ver arriba para más detalles)
    Insertar descripción de la imagen aquí
Decodificador de 3 a 8 hilos
  • Utilice 74x138 para representar CMOS tipo 74HC138 o TTL tipo 74LS138.
  • 74x138Decodificador de 3 a 8 hilos
  • usarDecodificador de 3 a 8 hilospuede constituirDecodificador de 4 a 16 líneasDecodificador de 5 líneas a 32 líneasDecodificador de 6 a 64 líneas
  • cuando E 3 = 1 , E 2 ‾ = E 1 ‾ = 0 E_3=1,sobrelínea{E_2}=sobrelínea{E_1}=0mi3=1,mi2=mi1=0, el decodificador está en condiciones de funcionar.

Insertar descripción de la imagen aquí

  • Siguiendo el artículo anterior, se puede derivar la expresión lógica "decodificador de 3 líneas y 8 líneas".

Y 0 ‾ = E 3 ⋅ E 2 ‾ ‾ ⋅ E 1 ‾ ‾ ⋅ A 2 ‾ ⋅ A 1 ‾ ⋅ A 0 ‾ ‾ línea superior{Y_0} = línea superior{E_3·línea superior{línea superior{E_2}}·línea superior{línea superior{E_1}}·línea superior{A_2}·línea superior{A_1}·línea superior{A_0}}Y0=mi3mi2mi1A2A1A0 //000
Y 1 ‾ = E 3 ⋅ E 2 ‾ ‾ ⋅ E 1 ‾ ‾ ⋅ A 2 ‾ ⋅ A 1 ‾ ⋅ A 0 ‾ línea superior{Y_1} = línea superior{E_3·línea superior{línea superior{E_2}}·línea superior{línea superior{E_1}}·línea superior{A_2}·línea superior{A_1}·A_0}Y1=mi3mi2mi1A2A1A0 //001
Y 2 ‾ = E 3 ⋅ E 2 ‾ ‾ ⋅ E 1 ‾ ‾ ⋅ A 2 ‾ ⋅ A 1 ⋅ A 0 ‾ ‾ línea superior{Y_2} = línea superior{E_3·línea superior{línea superior{E_2}}·línea superior{línea superior{E_1}}·línea superior{A_2}·A_1·línea superior{A_0}}Y2=mi3mi2mi1A2A1A0 //010
Y 3 ‾ = E 3 ⋅ E 2 ‾ ‾ ⋅ E 1 ‾ ‾ ⋅ A 2 ‾ ⋅ A 1 ⋅ A 0 ‾ línea superior{Y_3} = línea superior{E_3·línea superior{línea superior{E_2}}·línea superior{línea superior{E_1}}·línea superior{A_2}·A_1·A_0}Y3=mi3mi2mi1A2A1A0 //011
Y 4 ‾ = E 3 ⋅ E 2 ‾ ‾ ⋅ E 1 ‾ ‾ ⋅ A 2 ⋅ A 1 ‾ ⋅ A 0 ‾ ‾ línea superior{Y_4} = línea superior{E_3·línea superior{línea superior{E_2}}·línea superior{línea superior{E_1}}·A_2·línea superior{A_1}·línea superior{A_0}}Y4=mi3mi2mi1A2A1A0 //100
Y 5 ‾ = E 3 ⋅ E 2 ‾ ‾ ⋅ E 1 ‾ ‾ ⋅ A 2 ⋅ A 1 ‾ ⋅ A 0 ‾ línea superior{Y_5} = línea superior{E_3·línea superior{línea superior{E_2}}·línea superior{línea superior{E_1}}·A_2·línea superior{A_1}·A_0}Y5=mi3mi2mi1A2A1A0 //101
Y 6 ‾ = E 3 ⋅ E 2 ‾ ‾ ⋅ E 1 ‾ ‾ ⋅ A 2 ⋅ A 1 ⋅ A 0 ‾ ‾ línea superior{Y_6} = línea superior{E_3·línea superior{línea superior{E_2}}·línea superior{línea superior{E_1}}·A_2·A_1·línea superior{A_0}}Y6=mi3mi2mi1A2A1A0 //110
Y 7 ‾ = E 3 ⋅ E 2 ‾ ‾ ⋅ E 1 ‾ ‾ ⋅ A 2 ⋅ A 1 ⋅ A 0 ‾ línea superior{Y_7} = línea superior{E_3·línea superior{línea superior{E_2}}·línea superior{línea superior{E_1}}·A_2·A_1·A_0}Y7=mi3mi2mi1A2A1A0 //111

Decodificador de línea 5x-32
  • Utilice 74x139 y 74x138 para formar un "decodificador de 5 líneas y 32 líneas"
    Insertar descripción de la imagen aquí
El decodificador de 3 a 8 cables implementa una función lógica
  • La función lógica es L = A ‾ ⋅ C ‾ + A ⋅ BL=línea superior{A}·línea superior{C}+A·Byo=AC+AB
  • La entrada del decodificador de 3 a 8 líneas se puede definir como A, B y C.
  • La salida del decodificador de 3 a 8 líneas es en realidad la salida de 8 líneas correspondiente a los distintos términos mínimos de A, B y C.
  • Para cualquier combinación ABC, sólo una salida estará en un nivel válido.
  • L es en realidad una colección de varias combinaciones de A, B y C.

L = A ‾ ⋅ C ‾ + A ⋅ B = A ‾ ⋅ B ‾ ⋅ C ‾ + A ‾ ⋅ B ⋅ C ‾ + A ⋅ B ⋅ C ‾ + ABC = m 0 + m 2 + m 6 + m 7 L=A·B =A·B·C+A·B·C+A·B·C+A·B·C+ABC = m_0+m_2+m_6+m_7yo=AC+AB=ABC+ABC+ABC+Aantes de Cristo=metroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetro0+metroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetro2+metroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetro6+metroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetro7

Y 0 ‾ = E 3 ⋅ E 2 ‾ ‾ ⋅ E 1 ‾ ‾ ⋅ A 2 ‾ ⋅ A 1 ‾ ⋅ A 0 ‾ ‾ = E 3 ⋅ E 2 ‾ ‾ ⋅ E 1 ‾ ‾ ⋅ m 0 ‾ línea superior{Y_0} = línea superior{E_3·línea superior{línea superior{E_2}}·línea superior{línea superior{E_1}}·línea superior{A_2}·línea superior{A_1}·línea superior{A_0}} = línea superior{E_3·línea superior{línea superior{E_2}}·línea superior{línea superior{E_1}}·m_0}Y0=mi3mi2mi1A2A1A0=mi3mi2mi1metroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetro0 //000
Y 1 ‾ = E 3 ⋅ E 2 ‾ ‾ ⋅ E 1 ‾ ‾ ⋅ A 2 ‾ ⋅ A 1 ‾ ⋅ A 0 ‾ = E 3 ⋅ E 2 ‾ ‾ ⋅ E 1 ‾ ‾ ⋅ m 1 ‾ línea superior{Y_1} = línea superior{E_3·línea superior{línea superior{E_2}}·línea superior{línea superior{E_1}}·línea superior{A_2}·línea superior{A_1}·A_0} = línea superior{E_3·línea superior{línea superior{E_2}}·línea superior{línea superior{E_1}}·m_1}Y1=mi3mi2mi1A2A1A0=mi3mi2mi1metroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetro1 //001
Y 2 ‾ = E 3 ⋅ E 2 ‾ ‾ ⋅ E 1 ‾ ‾ ⋅ A 2 ‾ ⋅ A 1 ⋅ A 0 ‾ ‾ = E 3 ⋅ E 2 ‾ ‾ ⋅ E 1 ‾ ‾ ⋅ m 2 ‾ línea superior{Y_2} = línea superior{E_3·línea superior{línea superior{E_2}}·línea superior{línea superior{E_1}}·línea superior{A_2}·A_1·línea superior{A_0}}= línea superior{E_3·línea superior{línea superior{E_2}}·línea superior{línea superior{E_1}}·m_2}Y2=mi3mi2mi1A2A1A0=mi3mi2mi1metroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetro2 //010
Y 3 ‾ = E 3 ⋅ E 2 ‾ ‾ ⋅ E 1 ‾ ‾ ⋅ A 2 ‾ ⋅ A 1 ⋅ A 0 ‾ = E 3 ⋅ E 2 ‾ ‾ ⋅ E 1 ‾ ‾ ⋅ m 3 ‾ línea superior{Y_3} = línea superior{E_3·línea superior{línea superior{E_2}}·línea superior{línea superior{E_1}}·línea superior{A_2}·A_1·A_0}= línea superior{E_3·línea superior{línea superior{E_2}}·línea superior{línea superior{E_1}}·m_3}Y3=mi3mi2mi1A2A1A0=mi3mi2mi1metroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetro3 //011
Y 4 ‾ = E 3 ⋅ E 2 ‾ ‾ ⋅ E 1 ‾ ‾ ⋅ A 2 ⋅ A 1 ‾ ⋅ A 0 ‾ ‾ = E 3 ⋅ E 2 ‾ ‾ ⋅ E 1 ‾ ‾ ⋅ m 4 ‾ línea superior{Y_4} = línea superior{E_3·línea superior{línea superior{E_2}}·línea superior{línea superior{E_1}}·A_2·línea superior{A_1}·línea superior{A_0}}= línea superior{E_3·línea superior{línea superior{E_2}}·línea superior{línea superior{E_1}}·m_4}Y4=mi3mi2mi1A2A1A0=mi3mi2mi1metroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetro4 //100
Y 5 ‾ = E 3 ⋅ E 2 ‾ ‾ ⋅ E 1 ‾ ‾ ⋅ A 2 ⋅ A 1 ‾ ⋅ A 0 ‾ = E 3 ⋅ E 2 ‾ ‾ ⋅ E 1 ‾ ‾ ⋅ m 5 ‾ línea superior{Y_5} = línea superior{E_3·línea superior{línea superior{E_2}}·línea superior{línea superior{E_1}}·A_2·línea superior{A_1}·A_0}= línea superior{E_3·línea superior{línea superior{E_2}}·línea superior{línea superior{E_1}}·m_5}Y5=mi3mi2mi1A2A1A0=mi3mi2mi1metroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetro5 //101
Y 6 ‾ = E 3 ⋅ E 2 ‾ ‾ ⋅ E 1 ‾ ‾ ⋅ A 2 ⋅ A 1 ⋅ A 0 ‾ ‾ = E 3 ⋅ E 2 ‾ ‾ ⋅ E 1 ‾ ‾ ⋅ m 6 ‾ línea superior{Y_6} = línea superior{E_3·línea superior{línea superior{E_2}}·línea superior{línea superior{E_1}}·A_2·A_1·línea superior{A_0}}= línea superior{E_3·línea superior{línea superior{E_2}}·línea superior{línea superior{E_1}}·m_6}Y6=mi3mi2mi1A2A1A0=mi3mi2mi1metroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetro6 //110
Y 7 ‾ = E 3 ⋅ E 2 ‾ ‾ ⋅ E 1 ‾ ‾ ⋅ A 2 ⋅ A 1 ⋅ A 0 ‾ = E 3 ⋅ E 2 ‾ ‾ ⋅ E 1 ‾ ‾ ⋅ m 7 ‾ línea superior{Y_7} = línea superior{E_3·línea superior{línea superior{E_2}}·línea superior{línea superior{E_1}}·A_2·A_1·A_0}= línea superior{E_3·línea superior{línea superior{E_2}}·línea superior{línea superior{E_1}}·m_7}Y7=mi3mi2mi1A2A1A0=mi3mi2mi1metroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetro7 //111

  • Asegúrese de que E 3 = 1, E 2 = 0, E 1 = 0 Asegúrese de que E_3 = 1, E_2 = 0, E_1 = 0Cerciorarsemi3=1,mi2=0,mi1=0, es decir Y 0 ‾ = m 0 ‾ , Y 2 ‾ = m 2 ‾ , Y 6 ‾ = m 6 ‾ , Y 7 ‾ = m 7 ‾ línea superior{Y_0}=línea superior{m_0}, línea superior{Y_2}=línea superior{m_2}, línea superior{Y_6}=línea superior{m_6}, línea superior{Y_7}=línea superior{m_7}Y0=metroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetro0Y2=metroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetro2Y6=metroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetro6Y7=metroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetro7

  • Transformar funciones lógicas según la ley de inversión.
    L = L ‾ ‾ = m 0 + m 2 + m 6 + m 7 ‾ ‾ = m 0 ‾ ⋅ m 2 ‾ ⋅ m 6 ‾ ⋅ m 7 ‾ ‾ = m 0 + m 2 + m 6 + m 7 ‾ ‾ = Y 0 ‾ ⋅ Y 2 ‾ ⋅ Y 6 ‾ ⋅ Y 7 ‾ ‾ L=línea superior{línea superior{L}} = línea superior{línea superior{m_0+m_2+m_6+m_7}} = línea superior{línea superior{m_0}·línea superior{m_2}·línea superior{m_6}·línea superior{m_7}} = sobrelínea{sobrelínea{m_0+m_2+m_6+m_7}} = sobrelínea{sobrelínea{Y_0}·sobrelínea{Y_2}·sobrelínea{Y_6}·sobrelínea{Y_7}}yo=yo=metroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetro0+metroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetro2+metroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetro6+metroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetro7=metroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetro0metroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetro2metroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetro6metroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetro7=metroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetro0+metroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetro2+metroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetro6+metroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetro7=Y0Y2Y6Y7

  • Obtener diagrama lógico
    Insertar descripción de la imagen aquí

(2) Decodificador binario-decimal
  • 774HC42

  • 4 entradas

  • 10 terminales de salida, la salida está activa a un nivel bajo, correspondiente a los números decimales del 0 al 9.
    Insertar descripción de la imagen aquí

  • 4 terminales de entrada, un total de 16 situaciones

  • solo m0, m1, m2...m9m_0,m_1,m_2......m_9metroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetro0,metroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetro1,metroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetro2......metroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetro9Es una entrada válida (el pin de salida correspondiente emite 0 bajo y las otras salidas son 1 alto).

  • Entre los 6 restantes m10, m11, m12... m15 m_{10}, m_{11}, m_{12}...... m_{15}metroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetro10,metroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetro11,metroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetro12......metroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetro15Significa que no hay una salida de decodificación válida (cuando no es válida, la salida es 1 alta).

  • Dibuje los diagramas de forma de onda de entrada y salida del 74HC42.

Insertar descripción de la imagen aquí

  • Si el bucle DCBA ingresa 0000-1001, Y 0 ‾ a Y 9 ‾ sobrelínea{Y_0} a sobrelínea{Y_9}Y0llegarY9El bucle superior emite una "señal de pulso secuencial".
  • El decodificador se puede construirpulso de secuenciaGenerar circuito.
    Insertar descripción de la imagen aquí
(3) Decodificador de pantalla de siete segmentos
  • Principio de visualización del tubo digital
    Insertar descripción de la imagen aquí

  • Decodificador de display integrado de siete segmentos. 74HC4511 (cátodo común) (el nivel alto se ilumina)

  • EL ELyomiHabilitación de pestillo

  • LT ‾ línea superior{LT}yoyoentrada de prueba de lámpara cuando LT ‾ = 0 línea superior{LT}=0yoyo=0Cuando , ag genera todo 1 y muestra la fuente "8".

  • BL ‾ línea superior{BL}ByoEntrada de luz apagada, cuando LT ‾ = 1 y BL ‾ = 1 sobre línea {LT} = 1 y sobre línea {BL} = 1yoyo=1,yByo=1 Cuando , todas las salidas son 0. Se puede utilizar para apagar el cero "0" innecesario que se muestra.
    Insertar descripción de la imagen aquí

  • D3D2D1D0 D_3D_2D_1D_0D3D2D1D0=0000, el glifo de salida correspondiente "0"

  • D3D2D1D0 D_3D_2D_1D_0D3D2D1D0=0001, la fuente de salida correspondiente "1"

  • D3D2D1D0 D_3D_2D_1D_0D3D2D1D0=0010, la fuente de salida correspondiente "2"

  • D3D2D1D0 D_3D_2D_1D_0D3D2D1D0=0011, la fuente de salida correspondiente "3"

  • D3D2D1D0 D_3D_2D_1D_0D3D2D1D0=0100, la fuente de salida correspondiente "4"

  • D3D2D1D0 D_3D_2D_1D_0D3D2D1D0=0101, la fuente de salida correspondiente "5"

  • D3D2D1D0 D_3D_2D_1D_0D3D2D1D0=0110, la fuente de salida correspondiente "6"

  • D3D2D1D0 D_3D_2D_1D_0D3D2D1D0=0111, la fuente de salida correspondiente "7"

  • D3D2D1D0 D_3D_2D_1D_0D3D2D1D0=1000, la fuente de salida correspondiente "8"

  • D3D2D1D0 D_3D_2D_1D_0D3D2D1D0=1001, la fuente de salida correspondiente "9"

  • 1010-1111, apagado

3. Distribuidor de datos

  • De uno a muchos, los datos de la línea de datos común se envían a diferentes canales según sea necesario.

  • Similar al "interruptor multipolar unipolar"

  • Utilizando un decodificador de dirección único, implemente el asignador de datos.

  • Por ejemplo, 74x138 integra un decodificador de 3 a 8 líneas.

  • E 1 ‾ como entrada de datos sobre línea{E_1} como entrada de datosmi1como entrada de datos

  • Y0 Y1 Y2 Y3 Y4 Y5 Y6 Y7 Y_0 Y_1 Y_2Y_3Y_4Y_5Y_6Y_7Y0Y1Y2Y3Y4Y5Y6Y78 canales como salida de datos
    Insertar descripción de la imagen aquí

  • Y 2 ‾ = E 3 ⋅ E 2 ‾ ‾ ⋅ E 1 ‾ ‾ ⋅ A 2 ‾ ⋅ A 1 ⋅ A 0 ‾ ‾ línea superior{Y_2} = línea superior{E_3·línea superior{línea superior{E_2}}·línea superior{línea superior{E_1}}·línea superior{A_2}·A_1·línea superior{A_0}}Y2=mi3mi2mi1A2A1A0 //010

  • En la foto de arriba, E 3 = 1, E 2 ‾ = 0 E_3=1, línea superior{E_2}=0mi3=1mi2=0, cuando la línea de dirección Un 2 Un 1 Un 0 = 010 Un_2A_1A_0=010A2A1A0=010hora, Y 2 ‾ = E 1 ‾ línea superior{Y_2}=línea superior{E_1}Y2=mi1

  • De la misma manera podemos concluir:
    Cuando la línea de dirección Un 2 Un 1 Un 0 = 000 Un_2A_1A_0=000A2A1A0=000hora, Y 0 ‾ = E 1 ‾ = D línea superior{Y_0}=línea superior{E_1}=DY0=mi1=D,otro Y x = 1 Y_x=1YX=1
    Cuando la línea de dirección Un 2 Un 1 Un 0 = 001 Un_2Un_1Un_0=001A2A1A0=001hora, Y 1 ‾ = E 1 ‾ = D línea superior{Y_1}=línea superior{E_1}=DY1=mi1=D,otro Y x = 1 Y_x=1YX=1
    Cuando la línea de dirección Un 2 Un 1 Un 0 = 010 Un_2A_1A_0=010A2A1A0=010hora, Y 2 ‾ = E 1 ‾ = D línea superior{Y_2}=línea superior{E_1}=DY2=mi1=D,otro Y x = 1 Y_x=1YX=1
    Cuando la línea de dirección Un 2 Un 1 Un 0 = 011 Un_2A_1A_0=011A2A1A0=011hora, Y 3 ‾ = E 1 ‾ = D línea superior{Y_3}=línea superior{E_1}=DY3=mi1=D,otro Y x = 1 Y_x=1YX=1
    Cuando la línea de dirección Un 2 Un 1 Un 0 = 100 Un_2A_1A_0=100A2A1A0=100hora, Y 4 ‾ = E 1 ‾ = D línea superior{Y_4}=línea superior{E_1}=DY4=mi1=D,otro Y x = 1 Y_x=1YX=1
    Cuando la línea de dirección Un 2 Un 1 Un 0 = 101 Un_2Un_1Un_0=101A2A1A0=101hora, Y 5 ‾ = E 1 ‾ = D línea superior{Y_5}=línea superior{E_1}=DY5=mi1=D,otro Y x = 1 Y_x=1YX=1
    Cuando la línea de dirección Un 2 Un 1 Un 0 = 110 Un_2Un_1Un_0=110A2A1A0=110hora, Y 6 ‾ = E 1 ‾ = D línea superior{Y_6}=línea superior{E_1}=DY6=mi1=D,otro Y x = 1 Y_x=1YX=1
    Cuando la línea de dirección Un 2 Un 1 Un 0 = 111 Un_2Un_1Un_0=111A2A1A0=111hora, Y 7 ‾ = E 1 ‾ = D línea superior{Y_7}=línea superior{E_1}=DY7=mi1=D,otro Y x = 1 Y_x=1YX=1

4.4.3 Selector de datos

1. Definición y función

  • La función es opuesta al "asignador de datos" del punto 4.4.2.3 anterior.
  • Muchos a uno.
  • Por ejemplo, selector de datos 4 a 1.
    Insertar descripción de la imagen aquí
  • E ‾ = 0 sobrelínea{E}=0mi=0, permitido trabajar.
  • cuando S1 = 0, S0 = 0 S_1=0, S_0=0S1=0S0=0hora, Y = yo 0 Y = yo_0Y=I0
  • cuando S1 = 0, S0 = 1 S_1=0, S_0=1S1=0S0=1hora, Y = yo 1 Y = yo_1Y=I1
  • cuando S1 = 1, S0 = 0 S_1=1, S_0=0S1=1S0=0hora, Y = yo 2 Y = yo_2Y=I2
  • cuando S1 = 1, S0 = 1 S_1=1, S_0=1S1=1S0=1hora, Y = yo 3 Y = yo_3Y=I3

2. Selector de datos del circuito integrado

  • 74x151: selector de datos de selección de 1 a 8. Corresponde a CMOS tipo 74HC151 y TTL tipo 74LS151.
  • 74x153: selector de datos dual 4 a 1. Corresponde a CMOS tipo 74HC153 y TTL tipo 74LS153.
  • 74x157: selector de datos de cuatro a dos a uno. Corresponde a CMOS tipo 74HC157 y TTL tipo 74LS157.
  • 74x251: Con salida de tres estados, cuando E ‾ = 1 sobrelínea{E}=1mi=1 , la salida está en un estado de alta impedancia. Admite múltiples salidas de chip"Línea y”。
  • 74x253: Con salida de tres estados, cuando E ‾ = 1 sobrelínea{E}=1mi=1 , la salida está en un estado de alta impedancia. Admite múltiples salidas de chip"Línea y”。
  • 74x257: Con salida de tres estados, cuando E ‾ = 1 sobrelínea{E}=1mi=1 , la salida está en un estado de alta impedancia. Admite múltiples salidas de chip"Línea y”。
(1) 74HC151

Y = S2‾⋅S1‾⋅S0‾⋅D0 + S2‾⋅S1‾⋅S0⋅D1 + S2‾⋅S1⋅S0‾⋅D2 + S2‾⋅S1⋅S0⋅D3 + S2⋅S1‾⋅S0‾⋅D4 + S2⋅S1‾⋅S0⋅D5 + S2⋅S1⋅S0‾⋅D6 + S2⋅S1⋅S0 ⋅ D 7 Y=sobrelínea{S_2}·sobrelínea{S_1}·sobrelínea{S_0}·D_0 +sobrelínea{S_2}·sobrelínea{S_1}·S_0·D_1 +sobrelínea{S_2}·S_1·sobrelínea{S_0}·D_2 +sobrelínea{S_2}·S_1·S_0·D_3 +S_2·sobrelínea{S_1}·sobrelínea{S_0}·D_4 +S_2·sobrelínea{S_1}·S_0·D_5 +S_2·S_1·sobrelínea{S_0}·D_6 +S_2·S_1·S_0·D_7Y=S2S1S0D0+S2S1S0D1+S2S1S0D2+S2S1S0D3+S2S1S0D4+S2S1S0D5+S2S1S0D6+S2S1S0D7
Insertar descripción de la imagen aquí

(2) Aplicación del selector de datos.
  • Extensiones para selectores de datos.

    • Extensión de bits de salida ( Y0 − > Y1 Y0 Y_0->Y_1Y_0Y0>Y1Y0)
    • Ingrese la extensión del dígito ( D7D6D5D4D3D2D1D0 − > D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0 D_7D_6D_5D_4D_3D_2D_1D_0->D_{15}D_{14}D_{13}D_{12}D_{11}D_{10}D_{9}D_{8}D_7D_6D_5D_4D_3D_2D_1D_0D7D6D5D4D3D2D1D0>D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0)。
  • generador de funciones lógicas

    • Selector de datos conocido de 8 a 1.
      Y = S2‾⋅S1‾⋅S0‾⋅D0 + S2‾⋅S1‾⋅S0⋅D1 + S2‾⋅S1⋅S0‾⋅D2 + S2‾⋅S1⋅S0⋅D3 + S2⋅S1‾⋅S0‾⋅D4 + S2⋅S1‾⋅S0⋅D5 + S2⋅S1⋅S0‾⋅D6 + S2⋅S1⋅S0 ⋅ D 7 Y=sobrelínea{S_2}·sobrelínea{S_1}·sobrelínea{S_0}·D_0 +sobrelínea{S_2}·sobrelínea{S_1}·S_0·D_1 +sobrelínea{S_2}·S_1·sobrelínea{S_0}·D_2 +sobrelínea{S_2}·S_1·S_0·D_3 +S_2·sobrelínea{S_1}·sobrelínea{S_0}·D_4 +S_2·sobrelínea{S_1}·S_0·D_5 +S_2·S_1·sobrelínea{S_0}·D_6 +S_2·S_1·S_0·D_7Y=S2S1S0D0+S2S1S0D1+S2S1S0D2+S2S1S0D3+S2S1S0D4+S2S1S0D5+S2S1S0D6+S2S1S0D7

    • Y = m0⋅D0 + m1⋅D1 + m2⋅D2 + m3⋅D3 + m4⋅D4 + m5⋅D5 + m6⋅D6 + m7⋅D7 Y=m_0·D_0 +m_1·D_1 +m_2·D_2 +m_3·D_3 +m_4·D_4 +m_5·D_5 +m_6·D_6 +m_7·D_7Y=metroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetro0D0+metroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetro1D1+metroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetro2D2+metroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetro3D3+metroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetro4D4+metroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetro5D5+metroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetro6D6+metroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetro7D7

    • función lógica L = A ‾ BC + AB ‾ C + ABL=sobrelínea{A}BC+Asobrelínea{B}C+AByo=Aantes de Cristo+ABC+AB
      L = A ‾ BC + AB ‾ C + AB = A ‾ BC + AB ‾ C + ABC ‾ + ABC = m 3 + m 5 + m 6 + m 7 L=sobrelínea{A}BC+Asobrelínea{B}C+AB=sobrelínea{A}BC+Asobrelínea{B}C+ABsobrelínea{C}+ABC=m_3+m_5+m_6+m_7yo=Aantes de Cristo+ABC+AB=Aantes de Cristo+ABC+ABC+Aantes de Cristo=metroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetro3+metroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetro5+metroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetro6+metroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetro7

    • Utilice el selector de datos 8 a 1 para implementar la función L anterior
      L = Y = m 3 + m 5 + m 6 + m 7 , donde D 7 D 6 D 5 D 3 = 1111 , D 4 D 2 D 1 D 0 = 0000 L=Y=m_3+m_5+m_6+m_7, Entre ellos D_7D_6D_5D_3=1111, D_4D_2D_1D_0=0000yo=Y=metroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetro3+metroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetro5+metroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetro6+metroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetroetro7,enD7D6D5D3=1111D4D2D1D0=0000
      Insertar descripción de la imagen aquí

  • Datos paralelos a datos en serie
    Insertar descripción de la imagen aquí

4.4.4 Comparador numérico

1. Definición y función

  • Compara la magnitud de dos números.
(1) comparador numérico de 1 dígito
  • Listar tabla de verdad
AB FA &gt; B FA &gt; BFA>B FA &lt; B FAFA<B FA = = B F_{A==B}FA==B
00001
01010
10100
11001
  • expresión lógica
    • FA &gt; B = A ⋅ B ‾ F_{A&gt;B} = A·overline{B}FA>B=AB
    • FA &lt; B = A ‾ ⋅ B F_{AFA<B=AB
    • FA = = B = A ⋅ B + A ‾ ⋅ B ‾ F_{A==B} = A·B+overline{A}·overline{B}FA==B=AB+AB
  • diagrama de lógica
    Insertar descripción de la imagen aquí
(2) comparador numérico de 2 dígitos
  • Listar tabla de verdad
¿Un 1? B 1 ¿Un _1? B_1A1B1 A0?B0A_0?B_0A0?B0 FA &gt; B FA &gt; BFA>B FA &lt; B FAFA<B FA = = B F_{A==B}FA==B
A1&gt;B1 A_1&gt;B_1A1>B1X100
A1 &lt; B1 A_1A1<B1X010
A1 = = B1 A_1==B_1A1==B1 A0&gt;B0A_0&gt;B_0A0>B0100
A1 = = B1 A_1==B_1A1==B1 A0 &lt; B0 A_0A0<B0010
A1 = = B1 A_1==B_1A1==B1 A0 = = B0 A_0==B_0A0==B0001
  • expresión lógica
    FA &gt; B = FA 1 &gt; B 1 + FA 1 = = B 1 ⋅ FA 0 &gt; B 0 F_{A&gt;B} = F_{A_1&gt;B_1} +F_{A_1==B_1}·F_{A_0&gt;B_0}FA>B=FA1>B1+FA1==B1FA0>B0
    FA &lt; B = FA 1 &lt; B 1 + FA 1 = = B 1 ⋅ FA 0 &lt; B 0 F_{AFA<B=FA1<B1+FA1==B1FA0<B0
    FA = = B = FA 1 = = B 1 ⋅ FA 0 = = B 0 F_{A==B} = F_{A_1==B_1}·F_{A_0==B_0}FA==B=FA1==B1FA0==B0

  • diagrama de lógica
    Insertar descripción de la imagen aquí

2. Comparador numérico integrado

  • Comparador numérico de 74x85, 4 bits. (CMOS tipo 74HC85)
  • 74x682, comparador numérico de 8 bits.
(1) Funciones de 74HC85
  • IA &gt; B, IA = B, IA &lt; B I_{A&gt;B}, I_{A=B}, I_{AIA>BIA=BIA<B Es el terminal de entrada de expansión. Cuando las entradas AB de 4 bits son todas iguales, el tamaño de AB se determina en función del terminal de entrada extendido.
    Insertar descripción de la imagen aquí
  • Las expresiones lógicas se pueden escribir enumerando una tabla de verdad.
(2) Ampliación de dígitos del comparador numérico
  • Conexión en serie, ampliada a comparador numérico de 8 bits
    Insertar descripción de la imagen aquí

  • Conexión paralela, ampliada a comparador numérico de 16 bits.

  • Cuando se conecta en paralelo, la velocidad es rápida.
    Insertar descripción de la imagen aquí

Para conocer las restricciones de tamaño de los artículos, consulte "[Notas de estudio] 4. Circuitos lógicos combinacionales (Parte 2)" más adelante.