test_top_total.v

来自「插值滤波器,用于音频解码调制解调,滤波器系数用移位相加实现」· Verilog 代码 · 共 29 行

V
29
字号
`timescale 1ns/10ps
module test_top_total(data_out);

output [18:1] data_out;

wire [18:1] data_in;
wire clock,reset,save;
integer fid;
wire [4:1] control;

top_total_sign top_total_sign(data_in,clock,reset,control,save);
top_total top_total(data_in,clock,reset,control,data_out);


initial
  begin
    $monitor("%d %d",save,data_in);
    //fid = $fopen("e:/MATLAB6p5/work/total(10000).dat");
    fid = $fopen("E:/ASIC/data/data_in.dat");
  end
    always @(posedge save) 
      begin
          if(save) 
             begin 
             $fwrite(fid,"%d\n",data_in);
             end
       end      
endmodule

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?