proxmark3/fpga
iZsh 3b2fee43ea New LF edge detection algorithm + lowpass filter
This is a new LF edge detection algorithm for the FPGA.

- It uses a low-pass IIR filter to clean the signal
(see https://fail0verflow.com/blog/2014/proxmark3-fpga-iir-filter.html)
- The algorithm is able to detect consecutive peaks in the same
  direction
- It uses an envelope follower to dynamically adjust the peak thresholds
- The main threshold used in the envelope follower can be set from the ARM side

fpga/lf_edge_detect.v,
fpga/lp20khz_1MSa_iir_filter.v,
fpga/min_max_tracker.v: New file.

fpga/lo_edge_detect.v, fpga/fpga_lf.v: Modify accordingly.

armsrc/apps.h (FPGA_CMD_SET_USER_BYTE1,
FPGA_CMD_SET_EDGE_DETECT_THRESHOLD): New FPGA command.
fpga/fpga_lf.v: Modify accordingly/Add a 8bit user register.

fpga/fpga_lf.bit: Update accordingly.

fpga/tests: New directory for testbenches

fpga/tests/Makefile: New file. It compiles the testbenches
and runs all the tests by default (comparing with the golden output)

fpga/tests/tb_lp20khz_1MSa_iir_filter.v,
fpga/tests/tb_min_max_tracker.v,
fpga/tests/tb_lf_edge_detect.v: New testbenches

fpga/tests/plot_edgedetect.py: New script to plot the results from
the edge detection tests.

fpga/tests/tb_data: New directory for data and golden outputs
2014-06-27 14:27:03 +02:00
..
tests New LF edge detection algorithm + lowpass filter 2014-06-27 14:27:03 +02:00
clk_divider.v THIS REQUIRES A BOOTROM UPDATE!! To save FPGA area, split the LF and HF bitstreams and load them on-demand. 2014-06-20 01:02:59 +02:00
fpga.ucf - improved reader sensitivity for 14443a cards (FPGA change!) 2013-11-19 18:52:40 +00:00
fpga_hf.bit THIS REQUIRES A BOOTROM UPDATE!! To save FPGA area, split the LF and HF bitstreams and load them on-demand. 2014-06-20 01:02:59 +02:00
fpga_hf.v fpga/fpga_hf.v, fpga_lf.v, lo_edge_detect.v, lo_passthru.v, lo_read.v: copyright notice 2014-06-20 12:38:58 +02:00
fpga_lf.bit New LF edge detection algorithm + lowpass filter 2014-06-27 14:27:03 +02:00
fpga_lf.v New LF edge detection algorithm + lowpass filter 2014-06-27 14:27:03 +02:00
go.bat THIS REQUIRES A BOOTROM UPDATE!! To save FPGA area, split the LF and HF bitstreams and load them on-demand. 2014-06-20 01:02:59 +02:00
hi_iso14443a.v Improvements/Fixes to 14443 sniffing/snooping 2014-03-25 21:38:24 +01:00
hi_read_rx_xcorr.v setting svn:eol-style=native on files, part 3 2010-02-22 19:29:05 +00:00
hi_read_tx.v setting svn:eol-style=native on files, part 3 2010-02-22 19:29:05 +00:00
hi_simulate.v Added 424KHz mode for iso 15693 simulation 2014-06-07 21:39:52 +02:00
lf_edge_detect.v New LF edge detection algorithm + lowpass filter 2014-06-27 14:27:03 +02:00
lo_edge_detect.v New LF edge detection algorithm + lowpass filter 2014-06-27 14:27:03 +02:00
lo_passthru.v fpga/fpga_hf.v, fpga_lf.v, lo_edge_detect.v, lo_passthru.v, lo_read.v: copyright notice 2014-06-20 12:38:58 +02:00
lo_read.v new command "lf snoop" to snoop raw ADC values 2014-06-21 21:33:54 +02:00
lo_simulate.v setting svn:eol-style=native on files, part 3 2010-02-22 19:29:05 +00:00
lp20khz_1MSa_iir_filter.v New LF edge detection algorithm + lowpass filter 2014-06-27 14:27:03 +02:00
Makefile New LF edge detection algorithm + lowpass filter 2014-06-27 14:27:03 +02:00
min_max_tracker.v New LF edge detection algorithm + lowpass filter 2014-06-27 14:27:03 +02:00
sim.tcl setting svn:eol-style=native on files, part 3 2010-02-22 19:29:05 +00:00
testbed_fpga.v setting svn:eol-style=native on files, part 3 2010-02-22 19:29:05 +00:00
testbed_hi_read_tx.v setting svn:eol-style=native on files, part 3 2010-02-22 19:29:05 +00:00
testbed_hi_simulate.v setting svn:eol-style=native on files, part 3 2010-02-22 19:29:05 +00:00
testbed_lo_read.v setting svn:eol-style=native on files, part 3 2010-02-22 19:29:05 +00:00
testbed_lo_simulate.v setting svn:eol-style=native on files, part 3 2010-02-22 19:29:05 +00:00
util.v setting svn:eol-style=native on files, part 3 2010-02-22 19:29:05 +00:00
xst_hf.scr THIS REQUIRES A BOOTROM UPDATE!! To save FPGA area, split the LF and HF bitstreams and load them on-demand. 2014-06-20 01:02:59 +02:00
xst_lf.scr THIS REQUIRES A BOOTROM UPDATE!! To save FPGA area, split the LF and HF bitstreams and load them on-demand. 2014-06-20 01:02:59 +02:00