mirror of https://github.com/YosysHQ/yosys.git
Update test with a/b reset
This commit is contained in:
parent
36d6db7f8a
commit
6a95ecd41d
|
@ -61,10 +61,12 @@ always @(posedge clk) begin
|
||||||
// Store accumulation result into a register
|
// Store accumulation result into a register
|
||||||
adder_out <= adder_out + mult_reg;
|
adder_out <= adder_out + mult_reg;
|
||||||
end
|
end
|
||||||
if (rst) begin
|
if (rst) begin
|
||||||
|
a_reg <= 0;
|
||||||
|
b_reg <= 0;
|
||||||
mult_reg <= 0;
|
mult_reg <= 0;
|
||||||
adder_out <= 0;
|
adder_out <= 0;
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
// Output accumulation result
|
// Output accumulation result
|
||||||
|
|
Loading…
Reference in New Issue