Reset completely if design is not enabled

This commit is contained in:
Yannick Reiß 2024-03-18 21:52:54 +01:00
parent 667cb579da
commit 600a9232c9
No known key found for this signature in database
GPG Key ID: 5A3AF456F0A0338C
1 changed files with 10 additions and 0 deletions

View File

@ -121,6 +121,16 @@ module tt_um_yannickreiss_lights_out (
field8 <= uio_in[1]; field8 <= uio_in[1];
field9 <= !clk; field9 <= !clk;
end end
end else begin
field1 <= 1'b0;
field2 <= 1'b0;
field3 <= 1'b0;
field4 <= 1'b0;
field5 <= 1'b0;
field6 <= 1'b0;
field7 <= 1'b0;
field8 <= 1'b0;
field9 <= 1'b0;
end end
end end
endmodule endmodule