comparison lcdtest1/schem+bom/schem.v @ 0:0f9bdd60ce50

fc-small-hw separated from old freecalypso-schem repo
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 21 Oct 2019 00:53:38 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:0f9bdd60ce50
1 module board ();
2
3 wire GND, P_5V, P_3V3;
4 wire [7:0] DB;
5 wire RD, WR, RS, CS, RESET;
6 wire [1:3] LEDK;
7
8 conn_36pin_plus2 fpc ( .pin_1(DB[7]),
9 .pin_2(DB[6]),
10 .pin_3(DB[5]),
11 .pin_4(DB[4]),
12 .pin_5(DB[3]),
13 .pin_6(DB[2]),
14 .pin_7(DB[1]),
15 .pin_8(DB[0]),
16 .pin_9(GND),
17 .pin_10(GND), /* unused lower data bus */
18 .pin_11(GND), /* unused lower data bus */
19 .pin_12(GND), /* unused lower data bus */
20 .pin_13(GND), /* unused lower data bus */
21 .pin_14(GND), /* unused lower data bus */
22 .pin_15(GND), /* unused lower data bus */
23 .pin_16(GND), /* unused lower data bus */
24 .pin_17(GND), /* unused lower data bus */
25 .pin_18(P_3V3), /* IOVCC */
26 .pin_19(P_3V3), /* VCI */
27 .pin_20(RD),
28 .pin_21(WR),
29 .pin_22(RS),
30 .pin_23(CS),
31 .pin_24(RESET),
32 .pin_25(P_3V3), /* IM0 tied high */
33 .pin_26(GND),
34 .pin_27(P_5V), /* LEDA */
35 .pin_28(LEDK[1]),
36 .pin_29(LEDK[2]),
37 .pin_30(LEDK[3]),
38 /* the remaining pins are NC */
39 .pin_31(),
40 .pin_32(),
41 .pin_33(),
42 .pin_34(),
43 .pin_35(),
44 .pin_36(),
45 /* ground the two mounting pads */
46 .pin_37(GND),
47 .pin_38(GND)
48 );
49
50 resistor R1 (LEDK[1], GND);
51 resistor R2 (LEDK[2], GND);
52 resistor R3 (LEDK[3], GND);
53
54 header_13pin data (.pin_1(DB[7]),
55 .pin_2(DB[6]),
56 .pin_3(DB[5]),
57 .pin_4(DB[4]),
58 .pin_5(DB[3]),
59 .pin_6(DB[2]),
60 .pin_7(DB[1]),
61 .pin_8(DB[0]),
62 .pin_9(RD),
63 .pin_10(WR),
64 .pin_11(RS),
65 .pin_12(CS),
66 .pin_13(RESET)
67 );
68
69 header_2pin pwr_5V (.pin_1(P_5V),
70 .pin_2(GND)
71 );
72
73 header_2pin pwr_3V3 (.pin_1(P_3V3),
74 .pin_2(GND)
75 );
76
77 endmodule