Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
HACM
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ETTI
DCAE
ARH
Research
HACM
Commits
d58fa6c7
Commit
d58fa6c7
authored
6 years ago
by
Horia-Răzvan Enescu
Browse files
Options
Downloads
Patches
Plain Diff
Added more variation for f_or_s_i.
parent
fe83c126
Branches
axi4l
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sim/tb.v
+15
-2
15 additions, 2 deletions
sim/tb.v
with
15 additions
and
2 deletions
sim/tb.v
+
15
−
2
View file @
d58fa6c7
...
...
@@ -59,8 +59,21 @@ module tb;
initial
begin
#
10000
;
forever
#(
100
*
($
random
%
(
20
+
1
)))
f_or_s_i
=
$
random
;
forever
begin
f_or_s_i
<=
~
f_or_s_i
;
if
($
random
%
10
<
4
)
repeat
(($
random
%
2
)
+
1
)
@
(
posedge
clock
);
else
repeat
(($
random
%
200
)
+
1
)
@
(
posedge
clock
);
f_or_s_i
<=
~
f_or_s_i
;
repeat
(($
random
%
2000
)
+
1
)
@
(
posedge
clock
);
end
end
initial
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment