【发布时间】:2016-08-05 09:03:13
【问题描述】:
在VHDL中可以通过以下方式创建参数化范围的数组类型:
type t_array_type is array (natural range <>) of std_logic_vector(7 downto 0)
现在,是否可以创建一个可参数化元素的数组? IE。有一个数组类型,在实例化信号时,可以定义std_logic_vector的范围?这样做的目的是不必为每个 std_logic_vector 范围声明单独的数组类型。
【问题讨论】: