1
0
mirror of https://github.com/mist-devel/mist-board.git synced 2026-05-01 22:26:59 +00:00

[BBC] Applied patch that should fix Planetoid but doesn't

This commit is contained in:
Till Harbaum
2015-11-03 11:04:49 +01:00
parent 6a3164f3c7
commit 2456c88f2d

View File

@@ -327,10 +327,12 @@ always @(posedge CLK) begin
endcase
end
if (r_acr[7] === 1'b 1 & t1_toggle === 1'b 1) begin
r_orb[7] <= ~r_orb[7];
// toggle
end
if (r_acr[7] === 1'b1) begin
if(t1_load_counter)
r_orb[7] <= 1'b0; // writing T1C-H resets bit 7
else if (t1_toggle === 1'b1)
r_orb[7] <= ~r_orb[7]; // toggle
end
end
end
end