ad_tdd_control: Delete redundant reset from tdd_burst_counter logic
This way we can slightly improve timing.main
parent
375ccac072
commit
9eba3e8370
|
@ -230,14 +230,10 @@ 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
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue