ad_tdd_control: Delete redundant reset from tdd_burst_counter logic
This way we can slightly improve timing.main
parent
375ccac072
commit
9eba3e8370
|
@ -230,16 +230,12 @@ module ad_tdd_control#(
|
|||
|
||||
// tdd burst counter
|
||||
always @(posedge clk) begin
|
||||
if (rst == 1'b1) begin
|
||||
tdd_burst_counter <= 6'b0;
|
||||
end else begin
|
||||
if (tdd_cstate == OFF) begin
|
||||
tdd_burst_counter <= tdd_burst_count;
|
||||
end else if ((tdd_burst_counter != 0) && (tdd_endof_frame == 1'b1)) begin
|
||||
tdd_burst_counter <= tdd_burst_counter - 1'b1;
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
always @(posedge clk) begin
|
||||
tdd_last_burst <= (tdd_burst_counter == 6'b1) ? 1'b1 : 1'b0;
|
||||
|
|
Loading…
Reference in New Issue