ad_tdd_control: Avoid unnecessary reset on control lines

No need to reset for tdd_last_burst, it's value depends on the tdd_burst_counter.
main
Istvan Csomortani 2015-11-24 15:13:18 +02:00
parent a81625e1fa
commit c70be7391f
1 changed files with 4 additions and 1 deletions

View File

@ -310,10 +310,13 @@ module ad_tdd_control(
end else begin
tdd_burst_counter <= tdd_burst_count;
end
tdd_last_burst <= (tdd_burst_counter == 6'b1) ? 1'b1 : 1'b0;
end
end
always @(posedge clk) begin
tdd_last_burst <= (tdd_burst_counter == 6'b1) ? 1'b1 : 1'b0;
end
// ***************************************************************************
// generate control signals
// ***************************************************************************