]> git.zerfleddert.de Git - proxmark3-svn/blame_incremental - fpga/lo_passthru.v
replaced gzip with an own compressor tool (fpga_compress.c, based on zlib)
[proxmark3-svn] / fpga / lo_passthru.v
... / ...
CommitLineData
1//-----------------------------------------------------------------------------
2// For reading TI tags, we need to place the FPGA in pass through mode
3// and pass everything through to the ARM
4//-----------------------------------------------------------------------------
5// iZsh <izsh at fail0verflow.com>, June 2014
6
7module lo_passthru(
8 input pck_divclk,
9 output pwr_lo, output pwr_hi,
10 output pwr_oe1, output pwr_oe2, output pwr_oe3, output pwr_oe4,
11 output adc_clk,
12 output ssp_din, input ssp_dout,
13 input cross_lo,
14 output dbg
15);
16
17// the antenna is modulated when ssp_dout = 1, when 0 the
18// antenna drivers stop modulating and go into listen mode
19assign pwr_oe3 = 1'b0;
20assign pwr_oe1 = ssp_dout;
21assign pwr_oe2 = ssp_dout;
22assign pwr_oe4 = ssp_dout;
23assign pwr_lo = pck_divclk && ssp_dout;
24assign pwr_hi = 1'b0;
25assign adc_clk = 1'b0;
26assign ssp_din = cross_lo;
27assign dbg = cross_lo;
28
29endmodule
Impressum, Datenschutz