Skip to content

Commit

Permalink
feat: add corrections to main module
Browse files Browse the repository at this point in the history
  • Loading branch information
Elizabeth-0 committed Jan 22, 2025
1 parent c658591 commit 3baf761
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/tt_um_waves.v
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,8 @@ end

// Waveform Output
wire [7:0] wave_out;
wire [7:0] scaled_wave;
assign wave_out = selected_wave; // Ensure wave_out is driven
wire [7:0] scaled_wave;

// White Noise Generator
reg [7:0] white_noise_out;
Expand Down Expand Up @@ -248,6 +249,11 @@ end
assign uo_out[7:3] = 5'b0; // Remaining unused bits
assign uio_out = 8'b0; // Unused IOs
assign uio_oe = 8'b0; // All IOs set to input mode
assign uo_out[7:3] = 5'b00000; // Ensure upper bits are driven
assign uo_out[0] = i2s_out.sck; // I2S clock
assign uo_out[1] = i2s_out.ws; // I2S word select
assign uo_out[2] = i2s_out.sd; // I2S serial data


endmodule

Expand Down

0 comments on commit 3baf761

Please sign in to comment.