Skip to content

Commit

Permalink
toplevel port fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ThorKn committed Feb 21, 2024
1 parent d99158f commit 7807473
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions src/PWMaudio.v
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,13 @@ module tt_um_thorkn_audiochip_v2 (
assign reset = !rst_n;

PWMaudio pwm_audio (
.io_pwm_1 (pwm_1_out ), //o
.io_pwm_2 (pwm_2_out ), //o
.io_frequency[11:8] (uio_in[7:4] ), //i
.io_frequency[7:0] (ui_in[7:0] ), //i
.io_adsr_switch (uio_in[3] ), //i
.io_adsr_choice (uio_in[2:0] ), //i
.clk (clk ), //i
.reset (reset ) //i
.io_pwm_1 (pwm_1_out ), //o
.io_pwm_2 (pwm_2_out ), //o
.io_frequency ({uio_in[7:4],ui_in[7:0]} ), //i
.io_adsr_switch (uio_in[3] ), //i
.io_adsr_choice (uio_in[2:0] ), //i
.clk (clk ), //i
.reset (reset ) //i
);

// All output pins must be assigned. If not used, assign to 0.
Expand Down

0 comments on commit 7807473

Please sign in to comment.