end
"LEVEL": begin
- always @(posedge CLK or RST) begin
+ always @(posedge CLK or posedge RST) begin
count <= count - 1'd1;
if(count == 0)
count <= COUNT_TO;
end
"LEVEL": begin
- always @(posedge CLK or RST) begin
+ always @(posedge CLK or posedge RST) begin
//Main counter
if(KEEP) begin
end
"LEVEL": begin
- always @(posedge CLK or RST) begin
+ always @(posedge CLK or posedge RST) begin
//Main counter
if(KEEP) begin
end
"LEVEL": begin
- always @(posedge CLK or RST) begin
+ always @(posedge CLK or posedge RST) begin
count <= count - 1'd1;
if(count == 0)
count <= COUNT_TO;