mirror of
https://github.com/mist-devel/mist-board.git
synced 2026-02-06 08:04:41 +00:00
Merge pull request #103 from gyurco/c64
[C64] CIA: revert to synchronous flag_n sense
This commit is contained in:
@@ -152,9 +152,9 @@ always @(posedge clk) begin
|
||||
else begin
|
||||
if (phi2_p) begin
|
||||
if (int_reset) icr[4] <= 1'b0;
|
||||
flag_n_prev <= flag_n;
|
||||
if (!flag_n && flag_n_prev) icr[4] <= 1'b1;
|
||||
end
|
||||
flag_n_prev <= flag_n;
|
||||
if (!flag_n && flag_n_prev) icr[4] <= 1'b1;
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user