Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit core collection
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
30
Issues
30
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Schedules
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
White Rabbit core collection
Commits
3408c881
Commit
3408c881
authored
Apr 12, 2022
by
CI
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Testbench streamers_multi_test use Riviera-Pro
parent
a9d0e45e
Pipeline
#3517
failed with stage
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
11 deletions
+9
-11
Makefile
testbench/Makefile
+2
-2
main.sv
testbench/wr_streamers/streamers_multi_test/main.sv
+5
-4
run_ci_riv.do
testbench/wr_streamers/streamers_multi_test/run_ci_riv.do
+2
-5
No files found.
testbench/Makefile
View file @
3408c881
...
...
@@ -8,10 +8,10 @@
#TB_DIRS+=wr_streamers/streamers-only_basic-transfer
#TB_DIRS+=wr_streamers/streamers-only-fixed-latency
#TB_DIRS+=wr_streamers/streamers-only_multiword-transfer
TB_DIRS
+=
xwrf_mux
#
TB_DIRS+=xwrf_mux
#TB_DIRS+=wr_streamers/streamers-on-spec-trigger-distribution
#
TB_DIRS+=wr_streamers/streamers_multi_test
TB_DIRS
+=
wr_streamers/streamers_multi_test
#TB_DIRS+=xwrf_mux
...
...
testbench/wr_streamers/streamers_multi_test/main.sv
View file @
3408c881
...
...
@@ -551,8 +551,6 @@ module main;
end
join
wait
(
rx_frame_received
)
;
wait
(
tx_frame_sent
)
;
test_num
++;
//Tx TEST 4: Check that minimum number of words/frame triggers transmission
...
...
@@ -603,7 +601,8 @@ module main;
@
(
posedge
clk
)
tx_flush
=
0
;
tx_frm_queue
.
push_back
(
frm
)
;
@
(
posedge
U_TX_Streamer
.
U_Wrapped_Streamer
.
U_Fab_Source
.
sof_i
)
clk_cycle_frm_txed
=
tm_cycle_counter
;
//@(posedge U_TX_Streamer.U_Wrapped_Streamer.U_Fab_Source.sof_i) clk_cycle_frm_txed = tm_cycle_counter;
@
(
posedge
$
signal_agent
(
"U_TX_Streamer.U_Wrapped_Streamer.U_Fab_Source.sof_i"
,
"sof_i"
,
1
))
clk_cycle_frm_txed
=
tm_cycle_counter
;
//$display("frame received @ %d, time %t\n", clk_cycle_frm_txed, $time);
@
(
posedge
rx_streamer_first
)
clk_cycle_frm_valid
=
tm_cycle_counter
;
//$display("frame out valid @ %d, time %t\n", clk_cycle_frm_valid, $time);
...
...
@@ -701,7 +700,9 @@ end
// Client-side reception logic. Compares the received records with their copies
// stored in the transfer queue.
int
new_block
=
1
;
block_t
rblk
;
streamer_frame_t
tfrm
,
l_tfrm
,
l_trm
;
always
@
(
posedge
clk
)
if
(
rst_n
)
...
...
testbench/wr_streamers/streamers_multi_test/run_ci_riv.do
View file @
3408c881
# Modelsim run script for continuous integration (with return code)
# execute: vsim -c -do "run_ci.do"
vsim -L unisim work.main +access +r
vsim -L unisim work.main -voptargs="+acc" -sv_seed random
set StdArithNoWarnings 1
set NumericStdNoWarnings 1
do wave_ci.do
run 10
0m
s
run 10
u
s
wave zoomfull
radix -hex
null coverage save coverage.ucdb
quit
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