view duart28c/src/vsrc/target_if.v @ 84:dbd57e8dd82a default tip

sim-fpc-pasv/pcb: add Makefile for Gerber output
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 02 Nov 2022 07:22:44 +0000
parents d80978bd645e
children
line wrap: on
line source

/* This module captures our target interfaces. */

module target_if (GND, UART0_TxD, UART0_RxD, UART0_RTS, UART0_CTS,
		  UART0_DTR, UART0_DSR, UART0_DCD, UART0_RI,
		  UART1_TxD, UART1_RxD);

input GND;

input UART0_TxD, UART0_RTS, UART0_DTR;
output UART0_RxD, UART0_CTS, UART0_DSR, UART0_DCD, UART0_RI;

input UART1_TxD;
output UART1_RxD;

/* main DUART signal set header */

header_10pin main_if (  .pin_1(GND),
			.pin_2(GND),
			.pin_3(UART1_RxD),
			.pin_4(UART0_RxD),
			.pin_5(UART1_TxD),
			.pin_6(UART0_TxD),
			.pin_7(UART0_DCD),
			.pin_8(UART0_CTS),
			.pin_9(UART0_DTR),
			.pin_10(UART0_RTS)
	);

/* auxiliary DSR and RI */

header_3pin aux_if (.pin_1(GND),
		    .pin_2(UART0_DSR),
		    .pin_3(UART0_RI)
	);

endmodule