Skip to content
Snippets Groups Projects
Commit 945b0d39 authored by Job van Wee's avatar Job van Wee
Browse files

Ready for review.

parent 595b5acb
No related branches found
No related tags found
1 merge request!215Resolve L2SDP-660
Pipeline #25886 passed
...@@ -50,7 +50,7 @@ ARCHITECTURE tb OF tb_ddrctrl_pack IS ...@@ -50,7 +50,7 @@ ARCHITECTURE tb OF tb_ddrctrl_pack IS
CONSTANT c_out_data_w : NATURAL := g_nof_streams * g_data_w; -- output data with, 168 CONSTANT c_out_data_w : NATURAL := g_nof_streams * g_data_w; -- output data with, 168
FUNCTION c_testv_init RETURN STD_LOGIC_VECTOR IS FUNCTION c_testv_init RETURN STD_LOGIC_VECTOR IS
VARIABLE temp : STD_LOGIC_VECTOR(c_out_data_w-1 DOWNTO 0); VARIABLE temp : STD_LOGIC_VECTOR(c_out_data_w-1 DOWNTO 0);
BEGIN BEGIN
FOR I IN 0 TO g_nof_streams-1 LOOP FOR I IN 0 TO g_nof_streams-1 LOOP
temp(g_data_w*(I+1)-1 DOWNTO g_data_w*I) := TO_UVEC(I, g_data_w); temp(g_data_w*(I+1)-1 DOWNTO g_data_w*I) := TO_UVEC(I, g_data_w);
...@@ -78,7 +78,7 @@ BEGIN ...@@ -78,7 +78,7 @@ BEGIN
-- Start the testbench. -- Start the testbench.
tb_end <= '0'; tb_end <= '0';
WAIT UNTIL rising_edge(clk); -- align to rising edge WAIT UNTIL rising_edge(clk); -- align to rising edge
WAIT FOR c_clk_period*2; WAIT FOR c_clk_period*2;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment