mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 21:03:48 -07:00
fix: legic functionality for RDV40. Getting 2-3cm reading distances now.
This commit is contained in:
parent
d393b6c60b
commit
84b7ea82bb
2 changed files with 3 additions and 5 deletions
BIN
fpga/fpga_hf.bit
BIN
fpga/fpga_hf.bit
Binary file not shown.
|
@ -79,13 +79,11 @@ assign adc_clk = ck_1356meg;
|
||||||
reg after_hysteresis;
|
reg after_hysteresis;
|
||||||
always @(negedge adc_clk)
|
always @(negedge adc_clk)
|
||||||
begin
|
begin
|
||||||
if(& adc_d[7:0]) after_hysteresis <= 1'b1;
|
if(& adc_d[6:4]) after_hysteresis <= 1'b1;
|
||||||
else if(~(| adc_d[7:0])) after_hysteresis <= 1'b0;
|
else if(~(| adc_d[6:4])) after_hysteresis <= 1'b0;
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
assign ssp_din = after_hysteresis;
|
assign ssp_din = after_hysteresis;
|
||||||
|
assign dbg = after_hysteresis;
|
||||||
assign dbg = ssp_din;
|
|
||||||
|
|
||||||
endmodule
|
endmodule
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue