Skip to content

Commit

Permalink
Bubble up all .hex paths
Browse files Browse the repository at this point in the history
  • Loading branch information
schnommus committed Jul 5, 2023
1 parent 40854a2 commit 7405e6c
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions gateware/eurorack_pmod.sv
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@

module eurorack_pmod #(
parameter W = 16, // sample width, bits
parameter CAL_MEM_FILE = "cal/cal_mem.hex"
parameter CAL_MEM_FILE = "cal/cal_mem.hex",
parameter CODEC_CFG_FILE = "drivers/ak4619-cfg.hex",
parameter LED_CFG_FILE = "drivers/pca9635-cfg.hex"
)(
input clk_12mhz, // Assumed 12MHz
input rst,
Expand Down Expand Up @@ -121,7 +123,10 @@ ak4619 ak4619_instance (
);

// I2C transceiver and driver for all connected slaves.
pmod_i2c_master pmod_i2c_master_instance (
pmod_i2c_master #(
.CODEC_CFG(CODEC_CFG_FILE),
.LED_CFG(LED_CFG_FILE),
) pmod_i2c_master_instance (
.clk(clk_12mhz),
.rst(rst),

Expand Down

0 comments on commit 7405e6c

Please sign in to comment.