Skip to content

Commit

Permalink
Changed address buses to take direct flopped state. Frees up a small …
Browse files Browse the repository at this point in the history
…amount of space and doesn't seem to be required on non-control signals.
  • Loading branch information
RedGuyyyy committed Aug 11, 2018
1 parent 5da7ff1 commit d42e60b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions verilog/sd2snes_sa1/main.v
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,9 @@ wire SNES_CPU_CLK = SNES_CPU_CLKr[2] & SNES_CPU_CLKr[1];
wire SNES_PARD = SNES_PARDr[2] & SNES_PARDr[1];

wire SNES_ROMSEL = (SNES_ROMSELr[5] & SNES_ROMSELr[4]);
wire [23:0] SNES_ADDR = (SNES_ADDRr[6] & SNES_ADDRr[5]);
wire [23:0] SNES_ADDR = SNES_ADDRr[0]; //(SNES_ADDRr[6] & SNES_ADDRr[5]);
wire [23:0] SNES_ADDR_early = SNES_ADDRr[0];
wire [7:0] SNES_PA = (SNES_PAr[6] & SNES_PAr[5]);
wire [7:0] SNES_PA = SNES_PAr[0]; //(SNES_PAr[6] & SNES_PAr[5]);
wire [7:0] SNES_DATA_IN = (SNES_DATAr[3] & SNES_DATAr[2]);

reg [7:0] BUS_DATA;
Expand Down

0 comments on commit d42e60b

Please sign in to comment.