+// Implement a hysteresis to give out the received signal on\r
+// ssp_din. Sample at fc.\r
+assign adc_clk = ck_1356meg;\r
+\r
+// ADC data appears on the rising edge, so sample it on the falling edge\r
+reg after_hysteresis;\r
+always @(negedge adc_clk)\r
+begin\r
+ if(& adc_d[7:0]) after_hysteresis <= 1'b1;\r
+ else if(~(| adc_d[7:0])) after_hysteresis <= 1'b0;\r
+end\r
+\r
+\r
+assign ssp_din = after_hysteresis;\r