2023-02-20 22:37:32 +00:00
|
|
|
|GateDemo
|
2023-03-01 12:17:08 +00:00
|
|
|
SW[0] => nand2gate:system_core.inPort0
|
|
|
|
SW[1] => nand2gate:system_core.inPort1
|
2023-03-07 21:00:18 +00:00
|
|
|
LEDR[0] << nand2gate:system_core.outPort
|
|
|
|
LEDR[1] << <GND>
|
2023-02-20 22:37:32 +00:00
|
|
|
|
|
|
|
|
2023-03-01 12:17:08 +00:00
|
|
|
|GateDemo|NAND2Gate:system_core
|
|
|
|
inPort0 => and2gate:and_gate.inPort0
|
|
|
|
inPort1 => and2gate:and_gate.inPort1
|
|
|
|
outPort <= notgate:not_gate.outPort
|
|
|
|
|
|
|
|
|
|
|
|
|GateDemo|NAND2Gate:system_core|AND2Gate:and_gate
|
2023-02-20 22:37:32 +00:00
|
|
|
inPort0 => outPort.IN0
|
|
|
|
inPort1 => outPort.IN1
|
|
|
|
outPort <= outPort.DB_MAX_OUTPUT_PORT_TYPE
|
|
|
|
|
|
|
|
|
2023-03-01 12:17:08 +00:00
|
|
|
|GateDemo|NAND2Gate:system_core|NOTGate:not_gate
|
|
|
|
inPort => outPort.DATAIN
|
|
|
|
outPort <= inPort.DB_MAX_OUTPUT_PORT_TYPE
|
|
|
|
|
|
|
|
|