Skip to content

Commit

Permalink
Fixed stupid dangerous mistake in io_out initialisation! (introduced …
Browse files Browse the repository at this point in the history
…accidentaly 1 commit earlier)
  • Loading branch information
rejunity committed Jun 6, 2024
1 parent c5312d6 commit 51fefd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ci2406_z80.v
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ module ci2406_z80(

// 4 input control pins
assign {io_oeb[35], io_oeb[31:30], io_oeb[4]} = {4{1'b1}}; // 1 = Input
assign {io_oeb[35], io_out[31:30], io_out[4]} = {4{1'b0}}; // Initialize otherwise undriven pins to 0
assign {io_out[35], io_out[31:30], io_out[4]} = {4{1'b0}}; // Initialize otherwise undriven pins to 0

wire data_oe;
z80 z80 (
Expand Down

0 comments on commit 51fefd5

Please sign in to comment.