171 lines
3.6 KiB
Plaintext
171 lines
3.6 KiB
Plaintext
|part4
|
|
SW[0] => SW[0].IN1
|
|
SW[1] => SW[1].IN1
|
|
SW[2] => SW[2].IN1
|
|
SW[3] => SW[3].IN1
|
|
SW[4] => SW[4].IN1
|
|
SW[5] => SW[5].IN1
|
|
SW[6] => SW[6].IN1
|
|
SW[7] => SW[7].IN1
|
|
SW[8] => SW[8].IN1
|
|
HEX0[0] << BCD_ex:comb_3.port1
|
|
HEX0[1] << BCD_ex:comb_3.port1
|
|
HEX0[2] << BCD_ex:comb_3.port1
|
|
HEX0[3] << BCD_ex:comb_3.port1
|
|
HEX0[4] << BCD_ex:comb_3.port1
|
|
HEX0[5] << BCD_ex:comb_3.port1
|
|
HEX0[6] << BCD_ex:comb_3.port1
|
|
HEX1[0] << BCD_ex:comb_3.port2
|
|
HEX1[1] << BCD_ex:comb_3.port2
|
|
HEX1[2] << BCD_ex:comb_3.port2
|
|
HEX1[3] << BCD_ex:comb_3.port2
|
|
HEX1[4] << BCD_ex:comb_3.port2
|
|
HEX1[5] << BCD_ex:comb_3.port2
|
|
HEX1[6] << BCD_ex:comb_3.port2
|
|
|
|
|
|
|part4|RippleCarryAdder:R0
|
|
SUM[0] <= adder:A0.port0
|
|
SUM[1] <= adder:A1.port0
|
|
SUM[2] <= adder:A2.port0
|
|
SUM[3] <= adder:A3.port0
|
|
COUT <= adder:A3.port1
|
|
IN1[0] => IN1[0].IN1
|
|
IN1[1] => IN1[1].IN1
|
|
IN1[2] => IN1[2].IN1
|
|
IN1[3] => IN1[3].IN1
|
|
IN1[4] => ~NO_FANOUT~
|
|
IN2[0] => IN2[0].IN1
|
|
IN2[1] => IN2[1].IN1
|
|
IN2[2] => IN2[2].IN1
|
|
IN2[3] => IN2[3].IN1
|
|
IN2[4] => ~NO_FANOUT~
|
|
CIN => CIN.IN1
|
|
|
|
|
|
|part4|RippleCarryAdder:R0|adder:A0
|
|
SUM <= x1.DB_MAX_OUTPUT_PORT_TYPE
|
|
COUT <= COUT.DB_MAX_OUTPUT_PORT_TYPE
|
|
A => x0.IN0
|
|
B => x0.IN1
|
|
B => COUT.DATAA
|
|
CIN => x1.IN1
|
|
CIN => COUT.DATAB
|
|
|
|
|
|
|part4|RippleCarryAdder:R0|adder:A1
|
|
SUM <= x1.DB_MAX_OUTPUT_PORT_TYPE
|
|
COUT <= COUT.DB_MAX_OUTPUT_PORT_TYPE
|
|
A => x0.IN0
|
|
B => x0.IN1
|
|
B => COUT.DATAA
|
|
CIN => x1.IN1
|
|
CIN => COUT.DATAB
|
|
|
|
|
|
|part4|RippleCarryAdder:R0|adder:A2
|
|
SUM <= x1.DB_MAX_OUTPUT_PORT_TYPE
|
|
COUT <= COUT.DB_MAX_OUTPUT_PORT_TYPE
|
|
A => x0.IN0
|
|
B => x0.IN1
|
|
B => COUT.DATAA
|
|
CIN => x1.IN1
|
|
CIN => COUT.DATAB
|
|
|
|
|
|
|part4|RippleCarryAdder:R0|adder:A3
|
|
SUM <= x1.DB_MAX_OUTPUT_PORT_TYPE
|
|
COUT <= COUT.DB_MAX_OUTPUT_PORT_TYPE
|
|
A => x0.IN0
|
|
B => x0.IN1
|
|
B => COUT.DATAA
|
|
CIN => x1.IN1
|
|
CIN => COUT.DATAB
|
|
|
|
|
|
|part4|BCD_ex:comb_3
|
|
SW[0] => V[0].IN2
|
|
SW[1] => V[1].IN1
|
|
SW[2] => V[2].IN1
|
|
SW[3] => V[3].IN1
|
|
D0[0] <= bcd:B0.port1
|
|
D0[1] <= bcd:B0.port1
|
|
D0[2] <= bcd:B0.port1
|
|
D0[3] <= bcd:B0.port1
|
|
D0[4] <= bcd:B0.port1
|
|
D0[5] <= bcd:B0.port1
|
|
D0[6] <= bcd:B0.port1
|
|
D1[0] <= z.DB_MAX_OUTPUT_PORT_TYPE
|
|
D1[1] <= <GND>
|
|
D1[2] <= <GND>
|
|
D1[3] <= z.DB_MAX_OUTPUT_PORT_TYPE
|
|
D1[4] <= z.DB_MAX_OUTPUT_PORT_TYPE
|
|
D1[5] <= z.DB_MAX_OUTPUT_PORT_TYPE
|
|
D1[6] <= <VCC>
|
|
|
|
|
|
|part4|BCD_ex:comb_3|mux_2to1:M0
|
|
IN1[0] => OUT.DATAA
|
|
IN1[1] => OUT.DATAA
|
|
IN1[2] => OUT.DATAA
|
|
IN1[3] => OUT.DATAA
|
|
IN2[0] => OUT.DATAB
|
|
IN2[1] => OUT.DATAB
|
|
IN2[2] => OUT.DATAB
|
|
IN2[3] => OUT.DATAB
|
|
S => OUT.OUTPUTSELECT
|
|
S => OUT.OUTPUTSELECT
|
|
S => OUT.OUTPUTSELECT
|
|
S => OUT.OUTPUTSELECT
|
|
OUT[0] <= OUT.DB_MAX_OUTPUT_PORT_TYPE
|
|
OUT[1] <= OUT.DB_MAX_OUTPUT_PORT_TYPE
|
|
OUT[2] <= OUT.DB_MAX_OUTPUT_PORT_TYPE
|
|
OUT[3] <= OUT.DB_MAX_OUTPUT_PORT_TYPE
|
|
|
|
|
|
|part4|BCD_ex:comb_3|bcd:B0
|
|
IN[0] => OUT.DATAB
|
|
IN[0] => OUT.DATAB
|
|
IN[0] => OUT.DATAB
|
|
IN[0] => OUT.DATAB
|
|
IN[0] => OUT.DATAA
|
|
IN[0] => OUT.DATAA
|
|
IN[0] => OUT.DATAA
|
|
IN[0] => OUT.DATAA
|
|
IN[0] => OUT.DATAA
|
|
IN[0] => OUT.DATAB
|
|
IN[0] => OUT.DATAB
|
|
IN[0] => OUT.DATAA
|
|
IN[1] => OUT.OUTPUTSELECT
|
|
IN[1] => OUT.OUTPUTSELECT
|
|
IN[1] => OUT.OUTPUTSELECT
|
|
IN[1] => OUT.OUTPUTSELECT
|
|
IN[1] => OUT.OUTPUTSELECT
|
|
IN[1] => OUT.OUTPUTSELECT
|
|
IN[1] => OUT.OUTPUTSELECT
|
|
IN[1] => OUT.OUTPUTSELECT
|
|
IN[1] => OUT.DATAA
|
|
IN[2] => OUT.OUTPUTSELECT
|
|
IN[2] => OUT.OUTPUTSELECT
|
|
IN[2] => OUT.OUTPUTSELECT
|
|
IN[2] => OUT.OUTPUTSELECT
|
|
IN[2] => OUT.OUTPUTSELECT
|
|
IN[2] => OUT.OUTPUTSELECT
|
|
IN[2] => OUT.OUTPUTSELECT
|
|
IN[3] => OUT.OUTPUTSELECT
|
|
IN[3] => OUT.OUTPUTSELECT
|
|
IN[3] => OUT.OUTPUTSELECT
|
|
IN[3] => OUT.OUTPUTSELECT
|
|
IN[3] => OUT.OUTPUTSELECT
|
|
IN[3] => OUT.OUTPUTSELECT
|
|
IN[3] => OUT.OUTPUTSELECT
|
|
OUT[0] <= OUT.DB_MAX_OUTPUT_PORT_TYPE
|
|
OUT[1] <= OUT.DB_MAX_OUTPUT_PORT_TYPE
|
|
OUT[2] <= OUT.DB_MAX_OUTPUT_PORT_TYPE
|
|
OUT[3] <= OUT.DB_MAX_OUTPUT_PORT_TYPE
|
|
OUT[4] <= OUT.DB_MAX_OUTPUT_PORT_TYPE
|
|
OUT[5] <= OUT.DB_MAX_OUTPUT_PORT_TYPE
|
|
OUT[6] <= OUT.DB_MAX_OUTPUT_PORT_TYPE
|
|
|
|
|