annotate venus/src/periph/alt_boot_ctrl.v @ 83:c27854430cb3

add 3-pin header for possible external boot control
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 08 Dec 2021 05:32:47 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
83
c27854430cb3 add 3-pin header for possible external boot control
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 /*
c27854430cb3 add 3-pin header for possible external boot control
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 * Alternative boot controls in the mobile domain,
c27854430cb3 add 3-pin header for possible external boot control
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 * besides USB domain OD buffers.
c27854430cb3 add 3-pin header for possible external boot control
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 */
c27854430cb3 add 3-pin header for possible external boot control
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5
c27854430cb3 add 3-pin header for possible external boot control
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 module alt_boot_ctrl (GND, RPWON, nTESTRESET);
c27854430cb3 add 3-pin header for possible external boot control
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7
c27854430cb3 add 3-pin header for possible external boot control
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 input GND;
c27854430cb3 add 3-pin header for possible external boot control
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 output RPWON, nTESTRESET;
c27854430cb3 add 3-pin header for possible external boot control
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10
c27854430cb3 add 3-pin header for possible external boot control
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 /* manual RESET button */
c27854430cb3 add 3-pin header for possible external boot control
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12
c27854430cb3 add 3-pin header for possible external boot control
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 keyswitch_wrap reset_sw (nTESTRESET, GND);
c27854430cb3 add 3-pin header for possible external boot control
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14
c27854430cb3 add 3-pin header for possible external boot control
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 /* external boot control header */
c27854430cb3 add 3-pin header for possible external boot control
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16
c27854430cb3 add 3-pin header for possible external boot control
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 header_3pin boot_ctrl_header (.pin_1(GND),
c27854430cb3 add 3-pin header for possible external boot control
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 .pin_2(RPWON),
c27854430cb3 add 3-pin header for possible external boot control
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 .pin_3(nTESTRESET)
c27854430cb3 add 3-pin header for possible external boot control
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 );
c27854430cb3 add 3-pin header for possible external boot control
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21
c27854430cb3 add 3-pin header for possible external boot control
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 endmodule