annotate duart28c/src/vsrc/board.v @ 46:d80978bd645e

duart28c: started with a copy from duart28
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 29 Jul 2020 07:08:28 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
46
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 module board ();
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 wire GND, P_5V, P_3V3, P_2V8;
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 wire [7:0] ADBUS, BDBUS;
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 wire [3:0] ACBUS, BCBUS;
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 USB_block usb ( .GND(GND),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 .P_5V(P_5V),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 .VCCIOA(P_3V3),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 .VCCIOB(P_3V3),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 .ADBUS(ADBUS),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 .ACBUS(ACBUS),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 .SI_WUA(P_3V3),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 .BDBUS(BDBUS),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 .BCBUS(BCBUS),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 .SI_WUB(P_3V3),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 .PWREN() /* no connect */
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 );
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 regulator_with_caps reg_3V3 (.GND(GND), .IN(P_5V), .OUT(P_3V3));
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 regulator_with_caps reg_2V8 (.GND(GND), .IN(P_5V), .OUT(P_2V8));
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 application_block app ( .GND(GND),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25 .P_3V3(P_3V3),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26 .P_2V8(P_2V8),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27 .ADBUS(ADBUS),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
28 .BDBUS(BDBUS)
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
29 );
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
30
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
31 /* auxiliary 5V output */
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
32
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
33 header_2pin aux_5V (.pin_1(P_5V),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
34 .pin_2(GND)
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
35 );
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
36
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
37 endmodule