annotate venus/src/periph/lcd_module.v @ 46:c247abb89302

MAX1916.v and lcd_module.v from lunalcd2
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 27 Nov 2021 01:43:32 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
46
c247abb89302 MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 module lcd_module (GND, VCI, IOVCC, DB, RD, WR, RS, CS, RESET, IM0, LEDA, LEDK);
c247abb89302 MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2
c247abb89302 MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 input GND, VCI, IOVCC;
c247abb89302 MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 inout [15:0] DB;
c247abb89302 MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 input RD, WR, RS, CS, RESET, IM0;
c247abb89302 MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 input LEDA;
c247abb89302 MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 input [1:3] LEDK;
c247abb89302 MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8
c247abb89302 MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 /* instantiate the package; the mapping of signals to pins is defined here */
c247abb89302 MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10
c247abb89302 MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 lcd_module_fp pkg (.pin_1(DB[15]),
c247abb89302 MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 .pin_2(DB[14]),
c247abb89302 MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 .pin_3(DB[13]),
c247abb89302 MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 .pin_4(DB[12]),
c247abb89302 MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 .pin_5(DB[11]),
c247abb89302 MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 .pin_6(DB[10]),
c247abb89302 MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 .pin_7(DB[9]),
c247abb89302 MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 .pin_8(DB[8]),
c247abb89302 MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 .pin_9(GND),
c247abb89302 MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 .pin_10(DB[7]),
c247abb89302 MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 .pin_11(DB[6]),
c247abb89302 MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 .pin_12(DB[5]),
c247abb89302 MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 .pin_13(DB[4]),
c247abb89302 MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 .pin_14(DB[3]),
c247abb89302 MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25 .pin_15(DB[2]),
c247abb89302 MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26 .pin_16(DB[1]),
c247abb89302 MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27 .pin_17(DB[0]),
c247abb89302 MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
28 .pin_18(IOVCC),
c247abb89302 MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
29 .pin_19(VCI),
c247abb89302 MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
30 .pin_20(RD),
c247abb89302 MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
31 .pin_21(WR),
c247abb89302 MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
32 .pin_22(RS),
c247abb89302 MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
33 .pin_23(CS),
c247abb89302 MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
34 .pin_24(RESET),
c247abb89302 MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
35 .pin_25(IM0),
c247abb89302 MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
36 .pin_26(GND),
c247abb89302 MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
37 .pin_27(LEDA),
c247abb89302 MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
38 .pin_28(LEDK[1]),
c247abb89302 MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
39 .pin_29(LEDK[2]),
c247abb89302 MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
40 .pin_30(LEDK[3]),
c247abb89302 MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
41 /* the remaining pins are NC */
c247abb89302 MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
42 .pin_31(),
c247abb89302 MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
43 .pin_32(),
c247abb89302 MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
44 .pin_33(),
c247abb89302 MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
45 .pin_34(),
c247abb89302 MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
46 .pin_35(),
c247abb89302 MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
47 .pin_36()
c247abb89302 MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
48 );
c247abb89302 MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
49
c247abb89302 MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
50 endmodule