fixed CLOCK_TICK generic
This commit is contained in:
@@ -24,7 +24,9 @@ PACKAGE ddr2_ram_model_pkg IS
|
|||||||
GENERIC
|
GENERIC
|
||||||
(
|
(
|
||||||
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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user