From 19fe5c9005ee2c021eb2a40165b60478cc7e4ff1 Mon Sep 17 00:00:00 2001 From: Jens Ahrensfeld Date: Wed, 28 Oct 2009 23:13:33 +0000 Subject: [PATCH] - 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 --- lib/CPUs/JCpu/src/itest_irom.vhdl | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/lib/CPUs/JCpu/src/itest_irom.vhdl b/lib/CPUs/JCpu/src/itest_irom.vhdl index 94609a3..0ed28f2 100644 --- a/lib/CPUs/JCpu/src/itest_irom.vhdl +++ b/lib/CPUs/JCpu/src/itest_irom.vhdl @@ -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 :=