fixed CLOCK_TICK generic

This commit is contained in:
Markus Fröschle
2014-12-22 06:09:10 +00:00
parent 3e769ceeb4
commit 5b64c3d6cf
2 changed files with 6 additions and 1 deletions

View File

@@ -25,6 +25,8 @@ PACKAGE ddr2_ram_model_pkg IS
( (
VERBOSE : BOOLEAN := TRUE; -- define if you want additional debug output VERBOSE : BOOLEAN := TRUE; -- define if you want additional debug output
CLOCK_TICK : TIME := (1000000 / 132000) * 1 ps; -- time for one clock tick
BA_BITS : INTEGER := 2; -- number of banks BA_BITS : INTEGER := 2; -- number of banks
ADDR_BITS : INTEGER := 13; -- number of address bits ADDR_BITS : INTEGER := 13; -- number of address bits
DM_BITS : INTEGER := 2; -- number of data mask bits DM_BITS : INTEGER := 2; -- number of data mask bits

View File

@@ -108,6 +108,9 @@ BEGIN
GENERIC MAP GENERIC MAP
( (
VERBOSE => TRUE, -- define if you want additional debug output VERBOSE => TRUE, -- define if you want additional debug output
CLOCK_TICK => (1000000 / 132000) * 1 ps, -- time for one clock tick
BA_BITS => 2, -- number of banks BA_BITS => 2, -- number of banks
ADDR_BITS => 13, -- number of address bits ADDR_BITS => 13, -- number of address bits
DM_BITS => 2, -- number of data mask bits DM_BITS => 2, -- number of data mask bits