@@ -25,6 +25,7 USE IEEE.std_logic_1164.ALL; | |||||
25 | LIBRARY grlib; |
|
25 | LIBRARY grlib; | |
26 | USE grlib.amba.ALL; |
|
26 | USE grlib.amba.ALL; | |
27 | USE grlib.stdlib.ALL; |
|
27 | USE grlib.stdlib.ALL; | |
|
28 | library axcelerator; | |||
28 | LIBRARY techmap; |
|
29 | LIBRARY techmap; | |
29 | USE techmap.gencomp.ALL; |
|
30 | USE techmap.gencomp.ALL; | |
30 | USE techmap.axcomp.ALL; |
|
31 | USE techmap.axcomp.ALL; | |
@@ -48,8 +49,7 USE lpp.general_purpose.ALL; | |||||
48 | USE lpp.lpp_lfr_management.ALL; |
|
49 | USE lpp.lpp_lfr_management.ALL; | |
49 | USE lpp.lpp_leon3_soc_pkg.ALL; |
|
50 | USE lpp.lpp_leon3_soc_pkg.ALL; | |
50 |
|
51 | |||
51 | --library proasic3l; |
|
52 | ||
52 | --use proasic3l.all; |
|
|||
53 |
|
53 | |||
54 | ENTITY LFR_FM IS |
|
54 | ENTITY LFR_FM IS | |
55 | GENERIC ( |
|
55 | GENERIC ( | |
@@ -170,7 +170,8 ARCHITECTURE beh OF LFR_FM IS | |||||
170 |
|
170 | |||
171 | SIGNAL clk50MHz_int : STD_LOGIC := '0'; |
|
171 | SIGNAL clk50MHz_int : STD_LOGIC := '0'; | |
172 |
|
172 | |||
173 | component clkint port(A : in std_ulogic; Y :out std_ulogic); end component; |
|
173 | --component clkint port(A : in std_ulogic; Y :out std_ulogic); end component; | |
|
174 | --component hclkint port(A : in std_ulogic; Y :out std_ulogic); end component; | |||
174 |
|
175 | |||
175 | SIGNAL rstn_50 : STD_LOGIC; |
|
176 | SIGNAL rstn_50 : STD_LOGIC; | |
176 | SIGNAL clk_lock : STD_LOGIC; |
|
177 | SIGNAL clk_lock : STD_LOGIC; |
@@ -55,7 +55,7 ARCHITECTURE behav OF testbench IS | |||||
55 | -- nSRAM_SCRUB : OUT STD_LOGIC; -- new |
|
55 | -- nSRAM_SCRUB : OUT STD_LOGIC; -- new | |
56 | SIGNAL nSRAM_W : STD_LOGIC; -- new |
|
56 | SIGNAL nSRAM_W : STD_LOGIC; -- new | |
57 | SIGNAL nSRAM_G : STD_LOGIC; -- new |
|
57 | SIGNAL nSRAM_G : STD_LOGIC; -- new | |
58 | SIGNAL nSRAM_BUSY : STD_LOGIC; -- new |
|
58 | SIGNAL nSRAM_BUSY : STD_LOGIC := '1'; -- new | |
59 | -- SPW -------------------------------------------------------------------- |
|
59 | -- SPW -------------------------------------------------------------------- | |
60 | SIGNAL spw1_en : STD_LOGIC; -- new |
|
60 | SIGNAL spw1_en : STD_LOGIC; -- new | |
61 | SIGNAL spw1_din : STD_LOGIC; |
|
61 | SIGNAL spw1_din : STD_LOGIC; | |
@@ -293,7 +293,19 spw2_sin <= '1'; | |||||
293 | ----------------------------------------------------------------------------- |
|
293 | ----------------------------------------------------------------------------- | |
294 | -- SRAMS Same as EM, we don't have UT8ER1M32 models |
|
294 | -- SRAMS Same as EM, we don't have UT8ER1M32 models | |
295 | ----------------------------------------------------------------------------- |
|
295 | ----------------------------------------------------------------------------- | |
296 | nSRAM_BUSY <= '1'; -- TODO emulate scrubbing |
|
296 | buy_gen: process | |
|
297 | begin | |||
|
298 | IF end_of_simu /= '1' THEN | |||
|
299 | nSRAM_BUSY <= '0'; | |||
|
300 | wait for 100 ns; | |||
|
301 | nSRAM_BUSY <= '1'; | |||
|
302 | WAIT FOR 100 us; | |||
|
303 | ELSE | |||
|
304 | WAIT FOR 10 ps; | |||
|
305 | assert false report "end of test" severity note; | |||
|
306 | WAIT; | |||
|
307 | END IF; | |||
|
308 | end process; | |||
297 |
|
309 | |||
298 | nSRAM_CE <= not nSRAM_E1; |
|
310 | nSRAM_CE <= not nSRAM_E1; | |
299 |
|
311 |
General Comments 0
You need to be logged in to leave comments.
Login now