westwing 发表于 2013-10-22 21:55:22

lattice FPGA, EBR 中能定义 array 吗?

在EBR中能不能直接定义数组?例如:

constant BUFFER_SIZE                : integer := SAMPLE_SIZE*2;
subtype buf_word is std_logic_vector(7 downto 0);
type buf_type is array((BUFFER_SIZE-1) downto 0) of buf_word;
signal array_buf                : buf_type;

如何把array_buf分配到EBR中呢?
页: [1]
查看完整版本: lattice FPGA, EBR 中能定义 array 吗?