在使用Trion乘法器可能会遇到以下问题:
(1)[EFX-0652 ERROR] 'EFX_MULT' instance 'mult' port 'CEA' is not permanently disabled in the Register Bypass mode.
说明:如果输入寄存器A_REG没有使能,CEA接口要设置为0
(2)[EFX-0652 ERROR] 'EFX_MULT' instance 'mult' port 'RSTA' is not permanently disabled in the Register Bypass mode.
说明:如果输入寄存器A_REG没有使能,RSTA接口要设置为0
(3)[EFX-0652 ERROR] 'EFX_MULT' instance 'mult' port 'CLK' is not permanently disabled in the Register Bypass mode.
说明:如果输入和输出寄存都没有使用的话,时钟也要设置为0。
所以这里提供下面的写法供参考。
EFX_MULT
.WIDTH(18),
.A_REG(AREG),
.B_REG(BREG),
.O_REG(OREG),
.CLK_POLARITY(1'b1), // 0 falling edge, 1 rising edge
.CEA_POLARITY(1'b1), // 0 falling edge, 1 rising edge
.RSTA_POLARITY(1'b0), // 0 falling edge, 1 rising edge
.RSTA_SYNC(1'b0), // 0 aynchronous, 1 synchronous
.RSTA_VALUE(1'b0), // 0 reset, 1 set
.CEB_POLARITY(1'b1), // 0 falling edge, 1 rising edge
.RSTB_POLARITY(1'b0), // 0 falling edge, 1 rising edge
.RSTB_SYNC(1'b0), // 0 aynchronous, 1 synchronous
.RSTB_VALUE(1'b0), // 0 reset, 1 set
.CEO_POLARITY(1'b1), // 0 falling edge, 1 rising edge
.RSTO_POLARITY(1'b0), // 0 falling edge, 1 rising edge
.RSTO_SYNC(1'b0), // 0 aynchronous, 1 synchronous
.RSTO_VALUE(1'b0) // 0 reset, 1 set
) mult (
.CLK((AREG || BREG || OREG) ? clk : 0),
.CEA(AREG),
.RSTA(AREG ? rst : 1),
.CEB(BREG),
.RSTB(BREG ? rst : 1),
.CEO(OREG),
.RSTO(OREG ? rst : 1),
.A(A_in),
.B(B_in),
.O(O_out)
);
-
dsp
+关注
关注
546文章
7672浏览量
345207 -
原语使用
+关注
关注
0文章
2浏览量
1212
发布评论请先 登录
相关推荐
加法进位链的手动约束
![加法进位链的手动约束](https://file1.elecfans.com/web2/M00/E7/23/wKgZomZKxcOAcrJ7AAAeI2Fu7wM072.png)
Versal FPGA中的浮点计算单元DSPFP32介绍
![Versal FPGA中的浮点计算单元DSPFP32介绍](https://file1.elecfans.com/web2/M00/C0/85/wKgZomXWohiAHnvjAAA44K3YKrA091.png)
dsp是什么意思 dsp功放对音质到底有没有提升
dsp芯片和arm芯片区别 dsp的应用领域
dsp是什么意思 dsp怎么调音质最好
如何用RTL原语实现MUX门级映射呢?
![如何用RTL<b class='flag-5'>原语</b>实现MUX门级映射呢?](https://file1.elecfans.com/web2/M00/B7/25/wKgZomV6vG2AcdDvAADxZe2eWlg254.jpg)
DSP芯片的特点与分类
dsp数字电源设计实例
数字电源dsp芯片是什么?
DSP的芯片架构解析 DSP的基本术语
![<b class='flag-5'>DSP</b>的芯片架构解析 <b class='flag-5'>DSP</b>的基本术语](https://file1.elecfans.com/web2/M00/A5/E7/wKgaomUPm42AWRWQAABMen2ibEw210.png)
光在光纤中的传输原怎样还原语音?
![](https://file1.elecfans.com/web2/M00/8C/DF/wKgaomS0nE2ASOcsACtgyGGV1U0691.png)
评论