Skip to content

Commit

Permalink
fix: (issue #72) LF simulation didn't work with lo_edge_detect.v
Browse files Browse the repository at this point in the history
  • Loading branch information
pwpiwi committed Mar 6, 2015
1 parent 9cefee6 commit 7843130
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Binary file modified fpga/fpga_lf.bit
Binary file not shown.
8 changes: 5 additions & 3 deletions fpga/lo_edge_detect.v
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,12 @@ wire tag_modulation = ssp_dout & !lf_field;
wire reader_modulation = !ssp_dout & lf_field & pck_divclk;

// No logic, straight through.
assign pwr_oe1 = 1'b0; // not used in LF mode
assign pwr_oe1 = 1'b0; // not used in LF mode
assign pwr_oe3 = 1'b0; // base antenna load = 33 Ohms
// when modulating, add another 33 Ohms and 10k Ohms in parallel:
assign pwr_oe2 = tag_modulation;
assign pwr_oe3 = tag_modulation;
assign pwr_oe4 = tag_modulation;
assign pwr_oe4 = tag_modulation;

assign ssp_clk = cross_lo;
assign pwr_lo = reader_modulation;
assign pwr_hi = 1'b0;
Expand Down

0 comments on commit 7843130

Please sign in to comment.