180 lines
4.5 KiB
Plaintext
180 lines
4.5 KiB
Plaintext
|part5
|
|
SW[0] => SW[0].IN4
|
|
SW[1] => SW[1].IN4
|
|
SW[2] => SW[2].IN4
|
|
SW[3] => SW[3].IN4
|
|
SW[4] => SW[4].IN4
|
|
SW[5] => SW[5].IN4
|
|
SW[6] => SW[6].IN4
|
|
SW[7] => SW[7].IN4
|
|
SW[8] => SW[8].IN4
|
|
SW[9] => SW[9].IN4
|
|
LEDR[0] <= SW[0].DB_MAX_OUTPUT_PORT_TYPE
|
|
LEDR[1] <= SW[1].DB_MAX_OUTPUT_PORT_TYPE
|
|
LEDR[2] <= SW[2].DB_MAX_OUTPUT_PORT_TYPE
|
|
LEDR[3] <= SW[3].DB_MAX_OUTPUT_PORT_TYPE
|
|
LEDR[4] <= SW[4].DB_MAX_OUTPUT_PORT_TYPE
|
|
LEDR[5] <= SW[5].DB_MAX_OUTPUT_PORT_TYPE
|
|
LEDR[6] <= SW[6].DB_MAX_OUTPUT_PORT_TYPE
|
|
LEDR[7] <= SW[7].DB_MAX_OUTPUT_PORT_TYPE
|
|
LEDR[8] <= SW[8].DB_MAX_OUTPUT_PORT_TYPE
|
|
LEDR[9] <= SW[9].DB_MAX_OUTPUT_PORT_TYPE
|
|
HEX0[0] <= sevenSegment:S0.port1
|
|
HEX0[1] <= sevenSegment:S0.port1
|
|
HEX0[2] <= sevenSegment:S0.port1
|
|
HEX0[3] <= sevenSegment:S0.port1
|
|
HEX0[4] <= sevenSegment:S0.port1
|
|
HEX0[5] <= sevenSegment:S0.port1
|
|
HEX0[6] <= sevenSegment:S0.port1
|
|
HEX1[0] <= sevenSegment:S1.port1
|
|
HEX1[1] <= sevenSegment:S1.port1
|
|
HEX1[2] <= sevenSegment:S1.port1
|
|
HEX1[3] <= sevenSegment:S1.port1
|
|
HEX1[4] <= sevenSegment:S1.port1
|
|
HEX1[5] <= sevenSegment:S1.port1
|
|
HEX1[6] <= sevenSegment:S1.port1
|
|
HEX2[0] <= sevenSegment:S2.port1
|
|
HEX2[1] <= sevenSegment:S2.port1
|
|
HEX2[2] <= sevenSegment:S2.port1
|
|
HEX2[3] <= sevenSegment:S2.port1
|
|
HEX2[4] <= sevenSegment:S2.port1
|
|
HEX2[5] <= sevenSegment:S2.port1
|
|
HEX2[6] <= sevenSegment:S2.port1
|
|
HEX3[0] <= sevenSegment:S3.port1
|
|
HEX3[1] <= sevenSegment:S3.port1
|
|
HEX3[2] <= sevenSegment:S3.port1
|
|
HEX3[3] <= sevenSegment:S3.port1
|
|
HEX3[4] <= sevenSegment:S3.port1
|
|
HEX3[5] <= sevenSegment:S3.port1
|
|
HEX3[6] <= sevenSegment:S3.port1
|
|
|
|
|
|
|part5|Mux_4to1:comb_3
|
|
IN1[0] => Mux1.IN0
|
|
IN1[1] => Mux0.IN0
|
|
IN2[0] => Mux1.IN1
|
|
IN2[1] => Mux0.IN1
|
|
IN3[0] => Mux1.IN2
|
|
IN3[1] => Mux0.IN2
|
|
IN4[0] => Mux1.IN3
|
|
IN4[1] => Mux0.IN3
|
|
SEL[0] => Mux0.IN5
|
|
SEL[0] => Mux1.IN5
|
|
SEL[1] => Mux0.IN4
|
|
SEL[1] => Mux1.IN4
|
|
M[0] <= Mux1.DB_MAX_OUTPUT_PORT_TYPE
|
|
M[1] <= Mux0.DB_MAX_OUTPUT_PORT_TYPE
|
|
|
|
|
|
|part5|Mux_4to1:comb_4
|
|
IN1[0] => Mux1.IN0
|
|
IN1[1] => Mux0.IN0
|
|
IN2[0] => Mux1.IN1
|
|
IN2[1] => Mux0.IN1
|
|
IN3[0] => Mux1.IN2
|
|
IN3[1] => Mux0.IN2
|
|
IN4[0] => Mux1.IN3
|
|
IN4[1] => Mux0.IN3
|
|
SEL[0] => Mux0.IN5
|
|
SEL[0] => Mux1.IN5
|
|
SEL[1] => Mux0.IN4
|
|
SEL[1] => Mux1.IN4
|
|
M[0] <= Mux1.DB_MAX_OUTPUT_PORT_TYPE
|
|
M[1] <= Mux0.DB_MAX_OUTPUT_PORT_TYPE
|
|
|
|
|
|
|part5|Mux_4to1:comb_5
|
|
IN1[0] => Mux1.IN0
|
|
IN1[1] => Mux0.IN0
|
|
IN2[0] => Mux1.IN1
|
|
IN2[1] => Mux0.IN1
|
|
IN3[0] => Mux1.IN2
|
|
IN3[1] => Mux0.IN2
|
|
IN4[0] => Mux1.IN3
|
|
IN4[1] => Mux0.IN3
|
|
SEL[0] => Mux0.IN5
|
|
SEL[0] => Mux1.IN5
|
|
SEL[1] => Mux0.IN4
|
|
SEL[1] => Mux1.IN4
|
|
M[0] <= Mux1.DB_MAX_OUTPUT_PORT_TYPE
|
|
M[1] <= Mux0.DB_MAX_OUTPUT_PORT_TYPE
|
|
|
|
|
|
|part5|Mux_4to1:comb_6
|
|
IN1[0] => Mux1.IN0
|
|
IN1[1] => Mux0.IN0
|
|
IN2[0] => Mux1.IN1
|
|
IN2[1] => Mux0.IN1
|
|
IN3[0] => Mux1.IN2
|
|
IN3[1] => Mux0.IN2
|
|
IN4[0] => Mux1.IN3
|
|
IN4[1] => Mux0.IN3
|
|
SEL[0] => Mux0.IN5
|
|
SEL[0] => Mux1.IN5
|
|
SEL[1] => Mux0.IN4
|
|
SEL[1] => Mux1.IN4
|
|
M[0] <= Mux1.DB_MAX_OUTPUT_PORT_TYPE
|
|
M[1] <= Mux0.DB_MAX_OUTPUT_PORT_TYPE
|
|
|
|
|
|
|part5|sevenSegment:S0
|
|
IN[0] => Decoder0.IN1
|
|
IN[0] => OUT[5].DATAIN
|
|
IN[0] => OUT[0].DATAIN
|
|
IN[1] => Decoder0.IN0
|
|
IN[1] => OUT[6].DATAIN
|
|
OUT[0] <= IN[0].DB_MAX_OUTPUT_PORT_TYPE
|
|
OUT[1] <= Decoder0.DB_MAX_OUTPUT_PORT_TYPE
|
|
OUT[2] <= Decoder0.DB_MAX_OUTPUT_PORT_TYPE
|
|
OUT[3] <= Decoder0.DB_MAX_OUTPUT_PORT_TYPE
|
|
OUT[4] <= Decoder0.DB_MAX_OUTPUT_PORT_TYPE
|
|
OUT[5] <= IN[0].DB_MAX_OUTPUT_PORT_TYPE
|
|
OUT[6] <= IN[1].DB_MAX_OUTPUT_PORT_TYPE
|
|
|
|
|
|
|part5|sevenSegment:S1
|
|
IN[0] => Decoder0.IN1
|
|
IN[0] => OUT[5].DATAIN
|
|
IN[0] => OUT[0].DATAIN
|
|
IN[1] => Decoder0.IN0
|
|
IN[1] => OUT[6].DATAIN
|
|
OUT[0] <= IN[0].DB_MAX_OUTPUT_PORT_TYPE
|
|
OUT[1] <= Decoder0.DB_MAX_OUTPUT_PORT_TYPE
|
|
OUT[2] <= Decoder0.DB_MAX_OUTPUT_PORT_TYPE
|
|
OUT[3] <= Decoder0.DB_MAX_OUTPUT_PORT_TYPE
|
|
OUT[4] <= Decoder0.DB_MAX_OUTPUT_PORT_TYPE
|
|
OUT[5] <= IN[0].DB_MAX_OUTPUT_PORT_TYPE
|
|
OUT[6] <= IN[1].DB_MAX_OUTPUT_PORT_TYPE
|
|
|
|
|
|
|part5|sevenSegment:S2
|
|
IN[0] => Decoder0.IN1
|
|
IN[0] => OUT[5].DATAIN
|
|
IN[0] => OUT[0].DATAIN
|
|
IN[1] => Decoder0.IN0
|
|
IN[1] => OUT[6].DATAIN
|
|
OUT[0] <= IN[0].DB_MAX_OUTPUT_PORT_TYPE
|
|
OUT[1] <= Decoder0.DB_MAX_OUTPUT_PORT_TYPE
|
|
OUT[2] <= Decoder0.DB_MAX_OUTPUT_PORT_TYPE
|
|
OUT[3] <= Decoder0.DB_MAX_OUTPUT_PORT_TYPE
|
|
OUT[4] <= Decoder0.DB_MAX_OUTPUT_PORT_TYPE
|
|
OUT[5] <= IN[0].DB_MAX_OUTPUT_PORT_TYPE
|
|
OUT[6] <= IN[1].DB_MAX_OUTPUT_PORT_TYPE
|
|
|
|
|
|
|part5|sevenSegment:S3
|
|
IN[0] => Decoder0.IN1
|
|
IN[0] => OUT[5].DATAIN
|
|
IN[0] => OUT[0].DATAIN
|
|
IN[1] => Decoder0.IN0
|
|
IN[1] => OUT[6].DATAIN
|
|
OUT[0] <= IN[0].DB_MAX_OUTPUT_PORT_TYPE
|
|
OUT[1] <= Decoder0.DB_MAX_OUTPUT_PORT_TYPE
|
|
OUT[2] <= Decoder0.DB_MAX_OUTPUT_PORT_TYPE
|
|
OUT[3] <= Decoder0.DB_MAX_OUTPUT_PORT_TYPE
|
|
OUT[4] <= Decoder0.DB_MAX_OUTPUT_PORT_TYPE
|
|
OUT[5] <= IN[0].DB_MAX_OUTPUT_PORT_TYPE
|
|
OUT[6] <= IN[1].DB_MAX_OUTPUT_PORT_TYPE
|
|
|
|
|