卖数据是啥:FPGA中如何利用其中的乘法器
来源:百度文库 编辑:查人人中国名人网 时间:2024/10/06 16:09:44
可以用开发工具里面带的IP,调出元件进行进行连接就可以用了。
或者用例化语句应用。用语言调用可用下面的语句
Library UNISIM;
use UNISIM.vcomponents.all;
-- <-----Cut code below this line and paste into the architecture body---->
-- MULT18X18: 18 x 18 signed asynchronous multiplier
-- Virtex-II/II-Pro, Spartan-3
-- Xilinx HDL Language Template version 6.3i
MULT18X18_inst : MULT18X18
port map (
P => P, -- 36-bit multiplier output
A => A, -- 18-bit multiplier input
B => B -- 18-bit multiplier input
);
-- End of MULT18X18_inst instantiation