8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53fa482 commit a7b98c3Copy full SHA for a7b98c3
library/common/ad_tdd_control.v
@@ -230,10 +230,14 @@ module ad_tdd_control#(
230
231
// tdd burst counter
232
always @(posedge clk) begin
233
- if (tdd_cstate == ON) begin
234
- tdd_burst_counter <= ((tdd_burst_counter > 0) && (tdd_endof_frame == 1'b1)) ? tdd_burst_counter - 1 : tdd_burst_counter;
+ if (rst == 1'b1) begin
+ tdd_burst_counter <= 6'b0;
235
end else begin
236
- tdd_burst_counter <= tdd_burst_count;
+ if (tdd_cstate == OFF) begin
237
+ tdd_burst_counter <= tdd_burst_count;
238
+ end else if ((tdd_burst_counter > 0) && (tdd_endof_frame == 1'b1)) begin
239
+ tdd_burst_counter <= tdd_burst_counter - 1'b1;
240
+ end
241
end
242
243
0 commit comments