Only basing new games on clock

This commit is contained in:
Yannick Reiß 2024-03-18 21:38:20 +01:00
parent 89310866d0
commit fa5e260576
No known key found for this signature in database
GPG Key ID: 5A3AF456F0A0338C
1 changed files with 61 additions and 62 deletions

View File

@ -108,19 +108,18 @@ module tt_um_yannickreiss_lights_out (
end end
endcase endcase
end end else begin
else begin
// set new matrix in a pseudo random way // set new matrix in a pseudo random way
field1 <= clk & field6; field1 <= clk;
field2 <= !clk; field2 <= !clk;
field3 <= clk; field3 <= clk;
field4 <= !field4; field4 <= !clk;
field5 <= !field5 ^ clk; field5 <= clk;
field6 <= clk; field6 <= clk;
field7 <= !clk; field7 <= !clk;
field8 <= field2; field8 <= clk;
field9 <= !field7; field9 <= !clk;
end end
end end
end end