• 大小: 2.14MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-10-26
  • 语言: 其他
  • 标签: 分布式  

资源简介

分布式FIR滤波器代码的一部分 //----------------------- // module description //----------------------- module fir_da( //input din, clock, reset, // dout ); //----------------------- // port declaration //----------------------- input [7:0] din; input clock; input reset; output [7:0] dout; //----------------------------------------------------- // signal declaration //----------------------------------------------------- reg [7:0] din_reg_00_8b; //移位寄存器 reg [7:0] din_reg_01_8b; reg [7:0] din_reg_02_8b; reg [7:0] din_reg_03_8b; reg [7:0] din_reg_04_8b; reg [7:0] din_reg_05_8b; reg [7:0] din_reg_06_8b; function[7:0] lookup_0; input [3:0] din; begin case(din) 4'b0000: lookup_0=16'h0; 4'b0001: lookup_0=16'h0; 4'b0010: lookup_0=16'h1; 4'b0011: lookup_0=16'h1; 4'b0100: lookup_0=16'h3; 4'b0101: lookup_0=16'h3; 4'b0110: lookup_0=16'h4; 4'b0111: lookup_0=16'h4; 4'b1000: lookup_0=16'h4; 4'b1001: lookup_0=16'h4; 4'b1010: lookup_0=16'h5; 4'b1011: lookup_0=16'h5; 4'b1100: lookup_0=16'h7; 4'b1101: lookup_0=16'h7; 4'b1110: lookup_0=16'h8; 4'b1111: lookup_0=16'h8; endcase end endfunction function[7:0] lookup_1; input [3:0] din; begin case(din) 4'b0000: lookup_1=16'h0; 4'b0001: lookup_1=16'h0; 4'b0010: lookup_1=16'h1; 4'b0011: lookup_1=16'h1; 4'b0100: lookup_1=16'h3; 4'b0101: lookup_1=16'h3; 4'b0110: lookup_1=16'h4; 4'b0111: lookup_1=16'h4; 4'b1000: lookup_1=16'h4; 4'b1001: lookup_1=16'h4; 4'b1010: lookup_1=16'h5; 4'b1011: lookup_1=16'h5; 4'b1100: lookup_1=16'h7; 4'b1101: lookup_1=16'h7; 4'b1110: lookup_1=16'h8; 4'b1111: lookup_1=16'h8; endcase end endfunction

资源截图

代码片段和文件信息

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      14456  2011-06-02 14:03  fir_da_wangsha\db\fir_da.(0).cnf.cdb

     文件       4797  2011-06-02 14:03  fir_da_wangsha\db\fir_da.(0).cnf.hdb

     文件       2190  2011-06-02 14:03  fir_da_wangsha\db\fir_da.asm.qmsg

     文件      33019  2011-06-02 14:03  fir_da_wangsha\db\fir_da.asm_labs.ddb

     文件         88  2011-06-02 14:03  fir_da_wangsha\db\fir_da.cbx.xml

     文件        686  2011-06-02 14:03  fir_da_wangsha\db\fir_da.cmp.bpm

     文件      70422  2011-06-02 14:03  fir_da_wangsha\db\fir_da.cmp.cdb

     文件         28  2011-06-02 14:03  fir_da_wangsha\db\fir_da.cmp.ecobp

     文件      18190  2011-06-02 14:03  fir_da_wangsha\db\fir_da.cmp.hdb

     文件        337  2011-06-02 14:03  fir_da_wangsha\db\fir_da.cmp.kpt

     文件      16639  2011-06-02 14:03  fir_da_wangsha\db\fir_da.cmp.logdb

     文件      22769  2011-06-02 14:03  fir_da_wangsha\db\fir_da.cmp.rdb

     文件        343  2011-06-02 14:03  fir_da_wangsha\db\fir_da.cmp_merge.kpt

     文件     387994  2011-06-02 14:03  fir_da_wangsha\db\fir_da.cuda_io_sim_cache.31um_ff_1200mv_0c_fast.hsd

     文件     379560  2011-06-02 14:03  fir_da_wangsha\db\fir_da.cuda_io_sim_cache.31um_tt_1200mv_85c_slow.hsd

     文件        137  2011-06-02 13:14  fir_da_wangsha\db\fir_da.db_info

     文件        161  2011-06-02 14:28  fir_da_wangsha\db\fir_da.eco.cdb

     文件      51372  2011-06-02 14:03  fir_da_wangsha\db\fir_da.fit.qmsg

     文件      13855  2011-06-02 14:03  fir_da_wangsha\db\fir_da.hier_info

     文件        737  2011-06-02 14:03  fir_da_wangsha\db\fir_da.hif

     文件        430  2011-06-02 14:03  fir_da_wangsha\db\fir_da.lpc.html

     文件        385  2011-06-02 14:03  fir_da_wangsha\db\fir_da.lpc.rdb

     文件       1060  2011-06-02 14:03  fir_da_wangsha\db\fir_da.lpc.txt

     文件        670  2011-06-02 14:03  fir_da_wangsha\db\fir_da.map.bpm

     文件      15817  2011-06-02 14:03  fir_da_wangsha\db\fir_da.map.cdb

     文件         28  2011-06-02 14:03  fir_da_wangsha\db\fir_da.map.ecobp

     文件      17536  2011-06-02 14:03  fir_da_wangsha\db\fir_da.map.hdb

     文件      95212  2011-06-02 14:03  fir_da_wangsha\db\fir_da.map.kpt

     文件          4  2011-06-02 14:03  fir_da_wangsha\db\fir_da.map.logdb

     文件       4154  2011-06-02 14:03  fir_da_wangsha\db\fir_da.map.qmsg

............此处省略62个文件信息

评论

共有 条评论