Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
M
MasterFIP - Testing
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
MasterFIP - Testing
Commits
43ed4fc8
Commit
43ed4fc8
authored
May 24, 2017
by
Marek Gumiński
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated comments
parent
0671fff8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
51 additions
and
165 deletions
+51
-165
spec_masterfip_pts.vhd
gateware/top/spec/spec_masterfip_pts.vhd
+46
-159
test02.py
python/test02.py
+5
-6
No files found.
gateware/top/spec/spec_masterfip_pts.vhd
View file @
43ed4fc8
This diff is collapsed.
Click to expand it.
python/test02.py
View file @
43ed4fc8
...
@@ -387,9 +387,9 @@ def main (card=None, default_directory='.',suite=None,serial=""):
...
@@ -387,9 +387,9 @@ def main (card=None, default_directory='.',suite=None,serial=""):
############################### test ##########################################
############################### test ##########################################
# transmit
long fram
e
# transmit
normal frame - make sure that tx error is inactiv
e
#
pool CSR looking for TXERR during normal operation
#
transmit corrupted frame - make sure that tx error is active
#
and with disconnected WorldFIP cable (should give error)
#
frame is corrupted by forcing serial data output to constant 0 in gateware
util
.
section_msg
(
"Testing FD TX_ERR line"
)
util
.
section_msg
(
"Testing FD TX_ERR line"
)
dut
.
rst_core
()
dut
.
rst_core
()
wait_transmission_termination
(
dut
)
wait_transmission_termination
(
dut
)
...
@@ -400,9 +400,8 @@ def main (card=None, default_directory='.',suite=None,serial=""):
...
@@ -400,9 +400,8 @@ def main (card=None, default_directory='.',suite=None,serial=""):
##############################################################################
##############################################################################
############################### test ##########################################
############################### test ##########################################
# transmit long frame
# transmit regular frame and make sure that FD WDG line is inactive
# pool CSR looking for TXERR during normal operation
# transmit frame long enough to activate watchdog
# and with disconnected WorldFIP cable (should give error)
util
.
section_msg
(
"Testing FD WDG_N line"
)
util
.
section_msg
(
"Testing FD WDG_N line"
)
dut
.
rst_core
()
dut
.
rst_core
()
wait_transmission_termination
(
dut
)
wait_transmission_termination
(
dut
)
...
...
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