annotate mmtb1/schem+bom/primitives @ 22:43097651a26d

duart28/src/primitives: adapted from fc-uja
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 13 Jun 2020 05:28:01 +0000
parents 0f9bdd60ce50
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
0f9bdd60ce50 fc-small-hw separated from old freecalypso-schem repo
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 /*
0f9bdd60ce50 fc-small-hw separated from old freecalypso-schem repo
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 * This file defines the primitives to be instantiated from the structural
0f9bdd60ce50 fc-small-hw separated from old freecalypso-schem repo
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 * Verilog source for the board: IC package types, basic components and
0f9bdd60ce50 fc-small-hw separated from old freecalypso-schem repo
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 * subpackages to be mapped later in the MCL binding step.
0f9bdd60ce50 fc-small-hw separated from old freecalypso-schem repo
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 */
0f9bdd60ce50 fc-small-hw separated from old freecalypso-schem repo
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6
0f9bdd60ce50 fc-small-hw separated from old freecalypso-schem repo
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 resistor numpins 2;
0f9bdd60ce50 fc-small-hw separated from old freecalypso-schem repo
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 capacitor numpins 2;
0f9bdd60ce50 fc-small-hw separated from old freecalypso-schem repo
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9
0f9bdd60ce50 fc-small-hw separated from old freecalypso-schem repo
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 diode mapped_pins (A, C);
0f9bdd60ce50 fc-small-hw separated from old freecalypso-schem repo
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 mosfet mapped_pins (G, S, D);
0f9bdd60ce50 fc-small-hw separated from old freecalypso-schem repo
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12
0f9bdd60ce50 fc-small-hw separated from old freecalypso-schem repo
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 /* connectors */
0f9bdd60ce50 fc-small-hw separated from old freecalypso-schem repo
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 header_2pin numpins 2;
0f9bdd60ce50 fc-small-hw separated from old freecalypso-schem repo
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 conn_3pin numpins 3;
0f9bdd60ce50 fc-small-hw separated from old freecalypso-schem repo
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 header_10pin numpins 10;
0f9bdd60ce50 fc-small-hw separated from old freecalypso-schem repo
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 conn_40pin_plus2 numpins 42;
0f9bdd60ce50 fc-small-hw separated from old freecalypso-schem repo
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18
0f9bdd60ce50 fc-small-hw separated from old freecalypso-schem repo
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 /* misc peripherals */
0f9bdd60ce50 fc-small-hw separated from old freecalypso-schem repo
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 pkg_SIM_socket mapped_pins (C1, C2, C3, C5, C6, C7, M1, M2);
0f9bdd60ce50 fc-small-hw separated from old freecalypso-schem repo
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 pkg_pushbutton_4pin numpins 4;