view lcdtest1/schem+bom/schem.v @ 71:31c8b1291b4a

lunalcd3 project started
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 18 Nov 2021 04:59:47 +0000
parents 0f9bdd60ce50
children
line wrap: on
line source

module board ();

wire GND, P_5V, P_3V3;
wire [7:0] DB;
wire RD, WR, RS, CS, RESET;
wire [1:3] LEDK;

conn_36pin_plus2 fpc (  .pin_1(DB[7]),
			.pin_2(DB[6]),
			.pin_3(DB[5]),
			.pin_4(DB[4]),
			.pin_5(DB[3]),
			.pin_6(DB[2]),
			.pin_7(DB[1]),
			.pin_8(DB[0]),
			.pin_9(GND),
			.pin_10(GND),	/* unused lower data bus */
			.pin_11(GND),	/* unused lower data bus */
			.pin_12(GND),	/* unused lower data bus */
			.pin_13(GND),	/* unused lower data bus */
			.pin_14(GND),	/* unused lower data bus */
			.pin_15(GND),	/* unused lower data bus */
			.pin_16(GND),	/* unused lower data bus */
			.pin_17(GND),	/* unused lower data bus */
			.pin_18(P_3V3),	/* IOVCC */
			.pin_19(P_3V3),	/* VCI */
			.pin_20(RD),
			.pin_21(WR),
			.pin_22(RS),
			.pin_23(CS),
			.pin_24(RESET),
			.pin_25(P_3V3),	/* IM0 tied high */
			.pin_26(GND),
			.pin_27(P_5V),	/* LEDA */
			.pin_28(LEDK[1]),
			.pin_29(LEDK[2]),
			.pin_30(LEDK[3]),
			/* the remaining pins are NC */
			.pin_31(),
			.pin_32(),
			.pin_33(),
			.pin_34(),
			.pin_35(),
			.pin_36(),
			/* ground the two mounting pads */
			.pin_37(GND),
			.pin_38(GND)
	);

resistor R1 (LEDK[1], GND);
resistor R2 (LEDK[2], GND);
resistor R3 (LEDK[3], GND);

header_13pin data (.pin_1(DB[7]),
		   .pin_2(DB[6]),
		   .pin_3(DB[5]),
		   .pin_4(DB[4]),
		   .pin_5(DB[3]),
		   .pin_6(DB[2]),
		   .pin_7(DB[1]),
		   .pin_8(DB[0]),
		   .pin_9(RD),
		   .pin_10(WR),
		   .pin_11(RS),
		   .pin_12(CS),
		   .pin_13(RESET)
	);

header_2pin pwr_5V (.pin_1(P_5V),
		    .pin_2(GND)
	);

header_2pin pwr_3V3 (.pin_1(P_3V3),
		     .pin_2(GND)
	);

endmodule