annotate duart28/src/primitives @ 77:4c5675c79555

lunalcd3.pcb: add orientation marker to SW1
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 18 Nov 2021 07:40:13 +0000
parents bd7eec55ebc0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
22
43097651a26d duart28/src/primitives: adapted from fc-uja
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 /*
43097651a26d duart28/src/primitives: adapted from fc-uja
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 * This file defines the primitives to be instantiated from the structural
43097651a26d duart28/src/primitives: adapted from fc-uja
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 * Verilog source for the board: IC package types, basic components and
43097651a26d duart28/src/primitives: adapted from fc-uja
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 * subpackages to be mapped later in the MCL binding step.
43097651a26d duart28/src/primitives: adapted from fc-uja
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 */
43097651a26d duart28/src/primitives: adapted from fc-uja
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6
43097651a26d duart28/src/primitives: adapted from fc-uja
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 resistor numpins 2;
43097651a26d duart28/src/primitives: adapted from fc-uja
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 capacitor numpins 2;
43097651a26d duart28/src/primitives: adapted from fc-uja
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 inductor numpins 2;
43097651a26d duart28/src/primitives: adapted from fc-uja
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10
43097651a26d duart28/src/primitives: adapted from fc-uja
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 /* IC packages */
43097651a26d duart28/src/primitives: adapted from fc-uja
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 pkg_LQFP48 numpins 48;
43097651a26d duart28/src/primitives: adapted from fc-uja
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 pkg_5pin numpins 5;
43097651a26d duart28/src/primitives: adapted from fc-uja
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 pkg_8pin numpins 8;
43097651a26d duart28/src/primitives: adapted from fc-uja
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15
28
bd7eec55ebc0 duart28: new design ideas
Mychaela Falconia <falcon@freecalypso.org>
parents: 22
diff changeset
16 /* 74LVC541A single buffer and common part subpackages */
bd7eec55ebc0 duart28: new design ideas
Mychaela Falconia <falcon@freecalypso.org>
parents: 22
diff changeset
17 buffer_ic_slot mapped_pins (A, Y);
bd7eec55ebc0 duart28: new design ideas
Mychaela Falconia <falcon@freecalypso.org>
parents: 22
diff changeset
18 buffer_ic_common mapped_pins (Vcc, GND, nOE1, nOE2);
22
43097651a26d duart28/src/primitives: adapted from fc-uja
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19
43097651a26d duart28/src/primitives: adapted from fc-uja
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 /* crystal resonator */
43097651a26d duart28/src/primitives: adapted from fc-uja
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 xtal_2pin_pkg numpins 2;
43097651a26d duart28/src/primitives: adapted from fc-uja
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22
43097651a26d duart28/src/primitives: adapted from fc-uja
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 /* connectors */
43097651a26d duart28/src/primitives: adapted from fc-uja
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 header_2pin numpins 2;
43097651a26d duart28/src/primitives: adapted from fc-uja
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25 header_3pin numpins 3;
43097651a26d duart28/src/primitives: adapted from fc-uja
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26 header_10pin numpins 10;
43097651a26d duart28/src/primitives: adapted from fc-uja
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27 conn_miniUSB_plus4 numpins 9;