Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
SPEC7
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
5
Issues
5
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Projects
SPEC7
Commits
73cffbb6
Commit
73cffbb6
authored
Jan 09, 2020
by
Peter Jansweijer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
get rid of deprecated do_elf.cmd
parent
9d315add
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
104 deletions
+0
-104
do_elf.cmd
hdl/spec7_ref_design/syn/do_elf.cmd
+0
-52
do_elf.cmd
hdl/spec7_write_design/syn/do_elf.cmd
+0
-52
No files found.
hdl/spec7_ref_design/syn/do_elf.cmd
deleted
100644 → 0
View file @
9d315add
rem do_elf.cmd PeterJ, 18-Oct-2013.
@prompt $$$s
rem Set the pointers to the elf files that need to be loaded in the ADDRESS_SPACEs defined in the _bd.bmm file
rem The names of the ADDRESS_SPACEs will be tags for data2mem such that data2mem "knows" where to place one and
rem the other "elf" file.
set elf_file_lm32_wrpc=..\..\..\sw\embedded\precompiled\wrps-sw_v4_2_CLBv2_peter_clbv2_km3net_f83fede_ppsi_0cc9d34\wrc.elf
set elf_file_lm32_wrpc=..\..\..\sw\embedded\wrpc-sw\wrc.elf
set tag_lm32_wrpc="lm32_wrpc_memory"
rem set elf_file_lm32_2nd=..\..\..\sw\embedded\TestDesigns\lm32_2nd_Test\helloworld\hello.elf
rem set elf_file_lm32_2nd=..\..\..\sw\embedded\TestDesigns\lm32_2nd_Test\bridge2wrpc\hello.elf
rem set elf_file_lm32_2nd=..\..\..\sw\embedded\TestDesigns\lm32_2nd_Test\ipmux\hello.elf
set elf_file_lm32_2nd=..\..\..\sw\embedded\CLBv2_App\build\runtime\exe\clbv2app_v221.elf
set tag_lm32_2nd="lm32_2nd_memory"
set DesName=fpga
set ImplName=%DesName%_elf
if exist "%DesName%.bit" (
rem it is assumed that there is a valid bit file (with empty" Block RAMs)
) else (
echo Run do_xilinx.cmd first to create a bit file.
exit
)
@echo Place ELF file content into bit file and netgen simualtion file of %DesName% on %date% at %time% > %ImplName%.log
@echo
@echo data2mem ... >> %ImplName%.log
@echo The Block RAMs in the original bit file are "empty" (=0x00). >> %ImplName%.log
@echo A new bitfile "%DesName%_elf.bit" will be created in which the Block RAMs are filled with the >> %ImplName%.log
@echo lm32 WRPC content of: %elf_file_lm32_wrpc% >> %ImplName%.log
@echo lm32 2nd content of: %elf_file_lm32_2nd% >> %ImplName%.log
data2mem -bm %DesName%_bd.bmm -bd %elf_file_lm32_wrpc% tag %tag_lm32_wrpc% -bd %elf_file_lm32_2nd% tag %tag_lm32_2nd% -bt %DesName%.bit -o b %ImplName%.bit >> %ImplName%.log
if "%1" == "dump" (
@echo >> %ImplName%.log
@echo For debugging purposes, dump %ImplName%.bit into dump_bit.txt >> %ImplName%.log
data2mem -bm %DesName%_bd.bmm -bt %ImplName%.bit -d > dump_bit.txt
)
rem
rem @echo netgen ... >> %ImplName%.log
rem @echo The Block RAMs in the original netgen\par\%DesName%_timesim.vhd are "empty" (=0x00). >> %ImplName%.log
rem @echo A new netgen\par\%DesName%_timesim_elf.vhd will be created in which the Block RAMs are filled with the >> %ImplName%.log
rem @echo content of: %elf_file_lm32_wrpc% >> %ImplName%.log
@rem -xon true
hdl/spec7_write_design/syn/do_elf.cmd
deleted
100644 → 0
View file @
9d315add
rem do_elf.cmd PeterJ, 18-Oct-2013.
@prompt $$$s
rem Set the pointers to the elf files that need to be loaded in the ADDRESS_SPACEs defined in the _bd.bmm file
rem The names of the ADDRESS_SPACEs will be tags for data2mem such that data2mem "knows" where to place one and
rem the other "elf" file.
set elf_file_lm32_wrpc=..\..\..\sw\embedded\precompiled\wrps-sw_v4_2_CLBv2_peter_clbv2_km3net_f83fede_ppsi_0cc9d34\wrc.elf
set elf_file_lm32_wrpc=..\..\..\sw\embedded\wrpc-sw\wrc.elf
set tag_lm32_wrpc="lm32_wrpc_memory"
rem set elf_file_lm32_2nd=..\..\..\sw\embedded\TestDesigns\lm32_2nd_Test\helloworld\hello.elf
rem set elf_file_lm32_2nd=..\..\..\sw\embedded\TestDesigns\lm32_2nd_Test\bridge2wrpc\hello.elf
rem set elf_file_lm32_2nd=..\..\..\sw\embedded\TestDesigns\lm32_2nd_Test\ipmux\hello.elf
set elf_file_lm32_2nd=..\..\..\sw\embedded\CLBv2_App\build\runtime\exe\clbv2app_v221.elf
set tag_lm32_2nd="lm32_2nd_memory"
set DesName=fpga
set ImplName=%DesName%_elf
if exist "%DesName%.bit" (
rem it is assumed that there is a valid bit file (with empty" Block RAMs)
) else (
echo Run do_xilinx.cmd first to create a bit file.
exit
)
@echo Place ELF file content into bit file and netgen simualtion file of %DesName% on %date% at %time% > %ImplName%.log
@echo
@echo data2mem ... >> %ImplName%.log
@echo The Block RAMs in the original bit file are "empty" (=0x00). >> %ImplName%.log
@echo A new bitfile "%DesName%_elf.bit" will be created in which the Block RAMs are filled with the >> %ImplName%.log
@echo lm32 WRPC content of: %elf_file_lm32_wrpc% >> %ImplName%.log
@echo lm32 2nd content of: %elf_file_lm32_2nd% >> %ImplName%.log
data2mem -bm %DesName%_bd.bmm -bd %elf_file_lm32_wrpc% tag %tag_lm32_wrpc% -bd %elf_file_lm32_2nd% tag %tag_lm32_2nd% -bt %DesName%.bit -o b %ImplName%.bit >> %ImplName%.log
if "%1" == "dump" (
@echo >> %ImplName%.log
@echo For debugging purposes, dump %ImplName%.bit into dump_bit.txt >> %ImplName%.log
data2mem -bm %DesName%_bd.bmm -bt %ImplName%.bit -d > dump_bit.txt
)
rem
rem @echo netgen ... >> %ImplName%.log
rem @echo The Block RAMs in the original netgen\par\%DesName%_timesim.vhd are "empty" (=0x00). >> %ImplName%.log
rem @echo A new netgen\par\%DesName%_timesim_elf.vhd will be created in which the Block RAMs are filled with the >> %ImplName%.log
rem @echo content of: %elf_file_lm32_wrpc% >> %ImplName%.log
@rem -xon true
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment