mirror of
https://github.com/Polprzewodnikowy/SummerCart64.git
synced 2024-11-23 22:29:15 +01:00
[SC64][FW] CIC: use output enable register in PIO
This commit is contained in:
parent
4eaa0b3353
commit
3b13d21e63
@ -37,8 +37,13 @@ module n64_cic (
|
|||||||
end
|
end
|
||||||
|
|
||||||
logic cic_dq_out;
|
logic cic_dq_out;
|
||||||
|
logic cic_dq_oe;
|
||||||
|
|
||||||
assign n64_cic_dq = cic_dq_out ? 1'bZ : 1'b0;
|
always_ff @(posedge clk) begin
|
||||||
|
cic_dq_oe <= ~cic_dq_out;
|
||||||
|
end
|
||||||
|
|
||||||
|
assign n64_cic_dq = cic_dq_oe ? 1'b0 : 1'bZ;
|
||||||
|
|
||||||
|
|
||||||
// Timer (divider and counter)
|
// Timer (divider and counter)
|
||||||
|
Loading…
Reference in New Issue
Block a user