change: remove jerry-riged hysteresis based receiver from hi_read_tx

This future got obsolete by a x-correlation based receiver.

This reverts commit 24fe4dffb4.
This commit is contained in:
Andreas Dröscher 2018-07-29 12:23:35 +02:00
parent db70ab8f7d
commit bf123082e8
2 changed files with 3 additions and 14 deletions

Binary file not shown.

View file

@ -71,19 +71,8 @@ always @(negedge ssp_clk)
assign ssp_frame = (hi_byte_div == 3'b000);
// Implement a hysteresis to give out the received signal on
// ssp_din. Sample at fc.
assign adc_clk = ck_1356meg;
assign ssp_din = 1'b0;
// ADC data appears on the rising edge, so sample it on the falling edge
reg after_hysteresis;
always @(negedge adc_clk)
begin
if(& adc_d[6:4]) after_hysteresis <= 1'b1;
else if(~(| adc_d[6:4])) after_hysteresis <= 1'b0;
end
assign dbg = ssp_frame;
assign ssp_din = after_hysteresis;
assign dbg = after_hysteresis;
endmodule
endmodule