【问题标题】:VHDL Unknown identifier "signed" in numeric_stdnumeric_std 中的 VHDL 未知标识符“已签名”
【发布时间】:2012-03-27 21:22:37
【问题描述】:

这些是我的声明。为什么它不将签名标识为类型?我已经导入了 numeric_std 库,在文档中我看到它支持有符号和无符号。这里有什么问题?

library IEEE;
use IEEE.STD_LOGIC_1164.all;

use work.my_package.all;

entity landmark_1 is
  generic
        (data_length :integer := 8;
        address_length:integer:=3 );
        port ( clk:in std_logic;
        vin:in std_logic;
        rst:in std_logic;
        flag: in std_logic;
        din: in signed(data_length -1 downto 0)

        done: out std_logic
        );
end landmark_1;

【问题讨论】:

    标签: vhdl


    【解决方案1】:

    尝试包含use ieee.numeric_std.all;

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2017-02-19
      • 1970-01-01
      • 2013-01-04
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多