FreeCalypso > hg > freecalypso-schem2
annotate venus/src/periph/alt_boot_ctrl.v @ 98:3ab69117b09f default tip
minnie/doc/Design-spec: finished in the first pass
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Sun, 01 Oct 2023 08:17:05 +0000 |
| parents | c27854430cb3 |
| children |
| 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 |
