[mem] minor fix

This commit is contained in:
stnolting 2023-11-11 07:42:49 +01:00
parent 8a851901da
commit 06e13d5cd3
2 changed files with 2 additions and 2 deletions

View file

@ -55,7 +55,7 @@ architecture neorv32_imem_rtl of neorv32_imem is
-- --------------------------- --
-- application (image) size in bytes --
constant imem_app_size_c : natural range 0 to IMEM_SIZE-1 := (application_init_image'length)*4;
constant imem_app_size_c : natural := (application_init_image'length)*4;
-- ROM - initialized with executable code --
constant mem_rom_c : mem32_t(0 to IMEM_SIZE/4-1) := mem32_init_f(application_init_image, IMEM_SIZE/4);

View file

@ -55,7 +55,7 @@ architecture neorv32_imem_rtl of neorv32_imem is
-- --------------------------- --
-- application (image) size in bytes --
constant imem_app_size_c : natural range 0 to IMEM_SIZE-1 := (application_init_image'length)*4;
constant imem_app_size_c : natural := (application_init_image'length)*4;
-- ROM - initialized with executable code --
constant mem_rom_c : mem32_t(0 to IMEM_SIZE/4-1) := mem32_init_f(application_init_image, IMEM_SIZE/4);