]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - fpga/fpga.v
marcan's patch until he gets commit access. Remove C library's includes from the...
[proxmark3-svn] / fpga / fpga.v
index 2fb0ed7869a58578579fa8025b63747d21066781..c39109f9f5a42533e37676586809b356830e6963 100644 (file)
@@ -103,6 +103,10 @@ assign hi_read_rx_xcorr_848 = conf_word[0];
 wire hi_read_rx_xcorr_snoop;\r
 assign hi_read_rx_xcorr_snoop = conf_word[1];\r
 \r
 wire hi_read_rx_xcorr_snoop;\r
 assign hi_read_rx_xcorr_snoop = conf_word[1];\r
 \r
+// Divide the expected subcarrier frequency for hi_read_rx_xcorr by 4\r
+wire hi_read_rx_xcorr_quarter;\r
+assign hi_read_rx_xcorr_quarter = conf_word[2];\r
+\r
 // For the high-frequency simulated tag: what kind of modulation to use.\r
 wire [2:0] hi_simulate_mod_type;\r
 assign hi_simulate_mod_type = conf_word[2:0];\r
 // For the high-frequency simulated tag: what kind of modulation to use.\r
 wire [2:0] hi_simulate_mod_type;\r
 assign hi_simulate_mod_type = conf_word[2:0];\r
@@ -129,7 +133,7 @@ lo_passthru lp(
        adc_d, lp_adc_clk,\r
        lp_ssp_frame, lp_ssp_din, ssp_dout, lp_ssp_clk,\r
        cross_hi, cross_lo,\r
        adc_d, lp_adc_clk,\r
        lp_ssp_frame, lp_ssp_din, ssp_dout, lp_ssp_clk,\r
        cross_hi, cross_lo,\r
-       lp_dbg\r
+       lp_dbg, divisor\r
 );\r
 \r
 lo_simulate ls(\r
 );\r
 \r
 lo_simulate ls(\r
@@ -138,7 +142,7 @@ lo_simulate ls(
        adc_d, ls_adc_clk,\r
        ls_ssp_frame, ls_ssp_din, ssp_dout, ls_ssp_clk,\r
        cross_hi, cross_lo,\r
        adc_d, ls_adc_clk,\r
        ls_ssp_frame, ls_ssp_din, ssp_dout, ls_ssp_clk,\r
        cross_hi, cross_lo,\r
-       ls_dbg\r
+       ls_dbg, divisor\r
 );\r
 \r
 hi_read_tx ht(\r
 );\r
 \r
 hi_read_tx ht(\r
@@ -158,7 +162,7 @@ hi_read_rx_xcorr hrxc(
        hrxc_ssp_frame, hrxc_ssp_din, ssp_dout, hrxc_ssp_clk,\r
        cross_hi, cross_lo,\r
        hrxc_dbg,\r
        hrxc_ssp_frame, hrxc_ssp_din, ssp_dout, hrxc_ssp_clk,\r
        cross_hi, cross_lo,\r
        hrxc_dbg,\r
-       hi_read_rx_xcorr_848, hi_read_rx_xcorr_snoop\r
+       hi_read_rx_xcorr_848, hi_read_rx_xcorr_snoop, hi_read_rx_xcorr_quarter\r
 );\r
 \r
 hi_simulate hs(\r
 );\r
 \r
 hi_simulate hs(\r
Impressum, Datenschutz