Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Trigger Distribution
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
White Rabbit Trigger Distribution
Commits
daee642c
Commit
daee642c
authored
Aug 22, 2018
by
Tristan Gingold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tb: add very simple fd monitor.
parent
c283c9b9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
10 deletions
+2
-10
main.sv
hdl/testbench/wrtd-system/main.sv
+2
-10
No files found.
hdl/testbench/wrtd-system/main.sv
View file @
daee642c
...
@@ -159,14 +159,8 @@ module simple_fdelay_mon
...
@@ -159,14 +159,8 @@ module simple_fdelay_mon
input
[
3
:
0
]
pulse
input
[
3
:
0
]
pulse
)
;
)
;
task
display_pulse
()
;
always
@
pulse
begin
string
tmp
;
$
display
(
"[FDEL] <%t> Pulse: len=%x, val=%x, out=%x"
,
$
time
,
len
,
val
,
pulse
)
;
tmp
=
$
sformatf
(
"[FDEL] Pulse: len=%x, val=%x, out=%x"
,
len
,
val
,
pulse
)
;
$
display
(
tmp
)
;
endtask
// display_pulse
always
@
(
posedge
pulse
)
begin
display_pulse
()
;
end
end
endmodule
// simple_fdelay_mon
endmodule
// simple_fdelay_mon
...
@@ -288,7 +282,6 @@ module main;
...
@@ -288,7 +282,6 @@ module main;
// WRTD receiver (Fine Delay)
// WRTD receiver (Fine Delay)
//
//
/* -----\/----- EXCLUDED -----\/-----
simple_fdelay_mon
simple_fdelay_mon
FDL
FDL
(
(
...
@@ -296,7 +289,6 @@ module main;
...
@@ -296,7 +289,6 @@ module main;
.
val
(
fdl_val
)
,
.
val
(
fdl_val
)
,
.
pulse
(
fdl_pulse
)
.
pulse
(
fdl_pulse
)
)
;
)
;
-----/\----- EXCLUDED -----/\----- */
svec_list_top
#
svec_list_top
#
(
(
...
...
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