Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
Beam Positoning Monitor - Gateware
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Beam Positoning Monitor - Gateware
Commits
f1c07cb9
Commit
f1c07cb9
authored
Jun 07, 2013
by
Lucas Russo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
scripts/*: folder rearrangement and fpga programmer update
parent
f7c42307
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
37 additions
and
10 deletions
+37
-10
impact.batch
hdl/syn/loader/impact.batch
+0
-7
program_fpga
hdl/syn/loader/program_fpga
+0
-3
jtag_comm.tcl
scripts/lm32_jtag/jtag_comm.tcl
+0
-0
jtag_main
scripts/lm32_jtag/jtag_main
+0
-0
lm32_comm.tcl
scripts/lm32_jtag/lm32_comm.tcl
+0
-0
utils.tcl
scripts/lm32_jtag/utils.tcl
+0
-0
program_fpga
scripts/loader/program_fpga
+37
-0
No files found.
hdl/syn/loader/impact.batch
deleted
100755 → 0
View file @
f7c42307
setMode -bscan
setCable -port auto
identify
assignFile -p 2 -file ../dbe_bpm_fmc516/dbe_bpm_fmc516.bit
program -p 2
closeCable
quit
hdl/syn/loader/program_fpga
deleted
100755 → 0
View file @
f7c42307
#!/bin/bash
impact
-batch
impact.batch
scripts/jtag_comm.tcl
→
scripts/
lm32_jtag/
jtag_comm.tcl
View file @
f1c07cb9
File moved
scripts/jtag_main
→
scripts/
lm32_jtag/
jtag_main
View file @
f1c07cb9
File moved
scripts/lm32_comm.tcl
→
scripts/lm32_
jtag/lm32_
comm.tcl
View file @
f1c07cb9
File moved
scripts/utils.tcl
→
scripts/
lm32_jtag/
utils.tcl
View file @
f1c07cb9
File moved
scripts/loader/program_fpga
0 → 100755
View file @
f1c07cb9
#!/bin/bash
TOP_DIR
=
../..
DEFAULT_SYN_PATH
=
${
TOP_DIR
}
/hdl/syn
EXPECTED_ARGS
=
1
# Test for parameter presence
:
${
1
?
"Usage:
$0
<bistream_name>"
}
BITSTREAM
=
$1
#Search for bistream
BITSTREAM_LOC
=
$(
find
${
DEFAULT_SYN_PATH
}
-regextype
posix-extended
-iregex
".*
${
BITSTREAM
}
.*bit"
-print
)
BITSTREAM_NUM
=
$(
echo
-e
"
${
BITSTREAM_LOC
}
"
|
wc
-l
)
if
[
"
${
BITSTREAM_NUM
}
"
-gt
1
]
;
then
echo
-e
"There are "
${
BITSTREAM_NUM
}
" bitstreams that matches the description:"
echo
"
${
BITSTREAM_LOC
}
"
echo
"You must specify a more verbose name"
exit
1
fi
# Write the commands to a temporary file
cat
>
.impact_batch
<<
EOF
setMode -bscan
setCable -port auto
identify
assignFile -p 2 -file
${
BITSTREAM_LOC
}
program -p 2
closeCable
quit
EOF
impact
-batch
.impact_batch
rm
.impact_batch
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