LEDs are set in different ways on reset

This commit is contained in:
Yannick Reiß 2024-03-18 15:14:54 +01:00
parent fdd0082c6b
commit 89310866d0
No known key found for this signature in database
GPG Key ID: 5A3AF456F0A0338C
1 changed files with 9 additions and 10 deletions

View File

@ -112,17 +112,16 @@ module tt_um_yannickreiss_lights_out (
else begin else begin
// set new matrix in a pseudo random way // set new matrix in a pseudo random way
field1 <= 1'b0; field1 <= clk & field6;
field2 <= 1'b0; field2 <= !clk;
field3 <= 1'b0; field3 <= clk;
field4 <= 1'b0; field4 <= !field4;
field5 <= 1'b1; field5 <= !field5 ^ clk;
field6 <= 1'b0; field6 <= clk;
field7 <= 1'b0; field7 <= !clk;
field8 <= 1'b0; field8 <= field2;
field9 <= 1'b0; field9 <= !field7;
end end
end end
end end
endmodule endmodule