Preinforme 2
Preinforme 2
Preinforme 2
a)
OPERADORES NAND:
A B C D
12
11
3
b)
U135:A U135:B U135:D
7402 7402 7402
U136:A
1
13
1
2 12
13 U137:B U137:C
5 8
7427 4 10
U136:B 6 9
3
4 6 7402 7402
5 U138:B
5 F2
7427 4
U135:C 6
OPERADORES NOR: 8
10 7402
9 U137:D U138:A
11 2
7402 13 1
U137:A 12 3
2
1 7402 7402
3
7402
c)
OPERADORES NAND:
A B C D E
U53
NAND_3
U54
NAND_2
U55 U60 U61
NAND_3
U57 U62
F3
NAND_3 NAND_3
U58
NAND_4
U59
NAND_3
QUARTUS II:
LIBRARY IEEE;
USE IEEE.STD_LOGIC_1164.ALL;
ENTITY PUNTO_A_ECGC IS
PORT(
A,B,C,D,E : IN STD_LOGIC;
END PUNTO_A_ECGC;
ARCHITECTURE D7 OF PUNTO_A_ECGC IS
BEGIN
ABCD<=A&B&C&D;
ABCDE<=A&B&C&D&E;
F3<=(A AND (NOT B) AND E) OR (B AND C AND (NOT D)) OR ((NOT A) AND B AND C) OR ((NOT A) AND B AND E) OR (A AND D AND (NOT E))
OR (A AND (NOT C) AND (NOT D)) OR ((NOT A) AND (NOT B) AND C AND NOT(D)) OR (B AND C AND D AND E) OR (A AND (NOT C)
AND (NOT D) AND E);
END D7;
XILINX:
TEST-BENCH (VECTOR DE PRUEBA)
LIBRARY ieee;
USE ieee.std_logic_1164.ALL;
ENTITY TB IS
END TB;
ARCHITECTURE behavior OF TB IS
COMPONENT PUNTO_A_ECGC
PORT(
A : IN std_logic;
B : IN std_logic;
C : IN std_logic;
D : IN std_logic;
E : IN std_logic;
F1 : OUT std_logic;
F2 : OUT std_logic;
F3 : OUT std_logic
);
END COMPONENT;
signal F1 : std_logic;
signal F2 : std_logic;
signal F3 : std_logic;
BEGIN
A => A,
B => B,
C => C,
D => D,
E => E,
F1 => F1,
F2 => F2,
F3 => F3
);
PROCESO1: process
begin
end process;
PROCESO2: process
begin
end process;
PROCESO3: process
begin
end process;
PROCESO4: process
begin
end process;
PROCESO5: process
begin
end process;
END;
WINCUPL:
Name PUNTO_A_ECGC ;
PartNo 00 ;
Date 14/9/2017 ;
Revision 01 ;
Designer Engineer ;
Company CRISREX ;
Assembly None ;
Location ;
Device g22v10 ;
/* *************** INPUT PINS *********************/
PIN 2 = A ; /* */
PIN 3 = B ; /* */
PIN 4 = C ; /* */
PIN 5 = D ; /* */
PIN 6 = E ; /* */
B) OREX/NOREX
a) A B C D
13
11
5
9
U7:C U7:D U7:E U7:F
7404 7404 7404 7404
12
10
8
U65:A
1
3
U63 2
7408 U69:A
U65:B 1
4 3
XOR_2 6 2
5
7432
U64:A 7408 U69:C
U139 9 F1
8
10
U66
XOR_2 U69:B 7432
XOR_2 4
6
5
AND_3
7432
U140
XOR_2
U68
AND_3
A B C D
b)
13
5
U67:C U67:D
7404 7404
U70
6
12
U65:C
9
8
10 U69:D
XOR_2 12
U71 7408 11
U65:D 13
12
11 7432
13
XOR_2
7408 U75:A
U73 1
3
2
7432
AND_3
U75:C
U141 9 F2
XOR_2 8
10
7432
U72
U75:B
4
AND_3 6
U74 5
7432
AND_3
QUARTUS II:
LIBRARY IEEE;
USE IEEE.STD_LOGIC_1164.ALL;
ENTITY PUNTO_B_ECGC IS
PORT(
A,B,C,D : IN STD_LOGIC;
END PUNTO_B_ECGC;
ARCHITECTURE D7 OF PUNTO_B_ECGC IS
BEGIN
ABCD<=A&B&C&D;
END D7;
XILINX:
TEST-BENCH (VECTOR DE PRUEBA)
LIBRARY ieee;
USE ieee.std_logic_1164.ALL;
ENTITY TB IS
END TB;
ARCHITECTURE behavior OF TB IS
COMPONENT PUNTO_B_ECGC
PORT(
A : IN std_logic;
B : IN std_logic;
C : IN std_logic;
D : IN std_logic;
F1 : OUT std_logic;
F2 : OUT std_logic
);
END COMPONENT;
signal F1 : std_logic;
signal F2 : std_logic;
BEGIN
A => A,
B => B,
C => C,
D => D,
F1 => F1,
F2 => F2
);
PROCESO1: process
begin
end process;
PROCESO2: process
begin
end process;
PROCESO3: process
begin
end process;
PROCESO4: process
begin
end process;
END;
WINCUPL:
Name PUNTO_B_ECGC ;
PartNo 00 ;
Date 14/9/2017 ;
Revision 01 ;
Designer Engineer ;
Company CRISREX ;
Assembly None ;
Location ;
Device g22v10 ;
C) QUINE McCLUSKEY
a) A B C D
F1:
13
1
12
U2
OR_3
U3
U6
F1
OR_3
U4
AND_4
OR_3
U5
OR_3
F2: A B C D E
13
9
5
U67:F U76:A U76:B U76:C U76:D
7404 7404 7404 7404 7404
U77
12
AND_3
U78 U84
AND_3 OR_3
U79
AND_4
U80
U86
F2
AND_4
U81 U85
OR_3
AND_4 OR_3
U82
AND_4
U83
AND_4
QUARTUS II:
LIBRARY IEEE;
USE IEEE.STD_LOGIC_1164.ALL;
ENTITY PUNTO_C_ECGC IS
PORT(
A,B,C,D,E : IN STD_LOGIC;
END PUNTO_C_ECGC;
ARCHITECTURE D7 OF PUNTO_C_ECGC IS
BEGIN
ABCD<=A&B&C&D;
ABCDE<=A&B&C&D&E;
END D7;
XILINX:
TEST-BENCH (VECTOR DE PRUEBA)
LIBRARY ieee;
USE ieee.std_logic_1164.ALL;
ENTITY TB IS
END TB;
ARCHITECTURE behavior OF TB IS
COMPONENT PUNTO_C_ECGC
PORT(
A : IN std_logic;
B : IN std_logic;
C : IN std_logic;
D : IN std_logic;
E : IN std_logic;
F1 : OUT std_logic;
F2 : OUT std_logic
);
END COMPONENT;
signal F2 : std_logic;
BEGIN
A => A,
B => B,
C => C,
D => D,
E => E,
F1 => F1,
F2 => F2
);
PROCESO1: process
begin
end process;
PROCESO2: process
begin
end process;
PROCESO3: process
begin
end process;
PROCESO4: process
begin
end process;
PROCESO5: process
begin
end process;
END;
WINCUPL:
Name PUNTO_C_ECGC ;
PartNo 00 ;
Date 16/9/2017 ;
Revision 01 ;
Designer Engineer ;
Company CRISREX ;
Assembly None ;
Location ;
Device g22v10 ;
/* *************** INPUT PINS *********************/
PIN 2 = A ; /* */
PIN 3 = B ; /* */
PIN 4 = C ; /* */
PIN 5 = D ; /* */
PIN 6 = E ; /* */
/* *************** OUTPUT PINS *********************/
PIN 17 = F_1 ; /* */
PIN 18 = F_2 ; /* */
b)
11
3
MULTIFUNCIONES:
U1:E U1:F U7:A U7:B
7404 7404 7404 7404
U8
10
U10:A
1
AND_3 3
U9 2
7432
AND_4
U11:A
1
3
2
7408 U12
U11:B F1
4
6
5
OR_4
7408
U11:C
9
8
10
7408
U13
AND_3
U14
U17
F2
AND_3
U15
OR_5
AND_3
U16
AND_3
U11:D
12
11
13
U20
7408 F3
U18
OR_4
AND_3
U19
AND_3
QUARTUS II:
LIBRARY IEEE;
USE IEEE.STD_LOGIC_1164.ALL;
ENTITY PUNTO_C_ECGC IS
PORT(
A,B,C,D : IN STD_LOGIC;
END PUNTO_C_ECGC;
ARCHITECTURE D7 OF PUNTO_C_ECGC IS
BEGIN
ABCD<=A&B&C&D;
END D7;
XILINX:
TEST-BENCH (VECTOR DE PRUEBA)
LIBRARY ieee;
USE ieee.std_logic_1164.ALL;
ENTITY TB IS
END TB;
ARCHITECTURE behavior OF TB IS
COMPONENT PUNTO_C_ECGC
PORT(
A : IN std_logic;
B : IN std_logic;
C : IN std_logic;
D : IN std_logic;
F1 : OUT std_logic;
F2 : OUT std_logic;
F3 : OUT std_logic
);
END COMPONENT;
signal F1 : std_logic;
signal F2 : std_logic;
signal F3 : std_logic;
BEGIN
A => A,
B => B,
C => C,
D => D,
F1 => F1,
F2 => F2,
F3 => F3
);
PROCESO1: process
begin
end process;
PROCESO2: process
begin
end process;
PROCESO3: process
begin
end process;
PROCESO4: process
begin
end process;
END;
WINCUPL:
Name PUNTO_C_ECGC ;
PartNo 00 ;
Date 16/9/2017 ;
Revision 01 ;
Designer Engineer ;
Company CRISREX ;
Assembly None ;
Location ;
Device g22v10 ;
/* *************** INPUT PINS *********************/
PIN 2=A ; /* */
PIN 3=B ; /* */
PIN 4=C ; /* */
PIN 5=D ; /* */
/* *************** OUTPUT PINS *********************/
PIN 17=F_1 ; /* */
PIN 18=F_2 ; /* */
PIN 19=F_3 ; /* */
D) VARIABLES BIFORMES
a)
A B C D E
11
AND_3
U89 U95
AND_3 OR_3
U90
AND_3
U91
U97
F_A
AND_3
U92 U96 OR_3
AND_3 OR_3
U93
AND_4
U94
AND_4
b) A B C D E
13
11
10
AND_3
U100 U107
AND_3 OR_3
U101
AND_4
U102
U109
F_B
AND_4
U103 U108
OR_3
AND_4 OR_3
U105
U106
AND_3
AND_3
QUARTUS II:
LIBRARY IEEE;
USE IEEE.STD_LOGIC_1164.ALL;
ENTITY PUNTO_D_ECGC IS
PORT(
A,B,C,D,E : IN STD_LOGIC;
END PUNTO_D_ECGC;
ARCHITECTURE D7 OF PUNTO_D_ECGC IS
BEGIN
ABCDE<=A&B&C&D&E;
F2<=(A AND (NOT B) AND (NOT D) AND E) OR (B AND NOT(C) AND D AND (NOT E)) OR ((NOT A) AND (NOT B) AND C AND D) OR (A AND B
AND (NOT C) AND E)
OR ((NOT A) AND (NOT B) AND (NOT C) AND (NOT D) AND (NOT E)) OR (A AND (NOT B) AND (NOT C) AND D AND E) OR (A AND B
AND C AND (NOT D) AND E);
END D7;
XILINX:
TEST-BENCH (VECTOR DE PRUEBA)
LIBRARY ieee;
USE ieee.std_logic_1164.ALL;
ENTITY TB IS
END TB;
ARCHITECTURE behavior OF TB IS
COMPONENT PUNTO_D_ECGC
PORT(
A : IN std_logic;
B : IN std_logic;
C : IN std_logic;
D : IN std_logic;
E : IN std_logic;
F1 : OUT std_logic;
F2 : OUT std_logic
);
END COMPONENT;
signal F1 : std_logic;
signal F2 : std_logic;
BEGIN
A => A,
B => B,
C => C,
D => D,
E => E,
F1 => F1,
F2 => F2
);
PROCESO1: process
begin
end process;
PROCESO2: process
begin
end process;
PROCESO3: process
begin
end process;
PROCESO4: process
begin
end process;
PROCESO5: process
begin
end process;
END;
WINCUPL:
Name PUNTO_D_ECGC ;
PartNo 00 ;
Date 16/9/2017 ;
Revision 01 ;
Designer Engineer ;
Company CRISREX ;
Assembly None ;
Location ;
Device g22v10 ;
/* *************** INPUT PINS *********************/
PIN 2=A ; /* */
PIN 3=B ; /* */
PIN 4=C ; /* */
PIN 5=D ; /* */
PIN 6=E ; /* */
/* *************** OUTPUT PINS *********************/
PIN 17=F_1 ; /* */
PIN 18=F_2 ; /* */
F_2=(A&!B&!D&E)#(B&!C&D&!E)#(!A&!B&C&D)#(A&B&!C&E)#(!A&!B&!C&!D&!E)#(A&!B&!C&D&E)#(A&B&C&!D&E);
A B C D
E) APLICACION MAPAS DE
13
11
5
12
10
AND_3
U110 U115
AND_3 OR_3
U111
U117
F1
AND_3
U112
OR_3
AND_3
U113 U116
AND_3 OR_3
U114
AND_3
U118
U10:B
4
AND_3 6
U119 5
7432
U10:D
12 F2
AND_3 11
U120 13
7432
U10:C
9
AND_3 8
U121 10
7432
AND_3
QUARTUS II:
LIBRARY IEEE;
USE IEEE.STD_LOGIC_1164.ALL;
ENTITY PUNTO_E_ECGC IS
PORT(
A,B,C,D : IN STD_LOGIC;
END PUNTO_E_ECGC;
ARCHITECTURE D7 OF PUNTO_E_ECGC IS
BEGIN
ABCD<=A&B&C&D;
END D7;
XILINX:
TEST-BENCH (VECTOR DE PRUEBA)
LIBRARY ieee;
USE ieee.std_logic_1164.ALL;
ENTITY TB IS
END TB;
ARCHITECTURE behavior OF TB IS
COMPONENT PUNTO_E_ECGC
PORT(
A : IN std_logic;
B : IN std_logic;
C : IN std_logic;
D : IN std_logic;
F1 : OUT std_logic;
F2 : OUT std_logic
);
END COMPONENT;
signal F1 : std_logic;
signal F2 : std_logic;
BEGIN
A => A,
B => B,
C => C,
D => D,
F1 => F1,
F2 => F2
);
PROCESO1: process
begin
end process;
PROCESO2: process
begin
end process;
PROCESO3: process
begin
end process;
PROCESO4: process
begin
END;
WINCUPL:
Name PUNTO_E_ECGC ;
PartNo 00 ;
Date 16/9/2017 ;
Revision 01 ;
Designer Engineer ;
Company CRISREX ;
Assembly None ;
Location ;
Device g22v10 ;
/* *************** INPUT PINS *********************/
PIN 2=A ; /* */
PIN 3=B ; /* */
PIN 4=C ; /* */
PIN 5=D ; /* */
/* *************** OUTPUT PINS *********************/
PIN 17=F_1 ; /* */
PIN 18=F_2 ; /* */
F) APLICACION OREX/NOREX
A B C D
13
3
U125:B U125:D
7404 7404
O
U122
4
12
U129
U124 F1
XOR_2
U123
XOR_2
XOR_2
U125:A
1
XOR_2 7404
U126:A
2
1
3
2
U125:C 7408
U126:B U128:A
5 6 4 1 F2
O 7404
6 3
5 U126:C 2
9
7408 8 7432
10
U128:B
U126:D 7408 4
12 6
O
11 5
13 U127:A
1 7432
7408 3
2
7408
QUARTUS II:
LIBRARY IEEE;
USE IEEE.STD_LOGIC_1164.ALL;
ENTITY PUNTO_F_ECGC IS
PORT(
A,B,C,D : IN STD_LOGIC;
END PUNTO_F_ECGC;
ARCHITECTURE D7 OF PUNTO_F_ECGC IS
BEGIN
ABCD<=A&B&C&D;
END D7;
XILINX:
TEST-BENCH (VECTOR DE PRUEBA)
LIBRARY ieee;
USE ieee.std_logic_1164.ALL;
ENTITY TB IS
END TB;
ARCHITECTURE behavior OF TB IS
COMPONENT PUNTO_F_ECGC
PORT(
A : IN std_logic;
B : IN std_logic;
C : IN std_logic;
D : IN std_logic;
F1 : OUT std_logic;
F2 : OUT std_logic
);
END COMPONENT;
signal F2 : std_logic;
BEGIN
A => A,
B => B,
C => C,
D => D,
F1 => F1,
F2 => F2
);
PROCESO1: process
begin
end process;
PROCESO2: process
begin
end process;
PROCESO3: process
begin
end process;
PROCESO4: process
begin
end process;
END;
WINCUPL:
Name PUNTO_F_ECGC ;
PartNo 00 ;
Date 16/9/2017 ;
Revision 01 ;
Designer Engineer ;
Company CRISREX ;
Assembly None ;
Location ;
Device g22v10 ;
/* *************** INPUT PINS *********************/
PIN 2=A ; /* */
PIN 3=B ; /* */
PIN 4=C ; /* */
PIN 5=D ; /* */
/* *************** OUTPUT PINS *********************/
PIN 17=F_1 ; /* */
PIN 18=F_2 ; /* */
12
13
2
11
1 U143:A
2
6
4
5
7420
9 U143:B
10
8
12 1 U145:A
13 2 F1
7420 6
1 U144:A 4
2 5
6 7420
4
5
7420
9 U144:B
10
8
12
13
7420
U146:A
1
2 12
13
7410
U146:B U148:B
3 3 F2
4 6 4 6
5 5
7410 7410
U147:A
1
3
2
7400
U147:B
4
6
5
7400
U146:C U148:C
9 9 F3
10 8 10 8
11 11
7410 7410
U148:A
1
2 12
13
7410
QUARTUS II:
LIBRARY IEEE;
USE IEEE.STD_LOGIC_1164.ALL;
ENTITY PUNTO_G_ECGC IS
PORT(
A,B,C,D : IN STD_LOGIC;
END PUNTO_G_ECGC;
ARCHITECTURE D7 OF PUNTO_G_ECGC IS
BEGIN
ABCD<=A&B&C&D;
END D7;
XILINX:
TEST-BENCH (VECTOR DE PRUEBA)
LIBRARY ieee;
USE ieee.std_logic_1164.ALL;
ENTITY TB IS
END TB;
ARCHITECTURE behavior OF TB IS
COMPONENT PUNTO_G_ECGC
PORT(
A : IN std_logic;
B : IN std_logic;
C : IN std_logic;
D : IN std_logic;
F1 : OUT std_logic;
F2 : OUT std_logic;
F3 : OUT std_logic
);
END COMPONENT;
signal F1 : std_logic;
signal F2 : std_logic;
signal F3 : std_logic;
BEGIN
A => A,
B => B,
C => C,
D => D,
F1 => F1,
F2 => F2,
F3 => F3
);
PROCESO1: process
begin
end process;
PROCESO2: process
begin
end process;
PROCESO3: process
begin
end process;
PROCESO4: process
begin
END;
WINCUPL:
Name PUNTO_G_ECGC ;
PartNo 00 ;
Date 16/9/2017 ;
Revision 01 ;
Designer Engineer ;
Company CRISREX ;
Assembly None ;
Location ;
Device g22v10 ;
/* *************** INPUT PINS *********************/
PIN 2=A ; /* */
PIN 3=B ; /* */
PIN 4=C ; /* */
PIN 5=D ; /* */
/* *************** OUTPUT PINS *********************/
PIN 16=F_1 ; /* */
PIN 17=F_2 ; /* */
PIN 18=F_3 ; /* */
11
9
13
U150
F1
NOR_4
U151
U149:D U153:A
11 2 F2
NOR_3 13 1
U152 12 3
7402 7402
NOR_3
U154
NOR_3
U155
U157 U153:B
5 F3
NOR_3 4
U156 6
NOR_4 7402
NOR_3
U158
NOR_4
U153:C
8 F4
10
9
7402
QUARTUS II:
LIBRARY IEEE;
USE IEEE.STD_LOGIC_1164.ALL;
ENTITY PUNTO_H_ECGC IS
PORT(
A,B,C,D : IN STD_LOGIC;
END PUNTO_H_ECGC;
ARCHITECTURE D7 OF PUNTO_H_ECGC IS
BEGIN
ABCD<=A&B&C&D;
END D7;
XILINX:
TEST-BENCH (VECTOR DE PRUEBA)
LIBRARY ieee;
USE ieee.std_logic_1164.ALL;
ENTITY TB IS
END TB;
ARCHITECTURE behavior OF TB IS
COMPONENT PUNTO_H_ECGC
PORT(
A : IN std_logic;
B : IN std_logic;
C : IN std_logic;
D : IN std_logic;
F1 : OUT std_logic;
F2 : OUT std_logic;
F3 : OUT std_logic;
F4 : OUT std_logic
);
END COMPONENT;
signal F1 : std_logic;
signal F2 : std_logic;
signal F3 : std_logic;
signal F4 : std_logic;
BEGIN
A => A,
B => B,
C => C,
D => D,
F1 => F1,
F2 => F2,
F3 => F3,
F4 => F4
);
PROCESO1: process
begin
end process;
PROCESO2: process
begin
end process;
PROCESO3: process
begin
end process;
PROCESO4: process
begin
end process;
END;
WINCUPL:
Name PUNTO_H_ECGC ;
PartNo 00 ;
Date 16/9/2017 ;
Revision 01 ;
Designer Engineer ;
Company CRISREX ;
Assembly None ;
Location ;
Device g22v10 ;
/* *************** INPUT PINS *********************/
PIN 2=A ; /* */
PIN 3=B ; /* */
PIN 4=C ; /* */
PIN 5=D ; /* */
/* *************** OUTPUT PINS *********************/
PIN 16=F_1 ; /* */
PIN 17=F_2 ; /* */
PIN 18=F_3 ; /* */
PIN 19=F_4 ; /* */
U67:A
7404
F
2
QUARTUS II:
LIBRARY IEEE;
USE IEEE.STD_LOGIC_1164.ALL;
ENTITY PUNTO_I_ECGC IS
PORT(
A,B,C,D : IN STD_LOGIC;
F : OUT STD_LOGIC);
END PUNTO_I_ECGC;
ARCHITECTURE D7 OF PUNTO_I_ECGC IS
BEGIN
ABCD<=A&B&C&D;
END D7;
XILINX:
TEST-BENCH (VECTOR DE PRUEBA)
LIBRARY ieee;
USE ieee.std_logic_1164.ALL;
ENTITY TB IS
END TB;
ARCHITECTURE behavior OF TB IS
COMPONENT PUNTO_I_ECGC
PORT(
A : IN std_logic;
B : IN std_logic;
C : IN std_logic;
D : IN std_logic;
F : OUT std_logic
);
END COMPONENT;
signal F : std_logic;
BEGIN
A => A,
B => B,
C => C,
D => D,
F => F
);
PROCESO1: process
begin
end process;
PROCESO2: process
begin
end process;
PROCESO3: process
begin
end process;
PROCESO4: process
begin
end process;
END;
WINCUPL:
Name PUNTO_I_ECGC ;
PartNo 00 ;
Date 16/9/2017 ;
Revision 01 ;
Designer Engineer ;
Company CRISREX ;
Assembly None ;
Location ;
Device g22v10 ;
/* *************** INPUT PINS *********************/
PIN 2=A ; /* */
PIN 3=B ; /* */
PIN 4=C ; /* */
PIN 5=D ; /* */
/* *************** OUTPUT PINS *********************/
PIN 17=F ; /* */