- //always @(negedge mclk)
- // if (pixclk && !typethea) begin
- // typethea <= 1;
- // statekick <= 1;
- // end else if (typethea) begin // This is the edge of the falling anus.
- // typethea <= 0;
- // statekick <= 0;
- // end
+ always @(negedge mclk)
+ if (pixclk && !statekick) begin
+ statekick <= 1;
+ end else if (statekick) begin // This is the edge of the falling anus.
+ statekick <= 0;
+ end