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
fe522567
Commit
fe522567
authored
Nov 23, 2022
by
Peter Jansweijer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
automatically generate bin file for QSPI slot 1 programming (use smapx8 and disbale bitswap)
parent
b50ba34f
Pipeline
#4151
failed with stage
in 2 minutes and 6 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
viv_do_all.tcl
sw/scripts/viv_do_all.tcl
+6
-0
No files found.
sw/scripts/viv_do_all.tcl
View file @
fe522567
...
...
@@ -180,12 +180,18 @@ close_design
set bitfile_name
${spec7_design}${version}
_
[
string
range
$device
3 6
]
_
[
clock
format
[
clock
seconds
]
-format %y%m%d_%H%M
]
file copy ./work/$
{
proj_name
}
.runs/impl_1/$
{
proj_name
}
.bit ../$
{
bitfile_name
}
.bit
file copy ./work/$
{
proj_name
}
.runs/impl_1/$
{
proj_name
}
.bit ./work/$
{
bitfile_name
}
.bit
if
[
file
exists ./$
{
proj_name
}
.mmi
]
{
file copy ./$
{
proj_name
}
.mmi ../$
{
bitfile_name
}
.mmi
file copy ./$
{
proj_name
}
.mmi ./work/$
{
bitfile_name
}
.mmi
exec updatemem -meminfo ./$
{
proj_name
}
.mmi -data
${lm32_wrpc_elf}
-bit ./work/$
{
proj_name
}
.runs/impl_1/$
{
proj_name
}
.bit -proc
${lm32_wrpc_instpath}
-out ../$
{
bitfile_name
}
_elf.bit -force
file copy ../$
{
bitfile_name
}
_elf.bit ./work/$
{
bitfile_name
}
_elf.bit
# generate bin file
(
for
QSPI slot 1 programming
;
use smapx8 and disbale bitswap
write_cfgmem -force -format bin -interface smapx8 -disablebitswap -loadbit
"up 0x0 ../
${bitfile_name}
_elf.bit"
-file ../$
{
bitfile_name
}
_elf.bin
}
else
{
write_cfgmem -force -format bin -interface smapx8 -disablebitswap -loadbit
"up 0x0 ../
${bitfile_name}
.bit"
-file ../$
{
bitfile_name
}
_elf.bin
}
if
[
file
exists ./$
{
proj_name
}
.xsa
]
{
file copy ./$
{
proj_name
}
.xsa ../$
{
bitfile_name
}
.xsa
file copy ./$
{
proj_name
}
.xsa ./work/$
{
bitfile_name
}
.xsa
...
...
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