1
0
SEm-Labos/Libs/NanoBlaze/hdl/rom_empty.vhd
github-classroom[bot] d212040c30
Initial commit
2024-02-23 13:01:05 +00:00

22 lines
447 B
VHDL

ARCHITECTURE empty OF programRom IS
subtype memoryWordType is std_ulogic_vector(dataOut'range);
type memoryArrayType is array (0 to 2**address'length-1) of memoryWordType;
signal memoryArray : memoryArrayType := (
others => (others => '0')
);
BEGIN
process (clock)
begin
if rising_edge(clock) then
if en = '1' then
dataOut <= (others => '0');
end if;
end if;
end process;
END ARCHITECTURE empty;