diff --git a/src/attenuation.v b/src/attenuation.v index 293833f..752dfff 100644 --- a/src/attenuation.v +++ b/src/attenuation.v @@ -1,3 +1,4 @@ +/* verilator lint_off REALCVT */ module attenuation #( parameter CONTROL_BITS = 4, parameter VOLUME_BITS = 15 ) ( input wire in, diff --git a/src/noise.v b/src/noise.v index 17b3d5a..b9b9fc1 100644 --- a/src/noise.v +++ b/src/noise.v @@ -1,3 +1,5 @@ +/* verilator lint_off WIDTH */ + // For the SMS (1 and 2), Genesis and Game Gear, the tapped bits are bits 0 and 3 ($0009), fed back into bit 15. // For the SG-1000, OMV, SC-3000H, BBC Micro and Colecovision, the tapped bits are bits 0 and 1 ($0003), fed back into bit 14. // For the Tandy 1000, the tapped bits are bits 0 and 4 ($0011), fed back into bit 14. @@ -35,6 +37,7 @@ module noise #( parameter LFSR_BITS = 15, LFSR_TAP0 = 0, LFSR_TAP1 = 1, paramete .out(noise_trigger)); reg is_white_noise; + reg reset_lfsr; reg [LFSR_BITS-1:0] lfsr; assign reset_lfsr = reset | restart_noise; always @(posedge noise_trigger, posedge reset_lfsr) begin