我正在尝试在 VHDL 中创建一个 5 维数组,但我不确定如何设置和初始化这些位。
这是我到目前为止所拥有的:
type \1-line\ is array (4 - 1 downto 0) of unsigned (32 - 1 downto 0);
type square is array (4 - 1 downto 0) of \1-line\;
type cube is array (4 - 1 downto 0) of square;
type hypercube is array (4 - 1 downto 0) of cube;
type \5-cube\ is array (4 - 1 downto 0) of cube;
signal mega_array : \5-cube\;
begin
process (clock, reset) begin
if (reset == '1') then
mega_array <= '0';
end if;
end process;
end behv;