annotate boards/mv-sniffer/src/schem.v @ 31:ab37fcb71744

fpga/sniffer-pps: add actual F/D control
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 29 Aug 2023 21:22:37 +0000
parents 55e5f926fb5a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
55e5f926fb5a beginning of mv-sniffer adapter board design
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 module board ();
55e5f926fb5a beginning of mv-sniffer adapter board design
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2
55e5f926fb5a beginning of mv-sniffer adapter board design
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 wire GND;
55e5f926fb5a beginning of mv-sniffer adapter board design
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 wire SIM_VCC, SIM_RST, SIM_CLK, SIM_IO;
55e5f926fb5a beginning of mv-sniffer adapter board design
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 wire FPGA_VCC, FPGA_RST, FPGA_CLK, FPGA_IO;
55e5f926fb5a beginning of mv-sniffer adapter board design
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6
55e5f926fb5a beginning of mv-sniffer adapter board design
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 /* headers connecting to other boards */
55e5f926fb5a beginning of mv-sniffer adapter board design
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8
55e5f926fb5a beginning of mv-sniffer adapter board design
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 header_6pin hdr_sim (.pin_1(SIM_VCC),
55e5f926fb5a beginning of mv-sniffer adapter board design
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 .pin_2(SIM_RST),
55e5f926fb5a beginning of mv-sniffer adapter board design
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 .pin_3(SIM_CLK),
55e5f926fb5a beginning of mv-sniffer adapter board design
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 .pin_4(SIM_IO),
55e5f926fb5a beginning of mv-sniffer adapter board design
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 .pin_5(GND),
55e5f926fb5a beginning of mv-sniffer adapter board design
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 .pin_6(GND)
55e5f926fb5a beginning of mv-sniffer adapter board design
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 );
55e5f926fb5a beginning of mv-sniffer adapter board design
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16
55e5f926fb5a beginning of mv-sniffer adapter board design
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 header_6pin hdr_fpga (.pin_1(FPGA_VCC),
55e5f926fb5a beginning of mv-sniffer adapter board design
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 .pin_2(GND),
55e5f926fb5a beginning of mv-sniffer adapter board design
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 .pin_3(FPGA_RST),
55e5f926fb5a beginning of mv-sniffer adapter board design
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 .pin_4(FPGA_CLK),
55e5f926fb5a beginning of mv-sniffer adapter board design
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 .pin_5(FPGA_IO),
55e5f926fb5a beginning of mv-sniffer adapter board design
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 .pin_6() /* unused */
55e5f926fb5a beginning of mv-sniffer adapter board design
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 );
55e5f926fb5a beginning of mv-sniffer adapter board design
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24
55e5f926fb5a beginning of mv-sniffer adapter board design
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25 /* sniffing buffer IC */
55e5f926fb5a beginning of mv-sniffer adapter board design
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26
55e5f926fb5a beginning of mv-sniffer adapter board design
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27 ic_74LVC4T3144 buffer ( .GND(GND),
55e5f926fb5a beginning of mv-sniffer adapter board design
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
28 .VccA(SIM_VCC),
55e5f926fb5a beginning of mv-sniffer adapter board design
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
29 .VccB(FPGA_VCC),
55e5f926fb5a beginning of mv-sniffer adapter board design
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
30 .nOE(GND),
55e5f926fb5a beginning of mv-sniffer adapter board design
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
31 .A1(SIM_RST),
55e5f926fb5a beginning of mv-sniffer adapter board design
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
32 .A2(SIM_CLK),
55e5f926fb5a beginning of mv-sniffer adapter board design
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
33 .A3(SIM_IO),
55e5f926fb5a beginning of mv-sniffer adapter board design
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
34 .YA4(), /* no connect */
55e5f926fb5a beginning of mv-sniffer adapter board design
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
35 .YB1(FPGA_RST),
55e5f926fb5a beginning of mv-sniffer adapter board design
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
36 .YB2(FPGA_CLK),
55e5f926fb5a beginning of mv-sniffer adapter board design
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
37 .YB3(FPGA_IO),
55e5f926fb5a beginning of mv-sniffer adapter board design
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
38 .B4(GND)
55e5f926fb5a beginning of mv-sniffer adapter board design
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
39 );
55e5f926fb5a beginning of mv-sniffer adapter board design
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
40
55e5f926fb5a beginning of mv-sniffer adapter board design
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
41 /* bypass caps next to buffer IC supply pins */
55e5f926fb5a beginning of mv-sniffer adapter board design
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
42
55e5f926fb5a beginning of mv-sniffer adapter board design
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
43 capacitor C1 (SIM_VCC, GND);
55e5f926fb5a beginning of mv-sniffer adapter board design
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
44 capacitor C2 (FPGA_VCC, GND);
55e5f926fb5a beginning of mv-sniffer adapter board design
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
45
55e5f926fb5a beginning of mv-sniffer adapter board design
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
46 /* pull-down resistors on buffer IC outputs, for PPD mode */
55e5f926fb5a beginning of mv-sniffer adapter board design
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
47
55e5f926fb5a beginning of mv-sniffer adapter board design
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
48 resistor R1 (FPGA_RST, GND);
55e5f926fb5a beginning of mv-sniffer adapter board design
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
49 resistor R2 (FPGA_CLK, GND);
55e5f926fb5a beginning of mv-sniffer adapter board design
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
50 resistor R3 (FPGA_IO, GND);
55e5f926fb5a beginning of mv-sniffer adapter board design
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
51
55e5f926fb5a beginning of mv-sniffer adapter board design
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
52 endmodule