利用Vivado, VHDL实现任意大小的矩阵乘法运算,matlab生成任意的测试数据,将仿真结果与matlab结果进行对比,最终实现全部匹配,紧急求教大神指点,可有chang.
entity IntMatMulCore is
port(
Reset, Clock, WriteEnable, BufferSel: in std_logic;
WriteAddress: in std_logic_vector (9 downto 0);
WriteData: in std_logic_vector (15 downto 0);
ReadAddress: in std_logic_vector (9 downto 0);
ReadEnable: in std_logic;
A: in std_logic_vector (4 downto 0); --A的列,B的行
B: in std_logic_vector (4 downto 0); --B的列
C: in std_logic_vector (4 downto 0); --A的行
ReadData: out std_logic_vector (63 downto 0);
DataReady: out std_logic
);
end IntMatMulCore;
更多回帖