- removed ROM-depth generic

Committed on the Free edition of March Hare Software CVSNT Server.
Upgrade to CVS Suite for more features and support:
http://march-hare.com/cvsnt/


git-svn-id: http://moon:8086/svn/vhdl/trunk@556 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
2009-10-28 23:13:33 +00:00
parent d9f9c66962
commit 19fe5c9005
+5 -8
View File
@@ -26,25 +26,22 @@ use IEEE.STD_LOGIC_1164.ALL;
USE ieee.numeric_std.ALL;
library work;
use work.types_pkg.all;
use work.cpu_pkg.all;
-- JASM_ROM_INSERT_HERE
ENTITY irom IS
Generic
Port
(
depth : integer := 4
);
Port (
clk : in STD_LOGIC;
ce : in STD_LOGIC;
addr : in addr_t;
dout : out word_t
addr : in inst_addr_t;
dout : out inst_t
);
END irom;
ARCHITECTURE itest OF irom IS
type imem_rom_t is array (0 to depth-1) of word_t;
type imem_rom_t is array (0 to 1023) of inst_t;
-- Assembled from itest.jsm
constant imem_rom : imem_rom_t :=