Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
M
mock-turtle
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
hdl-core-lib
mock-turtle
Commits
9ae07e0f
Commit
9ae07e0f
authored
Aug 08, 2018
by
Dimitris Lampridis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sim: add timestamps to messages
parent
9872a30f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
mock_turtle_driver.svh
hdl/testbench/include/mock_turtle_driver.svh
+2
-2
mt_cpu_csr_driver.svh
hdl/testbench/include/mt_cpu_csr_driver.svh
+2
-2
No files found.
hdl/testbench/include/mock_turtle_driver.svh
View file @
9ae07e0f
...
...
@@ -78,9 +78,9 @@ class MockTurtleDriver;
task
mdisplay
(
string
str
)
;
string
tmp
;
if
(
this
.
name
==
""
)
tmp
=
str
;
tmp
=
$
sformatf
(
"<%t> %s"
,
$
realtime
,
str
)
;
else
tmp
=
$
sformatf
(
"[%s]
%s"
,
this
.
na
me
,
str
)
;
tmp
=
$
sformatf
(
"[%s]
<%t> %s"
,
this
.
name
,
$
realti
me
,
str
)
;
$
display
(
tmp
)
;
endtask
// mdisplay
...
...
hdl/testbench/include/mt_cpu_csr_driver.svh
View file @
9ae07e0f
...
...
@@ -59,9 +59,9 @@ class MTCPUControl;
task
mdisplay
(
string
str
)
;
string
tmp
;
if
(
this
.
name
==
""
)
tmp
=
str
;
tmp
=
$
sformatf
(
"<%t> %s"
,
$
realtime
,
str
)
;
else
tmp
=
$
sformatf
(
"[%s]
%s"
,
this
.
na
me
,
str
)
;
tmp
=
$
sformatf
(
"[%s]
<%t> %s"
,
this
.
name
,
$
realti
me
,
str
)
;
$
display
(
tmp
)
;
endtask
// mdisplay
...
...
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