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
0
Merge Requests
0
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
20895c2e
Commit
20895c2e
authored
Jul 27, 2018
by
Adam Wujek
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testbench/wrc_core: satisfy questasim
Signed-off-by:
Adam Wujek
<
adam.wujek@cern.ch
>
parent
4a0cbde6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
functions.svh
testbench/wrc_core/functions.svh
+4
-4
No files found.
testbench/wrc_core/functions.svh
View file @
20895c2e
...
...
@@ -48,14 +48,14 @@ semaphore txPkt = new(1);
*/
task
send_frames
(
WBPacketSource
src
,
int
n_packets
,
int
ifg
=
0
/*[us]*/
)
;
// TODO: improve the IFG: allow to make it tighter
int
i
,
seed
=
0
,
n1
=
0
,
n2
=
0
;
automatic
int
i
,
seed
=
0
,
n1
=
0
,
n2
=
0
;
int
cur_size
,
dir
;
EthPacket
pkt
,
tmpl
;
EthPacket
to_ext
[$]
,
to_minic
[$]
;
EthPacketGenerator
gen
=
new
;
automatic
EthPacketGenerator
gen
=
new
;
int
random_ifg
;
//us
int
min_ifg
=
1
;
//us
int
max_ifg
=
100
;
//us
automatic
int
min_ifg
=
1
;
//us
automatic
int
max_ifg
=
100
;
//us
tmpl
=
new
;
tmpl
.
src
=
'
{
'h22
,
'h33
,
'h44
,
'h44
,
'h55
,
'h66
};
...
...
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