58 lines
954 B
Plaintext
58 lines
954 B
Plaintext
|part3
|
|
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
|
|
LEDR[0] << adder:A0.port0
|
|
LEDR[1] << adder:A1.port0
|
|
LEDR[2] << adder:A2.port0
|
|
LEDR[3] << adder:A3.port0
|
|
LEDR[4] << adder:A3.port1
|
|
|
|
|
|
|part3|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
|
|
|
|
|
|
|part3|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
|
|
|
|
|
|
|part3|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
|
|
|
|
|
|
|part3|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
|
|
|
|
|