ganimede-toplevel-template #13

Merged
Adam merged 41 commits from ganimede-toplevel-template into main 2025-03-13 16:41:18 +01:00
Showing only changes of commit 4c4d62554f - Show all commits

View File

@ -27,8 +27,15 @@ architecture tb of control_unit_tb is
shared variable word_counter: natural := 0;
begin
clock <= not clock after cycle / 2;
clock_proc: process
begin
for i in 0 to 50 loop
wait for cycle / 2;
clock <= not clock;
end loop;
wait;
end process clock_proc;
control_unit_inst: entity work.control_unit
port map(
@ -47,6 +54,8 @@ begin
control_input.address <= x"F0F0F0F0";
control_input.seq_mem_access_count <= "00000111";
word_counter := 3;
wait for cycle;
current_driver <= "010";
report "entering loop with word_counter" & integer'image(word_counter);
for_loop: for i in word_counter - 1 downto 0 loop