From 993ed34ee4cb82668a1bf63a71c477d3764d71e8 Mon Sep 17 00:00:00 2001 From: thfu <2779155576@qq.com> Date: Sat, 9 Nov 2024 17:51:37 +0800 Subject: [PATCH] v04-eliminate warning --- rtl/z_dsp.v | 4 ++-- tb/tb_z_dsp.v | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/rtl/z_dsp.v b/rtl/z_dsp.v index 9b92a90..ebc1bef 100644 --- a/rtl/z_dsp.v +++ b/rtl/z_dsp.v @@ -36,9 +36,9 @@ module z_dsp input clk, input rstn, input en, //enable -input dac_mode_sel, //2'b00:NRZ mode;2'b01:Double data mode; +input [1:0] dac_mode_sel, //2'b00:NRZ mode;2'b01:Double data mode; //2'b10:Double Double data mode;2'b11:reserve; -input [1:0] tc_bypass, +input tc_bypass, input [1:0] intp_mode, //2'b00:x1;2'b01:x2,'b10:x4;other:reserve; input signed [15:0] din_re, input signed [15:0] din_im, diff --git a/tb/tb_z_dsp.v b/tb/tb_z_dsp.v index 2f1a01e..b57b1fc 100644 --- a/tb/tb_z_dsp.v +++ b/tb/tb_z_dsp.v @@ -46,7 +46,6 @@ reg [15:0] iir_in; wire [1 :0] source_mode; wire [15:0] cos; wire [15:0] sin; -wire [15:0] dout_p0; reg en;