Enhance bram_writer and testbench: add data handling for convolution, update state machine, and introduce new configuration files for simulation

This commit is contained in:
2025-04-17 21:29:02 +02:00
parent 7ee12b37fe
commit 667632bfa3
4 changed files with 358 additions and 15 deletions

View File

@@ -127,6 +127,12 @@ BEGIN
wait until write_ok = '1';
wait until rising_edge(clk);
-- Require data
for i in 0 to IMG_SIZE*IMG_SIZE-1 loop
conv_addr <= std_logic_vector(to_unsigned(i, ADDR_WIDTH));
wait until rising_edge(clk);
end loop;
-- Simulate convolution done
done_conv <= '1';
wait until rising_edge(clk);