mirror of
https://github.com/stnolting/neorv32.git
synced 2025-04-23 21:57:33 -04:00
move bootload/application image prototype definition to neorv32_package.vhd
This commit is contained in:
parent
84f9007321
commit
779cac8568
5 changed files with 40 additions and 30 deletions
|
@ -4,7 +4,7 @@
|
|||
-- MARCH: default
|
||||
-- Built: 03.06.2022 06:03:44
|
||||
|
||||
-- prototype defined in 'neorv32_imem.entity.vhd'
|
||||
-- prototype defined in 'neorv32_package.vhd'
|
||||
package body neorv32_application_image is
|
||||
|
||||
constant application_init_image : mem32_t := (
|
||||
|
|
|
@ -4,13 +4,8 @@
|
|||
-- MARCH: default
|
||||
-- Built: 03.06.2022 06:02:56
|
||||
|
||||
library ieee;
|
||||
use ieee.std_logic_1164.all;
|
||||
|
||||
library neorv32;
|
||||
use neorv32.neorv32_package.all;
|
||||
|
||||
package neorv32_bootloader_image is
|
||||
-- prototype defined in 'neorv32_package.vhd'
|
||||
package body neorv32_bootloader_image is
|
||||
|
||||
constant bootloader_init_image : mem32_t := (
|
||||
00000000 => x"30005073",
|
||||
|
|
|
@ -57,17 +57,3 @@ entity neorv32_imem is
|
|||
err_o : out std_ulogic -- transfer error
|
||||
);
|
||||
end neorv32_imem;
|
||||
|
||||
|
||||
-- memory content in 'neorv32_application_image.vhd'
|
||||
-- auto-generated by 'image_gen'
|
||||
-- enables body compile only in case of FW change
|
||||
library ieee;
|
||||
use ieee.std_logic_1164.all;
|
||||
|
||||
library neorv32;
|
||||
use neorv32.neorv32_package.all;
|
||||
|
||||
package neorv32_application_image is
|
||||
constant application_init_image : mem32_t;
|
||||
end neorv32_application_image;
|
||||
|
|
|
@ -2521,3 +2521,37 @@ package body neorv32_package is
|
|||
|
||||
|
||||
end neorv32_package;
|
||||
|
||||
|
||||
|
||||
|
||||
-- bootloader_init_image: prototype definition
|
||||
-- memory content in 'neorv32_bootloader_image.vhd'
|
||||
-- auto-generated by 'image_gen'
|
||||
-- enables body compile only in case of FW change
|
||||
library ieee;
|
||||
use ieee.std_logic_1164.all;
|
||||
|
||||
library neorv32;
|
||||
use neorv32.neorv32_package.all;
|
||||
|
||||
package neorv32_bootloader_image is
|
||||
constant bootloader_init_image : mem32_t;
|
||||
end neorv32_bootloader_image;
|
||||
|
||||
|
||||
|
||||
|
||||
-- neorv32_application_image: prototype definition
|
||||
-- memory content in 'neorv32_application_image.vhd'
|
||||
-- auto-generated by 'image_gen'
|
||||
-- enables body compile only in case of FW change
|
||||
library ieee;
|
||||
use ieee.std_logic_1164.all;
|
||||
|
||||
library neorv32;
|
||||
use neorv32.neorv32_package.all;
|
||||
|
||||
package neorv32_application_image is
|
||||
constant application_init_image : mem32_t;
|
||||
end neorv32_application_image;
|
||||
|
|
|
@ -219,7 +219,7 @@ int main(int argc, char *argv[]) {
|
|||
"-- MARCH: %s\n"
|
||||
"-- Built: %s\n"
|
||||
"\n"
|
||||
"-- prototype defined in 'neorv32_imem.entity.vhd'\n"
|
||||
"-- prototype defined in 'neorv32_package.vhd'\n"
|
||||
"package body neorv32_application_image is\n"
|
||||
"\n"
|
||||
" constant application_init_image : mem32_t := (\n", argv[4], argv[2], raw_exe_size, string_march, compile_time);
|
||||
|
@ -289,13 +289,8 @@ int main(int argc, char *argv[]) {
|
|||
"-- MARCH: %s\n"
|
||||
"-- Built: %s\n"
|
||||
"\n"
|
||||
"library ieee;\n"
|
||||
"use ieee.std_logic_1164.all;\n"
|
||||
"\n"
|
||||
"library neorv32;\n"
|
||||
"use neorv32.neorv32_package.all;\n"
|
||||
"\n"
|
||||
"package neorv32_bootloader_image is\n"
|
||||
"-- prototype defined in 'neorv32_package.vhd'\n"
|
||||
"package body neorv32_bootloader_image is\n"
|
||||
"\n"
|
||||
" constant bootloader_init_image : mem32_t := (\n", argv[4], argv[2], raw_exe_size, string_march, compile_time);
|
||||
fputs(tmp_string, output);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue