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
parent
a81625e1fa
commit
c70be7391f
|
@ -310,10 +310,13 @@ module ad_tdd_control(
|
||||||
end else begin
|
end else begin
|
||||||
tdd_burst_counter <= tdd_burst_count;
|
tdd_burst_counter <= tdd_burst_count;
|
||||||
end
|
end
|
||||||
tdd_last_burst <= (tdd_burst_counter == 6'b1) ? 1'b1 : 1'b0;
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
always @(posedge clk) begin
|
||||||
|
tdd_last_burst <= (tdd_burst_counter == 6'b1) ? 1'b1 : 1'b0;
|
||||||
|
end
|
||||||
|
|
||||||
// ***************************************************************************
|
// ***************************************************************************
|
||||||
// generate control signals
|
// generate control signals
|
||||||
// ***************************************************************************
|
// ***************************************************************************
|
||||||
|
|
Loading…
Reference in New Issue