fixed bug in manager to controller

This commit is contained in:
Adam 2025-05-27 17:49:04 +02:00
parent eda5cc3e16
commit 0c44ea45db

View File

@ -96,7 +96,7 @@ begin
elsif write_address.reserved(0) = '1' and controller_to_manager.ready = '1' and controller_to_manager.done_writing = '0'then
manager_to_controller.address <= write_address.address & "0000000000";
manager_to_controller.driver_id <= "1"; -- Only supports one driver at present
manager_to_controller.seq_mem_access_count <= 2**to_integer(unsigned(read_address.size)) * 2**10;
manager_to_controller.seq_mem_access_count <= 2**to_integer(unsigned(write_address.size)) * 2**10;
cmd <= "01";
else
-- No instruction present in memory, all zeroes to control unit