,我有2个VHDL源程序调试不出来.library ieee;use ieee.std_logic_1164.all;use ieee.std_logic_arith.all;use ieee.std_logic_unsigned.all;entity smultadd1 is port (clk_regbt,clk_reg:in std_logic;a0,a1,a2,b0,b1,x0,x1,x2:in std_logic_vector(4 downt
来源:学生作业帮助网 编辑:作业帮 时间:2024/08/31 02:40:59
![,我有2个VHDL源程序调试不出来.library ieee;use ieee.std_logic_1164.all;use ieee.std_logic_arith.all;use ieee.std_logic_unsigned.all;entity smultadd1 is port (clk_regbt,clk_reg:in std_logic;a0,a1,a2,b0,b1,x0,x1,x2:in std_logic_vector(4 downt](/uploads/image/z/12831266-2-6.jpg?t=%2C%E6%88%91%E6%9C%892%E4%B8%AAVHDL%E6%BA%90%E7%A8%8B%E5%BA%8F%E8%B0%83%E8%AF%95%E4%B8%8D%E5%87%BA%E6%9D%A5.library+ieee%3Buse+ieee.std_logic_1164.all%3Buse+ieee.std_logic_arith.all%3Buse+ieee.std_logic_unsigned.all%3Bentity+smultadd1+is+port+%28clk_regbt%2Cclk_reg%3Ain+std_logic%3Ba0%2Ca1%2Ca2%2Cb0%2Cb1%2Cx0%2Cx1%2Cx2%3Ain+std_logic_vector%284+downt)
,我有2个VHDL源程序调试不出来.library ieee;use ieee.std_logic_1164.all;use ieee.std_logic_arith.all;use ieee.std_logic_unsigned.all;entity smultadd1 is port (clk_regbt,clk_reg:in std_logic;a0,a1,a2,b0,b1,x0,x1,x2:in std_logic_vector(4 downt
,我有2个VHDL源程序调试不出来.
library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_arith.all;
use ieee.std_logic_unsigned.all;
entity smultadd1 is
port (clk_regbt,clk_reg:in std_logic;
a0,a1,a2,b0,b1,x0,x1,x2:in std_logic_vector(4 downto 0);
y0,y1:in std_logic_vector(8 downto 0);
yout:out std_logic_vector(8 downto 0));
end smultadd1;
architecture bhv of smultadd1 is
signal tan,tbn,tp2n:std_logic;
signal cnt:std_logic_vector(2 downto 0);
signal ta,tb,taa,tbb:std_logic_vector(3 downto 0);
signal tmpa,tmpb:std_logic_vector(4 downto 0);
signal tp,tpp,tppp:std_logic_vector(7 downto 0);
signal ytmp,p:std_logic_vector(8 downto 0);
begin
tmpa'0');
tmpb'0');
ta
,我有2个VHDL源程序调试不出来.library ieee;use ieee.std_logic_1164.all;use ieee.std_logic_arith.all;use ieee.std_logic_unsigned.all;entity smultadd1 is port (clk_regbt,clk_reg:in std_logic;a0,a1,a2,b0,b1,x0,x1,x2:in std_logic_vector(4 downt
tmpb'0');
这里有问题吧
tmpb:std_logic_vector(4 downto 0);
y0,y1:in std_logic_vector(8 downto 0);
tmpb和y0、y1信号的位数不一样