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
892c9cc1
Commit
892c9cc1
authored
Sep 26, 2013
by
Lucas Russo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
scripts/loader/*: add simple check
Now, the script checks for non-matching patterns and throws an errror
parent
2c486c55
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
90 deletions
+8
-90
_impactbatch.log
scripts/loader/_impactbatch.log
+0
-86
program_fpga
scripts/loader/program_fpga
+8
-4
No files found.
scripts/loader/_impactbatch.log
deleted
100644 → 0
View file @
2c486c55
iMPACT Version: Jan 6 2012 20:13:43
iMPACT log file Started on Mon Jun 17 18:02:14 2013
Preference Table
Name Setting
StartupClock Auto_Correction
AutoSignature False
KeepSVF False
ConcurrentMode False
UseHighz False
ConfigOnFailure Stop
UserLevel Novice
MessageLevel Detailed
svfUseTime false
SpiByteSwap Auto_Correction
AutoInfer false
SvfPlayDisplayComments false
AutoDetecting cable. Please wait.
Connecting to cable (Usb Port - USB21).
Checking cable driver.
File version of /opt/Xilinx/13.4/ISE_DS/ISE/bin/lin64/xusbdfwu.hex = 1030.
File version of /etc/hotplug/usb/xusbdfwu.fw/xusbdfwu.hex = 1030.
Using libusb.
Kernel release = 3.8.0-25-generic.
Max current requested during enumeration is 74 mA.
Type = 0x0004.
Cable Type = 3, Revision = 0.
Setting cable speed to 6 MHz.
Cable connection established.
Firmware version = 1303.
File version of /opt/Xilinx/13.4/ISE_DS/ISE/data/xusb_xlp.hex = 1303.
Firmware hex file version = 1303.
PLD file version = 0012h.
PLD version = 0012h.
Type = 0x0004.
ESN option: 000013C8040F01.
Identifying chain contents...'0': : Manufacturer's ID = Xilinx xc6vlx240t, Version : 6
INFO:iMPACT:1777 -
Reading /opt/Xilinx/13.4/ISE_DS/ISE/virtex6/data/xc6vlx240t.bsd...
INFO:iMPACT:501 - '1': Added Device xc6vlx240t successfully.
----------------------------------------------------------------------
----------------------------------------------------------------------
'1': : Manufacturer's ID = Xilinx xccace, Version : 0
INFO:iMPACT:1777 -
Reading /opt/Xilinx/13.4/ISE_DS/ISE/acecf/data/xccace.bsd...
INFO:iMPACT:501 - '1': Added Device xccace successfully.
----------------------------------------------------------------------
----------------------------------------------------------------------
done.
Elapsed time = 0 sec.
Elapsed time = 0 sec.
'2': Loading file '../../hdl/syn/dbe_bpm_fmc516/dbe_bpm_fmc516.bit' ...
done.
INFO:iMPACT:2257 - Startup Clock has been changed to 'JtagClk' in the bitstream stored in memory,
but the original bitstream file remains unchanged.
UserID read from the bitstream file = 0xFFFFFFFF.
----------------------------------------------------------------------
INFO:iMPACT:501 - '2': Added Device xc6vlx240t successfully.
----------------------------------------------------------------------
----------------------------------------------------------------------
Maximum TCK operating frequency for this device chain: 16700000.
Validating chain...
Boundary-scan chain validated successfully.
2: Device Temperature: Current Reading: 32.66 C, Min. Reading: 29.21 C, Max.Reading: 33.15 C
2: VCCINT Supply: Current Reading: 1.011 V, Min. Reading: 1.011 V, Max.Reading: 1.014 V
2: VCCAUX Supply: Current Reading: 2.511 V, Min. Reading: 2.508 V, Max.Reading: 2.520 V
'2': Programming device...
Match_cycle = NoWait.
Match cycle: NoWait
LCK_cycle = NoWait.
LCK cycle: NoWait
done.
INFO:iMPACT:2219 - Status register values:
INFO:iMPACT - 0011 1111 1011 1110 0000 1011 1000 0000
INFO:iMPACT:579 - '2': Completed downloading bit file to device.
INFO:iMPACT:188 - '2': Programming completed successfully.
Match_cycle = NoWait.
Match cycle: NoWait
LCK_cycle = NoWait.
LCK cycle: NoWait
INFO:iMPACT - '2': Checking done pin....done.
'2': Programmed successfully.
Elapsed time = 20 sec.
----------------------------------------------------------------------
----------------------------------------------------------------------
scripts/loader/program_fpga
View file @
892c9cc1
...
...
@@ -2,7 +2,6 @@
TOP_DIR
=
../..
DEFAULT_SYN_PATH
=
${
TOP_DIR
}
/hdl/syn
EXPECTED_ARGS
=
1
# Test for parameter presence
:
${
1
?
"Usage:
$0
<bistream_name>"
}
...
...
@@ -10,12 +9,17 @@ EXPECTED_ARGS=1
BITSTREAM
=
$1
#Search for bistream
BITSTREAM_LOC
=
$(
find
${
DEFAULT_SYN_PATH
}
-regextype
posix-extended
-iregex
".*
${
BITSTREAM
}
.*bit"
-print
)
BITSTREAM_LOC
=
$(
find
${
DEFAULT_SYN_PATH
}
-regextype
posix-extended
-iregex
".*
${
BITSTREAM
}
.*
\.
bit"
-print
)
BITSTREAM_NUM
=
$(
echo
-e
"
${
BITSTREAM_LOC
}
"
|
wc
-l
)
BITSTREAM_NUM
=
$(
echo
-e
"
${
BITSTREAM_LOC
}
"
|
wc
-w
)
if
[
"
${
BITSTREAM_NUM
}
"
-eq
0
]
;
then
echo
-e
"There are no bitstreams that matches the description"
exit
1
fi
if
[
"
${
BITSTREAM_NUM
}
"
-gt
1
]
;
then
echo
-e
"There are "
${
BITSTREAM_NUM
}
" bitstreams that match
es
the description:"
echo
-e
"There are "
${
BITSTREAM_NUM
}
" bitstreams that match the description:"
echo
"
${
BITSTREAM_LOC
}
"
echo
"You must specify a more verbose name"
exit
1
...
...
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