Skip to content

Commit

Permalink
crossbeam hacks
Browse files Browse the repository at this point in the history
  • Loading branch information
vk2seb committed Apr 3, 2024
1 parent fbefb23 commit 65528db
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
8 changes: 3 additions & 5 deletions gateware/cal/cal.sv
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,10 @@
// for any inputs for which a jack is not connected.

`default_nettype none
`define HW_R33

module cal #(
parameter W = 16, // sample width
`ifdef HW_R33
parameter CAL_MEM_FILE = "cal/cal_mem_default_r33.hex"
`else
parameter CAL_MEM_FILE = "cal/cal_mem_default_r31.hex"
`endif
)(
input rst,
input clk_256fs,
Expand All @@ -46,6 +42,8 @@ module cal #(
output logic signed [W-1:0] out7
);

localparam CAL_MEM_FILE = "/home/seb/dev/eurorack-pmod-litex/deps/eurorack-pmod/gateware/cal/cal_mem_default_r33.hex";

localparam N_CHANNELS = 8;
localparam LAST_CH_IX = 3'd7;

Expand Down
1 change: 1 addition & 0 deletions gateware/drivers/pmod_i2c_master.sv
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
// functions of the board without having to resort to using a softcore.

`default_nettype none
`define HW_R33

module pmod_i2c_master #(
parameter CODEC_CFG = "drivers/ak4619-cfg.hex"
Expand Down
1 change: 1 addition & 0 deletions gateware/eurorack_pmod.sv
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
// handled by external user-defined logic.

`default_nettype none
`define HW_R33

module eurorack_pmod #(
parameter W = 16, // sample width, bits
Expand Down

0 comments on commit 65528db

Please sign in to comment.