Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC ADC 100M 14b 4cha - Testing
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
FMC ADC 100M 14b 4cha - Testing
Commits
706edf90
Commit
706edf90
authored
Mar 14, 2013
by
Matthieu Cattin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Replace gateware binary by release v1.0"
This reverts commit b72160395b6af36fad4d4aa8b37cb984e75bf934.
parent
8c52d4ff
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
15 additions
and
14 deletions
+15
-14
fmc_adc_demo.py
test/fmcadc100m14b4cha/python/fmc_adc_demo.py
+2
-1
test00.py
test/fmcadc100m14b4cha/python/test00.py
+1
-1
test11.py
test/fmcadc100m14b4cha/python/test11.py
+2
-2
test12.py
test/fmcadc100m14b4cha/python/test12.py
+1
-1
test13.py
test/fmcadc100m14b4cha/python/test13.py
+1
-1
test14.py
test/fmcadc100m14b4cha/python/test14.py
+2
-2
test15.py
test/fmcadc100m14b4cha/python/test15.py
+2
-2
test16.py
test/fmcadc100m14b4cha/python/test16.py
+1
-1
test22.py
test/fmcadc100m14b4cha/python/test22.py
+1
-1
test_loader_lib.py
test/fmcadc100m14b4cha/python/test_loader_lib.py
+2
-2
No files found.
test/fmcadc100m14b4cha/python/fmc_adc_demo.py
View file @
706edf90
...
...
@@ -218,7 +218,8 @@ if __name__ == "__main__":
# Load firmware to FPGA
default_directory
=
'.'
path_fpga_loader
=
'../../../gnurabbit/user/fpga_loader'
;
path_firmware
=
'../firmwares/spec-fmc-adc-v1.0.bin'
;
#path_firmware = '../firmwares/spec_fmcadc100m14b4cha_test.bin';
path_firmware
=
'../firmwares/spec_fmcadc100m14b4cha.bin'
;
firmware_loader
=
os
.
path
.
join
(
default_directory
,
path_fpga_loader
)
bitstream
=
os
.
path
.
join
(
default_directory
,
path_firmware
)
print
firmware_loader
+
' '
+
bitstream
...
...
test/fmcadc100m14b4cha/python/test00.py
View file @
706edf90
...
...
@@ -34,7 +34,7 @@ def main (default_directory='.'):
# Constants declaration
TEST_NB
=
0
#FMC_ADC_ADDR = '1a39:0004/1a39:0004@000B:0000'
FMC_ADC_BITSTREAM
=
'../firmwares/spec
-fmc-adc-v1.0
.bin'
FMC_ADC_BITSTREAM
=
'../firmwares/spec
_fmcadc100m14b4cha
.bin'
FMC_ADC_BITSTREAM
=
os
.
path
.
join
(
default_directory
,
FMC_ADC_BITSTREAM
)
EXPECTED_BITSTREAM_TYPE
=
0x1
...
...
test/fmcadc100m14b4cha/python/test11.py
View file @
706edf90
...
...
@@ -51,7 +51,7 @@ DMA_LENGTH = 4096 # DMA length in bytes
def
load_firmware
(
default_directory
):
print
(
'Load firmware to FPGA'
)
path_fpga_loader
=
'../../../gnurabbit/user/fpga_loader'
;
path_firmware
=
'../firmwares/spec
-fmc-adc-v1.0
.bin'
;
path_firmware
=
'../firmwares/spec
_fmcadc100m14b4cha
.bin'
;
firmware_loader
=
os
.
path
.
join
(
default_directory
,
path_fpga_loader
)
bitstream
=
os
.
path
.
join
(
default_directory
,
path_firmware
)
...
...
@@ -152,7 +152,7 @@ def main (default_directory='.'):
"""
# Load firmware to FPGA
path_fpga_loader = '../../../gnurabbit/user/fpga_loader';
path_firmware = '../firmwares/spec
-fmc-adc-v1.0
.bin';
path_firmware = '../firmwares/spec
_fmcadc100m14b4cha
.bin';
firmware_loader = os.path.join(default_directory, path_fpga_loader)
bitstream = os.path.join(default_directory, path_firmware)
...
...
test/fmcadc100m14b4cha/python/test12.py
View file @
706edf90
...
...
@@ -135,7 +135,7 @@ def main (default_directory='.'):
# Constants declaration
TEST_NB
=
12
FMC_ADC_BITSTREAM
=
'../firmwares/spec
-fmc-adc-v1.0
.bin'
FMC_ADC_BITSTREAM
=
'../firmwares/spec
_fmcadc100m14b4cha
.bin'
FMC_ADC_BITSTREAM
=
os
.
path
.
join
(
default_directory
,
FMC_ADC_BITSTREAM
)
EXPECTED_BITSTREAM_TYPE
=
0x1
...
...
test/fmcadc100m14b4cha/python/test13.py
View file @
706edf90
...
...
@@ -31,7 +31,7 @@ FAMILY_CODE = 0x28
def
load_firmware
(
default_directory
):
print
(
'Load firmware to FPGA'
)
path_fpga_loader
=
'../../../gnurabbit/user/fpga_loader'
;
path_firmware
=
'../firmwares/spec
-fmc-adc-v1.0
.bin'
;
path_firmware
=
'../firmwares/spec
_fmcadc100m14b4cha
.bin'
;
firmware_loader
=
os
.
path
.
join
(
default_directory
,
path_fpga_loader
)
bitstream
=
os
.
path
.
join
(
default_directory
,
path_firmware
)
print
firmware_loader
+
' '
+
bitstream
...
...
test/fmcadc100m14b4cha/python/test14.py
View file @
706edf90
...
...
@@ -51,7 +51,7 @@ DMA_LENGTH = 4096 # DMA length in bytes
def
load_firmware
(
default_directory
):
print
(
'Load firmware to FPGA'
)
path_fpga_loader
=
'../../../gnurabbit/user/fpga_loader'
;
path_firmware
=
'../firmwares/spec
-fmc-adc-v1.0
.bin'
;
path_firmware
=
'../firmwares/spec
_fmcadc100m14b4cha
.bin'
;
firmware_loader
=
os
.
path
.
join
(
default_directory
,
path_fpga_loader
)
bitstream
=
os
.
path
.
join
(
default_directory
,
path_firmware
)
...
...
@@ -141,7 +141,7 @@ def main (default_directory='.'):
if
(
'y'
==
raw_input
(
'Test firmware? [y,n]'
)):
path_firmware
=
'../firmwares/spec_fmcadc100m14b4cha_test.bin'
;
else
:
path_firmware
=
'../firmwares/spec
-fmc-adc-v1.0
.bin'
;
path_firmware
=
'../firmwares/spec
_fmcadc100m14b4cha
.bin'
;
firmware_loader
=
os
.
path
.
join
(
default_directory
,
path_fpga_loader
)
bitstream
=
os
.
path
.
join
(
default_directory
,
path_firmware
)
...
...
test/fmcadc100m14b4cha/python/test15.py
View file @
706edf90
...
...
@@ -63,7 +63,7 @@ DAC_FS = 10 # DAC full scale range is 10V
def
load_firmware
(
default_directory
):
print
"Load firmware to FPGA"
path_fpga_loader
=
'../../../gnurabbit/user/fpga_loader'
;
path_firmware
=
'../firmwares/spec
-fmc-adc-v1.0
.bin'
;
path_firmware
=
'../firmwares/spec
_fmcadc100m14b4cha
.bin'
;
firmware_loader
=
os
.
path
.
join
(
default_directory
,
path_fpga_loader
)
bitstream
=
os
.
path
.
join
(
default_directory
,
path_firmware
)
print
firmware_loader
+
' '
+
bitstream
...
...
@@ -184,7 +184,7 @@ def main (default_directory='.'):
if
(
'y'
==
raw_input
(
'Test firmware? [y,n]'
)):
path_firmware
=
'../firmwares/spec_fmcadc100m14b4cha_test.bin'
;
else
:
path_firmware
=
'../firmwares/spec
-fmc-adc-v1.0
.bin'
;
path_firmware
=
'../firmwares/spec
_fmcadc100m14b4cha
.bin'
;
firmware_loader
=
os
.
path
.
join
(
default_directory
,
path_fpga_loader
)
bitstream
=
os
.
path
.
join
(
default_directory
,
path_firmware
)
print
firmware_loader
+
' '
+
bitstream
...
...
test/fmcadc100m14b4cha/python/test16.py
View file @
706edf90
...
...
@@ -60,7 +60,7 @@ STEP_FREQ = 500E3
def
load_firmware
(
default_directory
):
print
(
'Load firmware to FPGA'
)
path_fpga_loader
=
'../../../gnurabbit/user/fpga_loader'
;
path_firmware
=
'../firmwares/spec
-fmc-adc-v1.0
.bin'
;
path_firmware
=
'../firmwares/spec
_fmcadc100m14b4cha
.bin'
;
firmware_loader
=
os
.
path
.
join
(
default_directory
,
path_fpga_loader
)
bitstream
=
os
.
path
.
join
(
default_directory
,
path_firmware
)
...
...
test/fmcadc100m14b4cha/python/test22.py
View file @
706edf90
...
...
@@ -134,7 +134,7 @@ def main (default_directory='.'):
# Constants declaration
TEST_NB
=
22
FMC_ADC_BITSTREAM
=
'../firmwares/spec
-fmc-adc-v1.0
.bin'
FMC_ADC_BITSTREAM
=
'../firmwares/spec
_fmcadc100m14b4cha
.bin'
FMC_ADC_BITSTREAM
=
os
.
path
.
join
(
default_directory
,
FMC_ADC_BITSTREAM
)
EXPECTED_BITSTREAM_TYPE
=
0x1
...
...
test/fmcadc100m14b4cha/python/test_loader_lib.py
View file @
706edf90
...
...
@@ -49,7 +49,7 @@ def main (default_directory='.'):
# Old way of loading the firmware
"""
path_fpga_loader = '../../../gnurabbit/user/fpga_loader';
path_firmware = '../firmwares/spec
-fmc-adc-v1.0
.bin';
path_firmware = '../firmwares/spec
_fmcadc100m14b4cha
.bin';
firmware_loader = os.path.join(default_directory, path_fpga_loader)
bitstream = os.path.join(default_directory, path_firmware)
...
...
@@ -60,7 +60,7 @@ def main (default_directory='.'):
"""
fmc_adc_addr
=
'1a39:0004/1a39:0004@000b:0000'
fmc_adc_firmware
=
'../firmwares/spec
-fmc-adc-v1.0
.bin'
fmc_adc_firmware
=
'../firmwares/spec
_fmcadc100m14b4cha
.bin'
# SPEC object declaration
spec
=
rr
.
Gennum
()
...
...
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