Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
White Rabbit core collection
Manage
Activity
Members
Labels
Plan
Issues
33
Issue boards
Milestones
Wiki
Code
Merge requests
5
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Projects
White Rabbit core collection
Commits
d95deed8
Commit
d95deed8
authored
13 years ago
by
Tomasz Wlostowski
Browse files
Options
Downloads
Patches
Plain Diff
simulation models: CBusAccessor: fixed default value of size parameters
parent
bf500bd8
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sim/simdrv_defs.svh
+7
-3
7 additions, 3 deletions
sim/simdrv_defs.svh
with
7 additions
and
3 deletions
sim/simdrv_defs.svh
+
7
−
3
View file @
d95deed8
...
@@ -6,23 +6,27 @@ typedef longint unsigned uint64_t;
...
@@ -6,23 +6,27 @@ typedef longint unsigned uint64_t;
typedef
uint64_t
u64_array_t
[];
typedef
uint64_t
u64_array_t
[];
typedef
byte
byte_array_t
[];
typedef
byte
byte_array_t
[];
virtual
class
CBusAccessor
;
virtual
class
CBusAccessor
;
static
int
_
null
=
0
;
static
int
_
null
=
0
;
pure
virtual
task
writem
(
uint64_t
addr
[],
uint64_t
data
[],
input
int
size
,
ref
int
result
);
pure
virtual
task
writem
(
uint64_t
addr
[],
uint64_t
data
[],
input
int
size
,
ref
int
result
);
pure
virtual
task
readm
(
uint64_t
addr
[],
ref
uint64_t
data
[],
input
int
size
,
ref
int
result
);
pure
virtual
task
readm
(
uint64_t
addr
[],
ref
uint64_t
data
[],
input
int
size
,
ref
int
result
);
virtual
task
read
(
uint64_t
addr
,
ref
uint64_t
data
,
input
int
size
=
32
,
ref
int
result
=
_
null
);
virtual
task
read
(
uint64_t
addr
,
ref
uint64_t
data
,
input
int
size
=
4
,
ref
int
result
=
_
null
);
int
res
;
int
res
;
uint64_t
aa
[],
da
[];
uint64_t
aa
[],
da
[];
aa
[
0
]
=
addr
;
aa
[
0
]
=
addr
;
readm
(
aa
,
da
,
size
,
res
);
readm
(
aa
,
da
,
size
,
res
);
data
=
da
[
0
];
data
=
da
[
0
];
endtask
endtask
virtual
task
write
(
uint64_t
addr
,
uint64_t
data
,
input
int
size
=
32
,
ref
int
result
=
_
null
);
virtual
task
write
(
uint64_t
addr
,
uint64_t
data
,
input
int
size
=
4
,
ref
int
result
=
_
null
);
uint64_t
aa
[
1
],
da
[
1
];
uint64_t
aa
[
1
],
da
[
1
];
aa
[
0
]
=
addr
;
aa
[
0
]
=
addr
;
da
[
1
]
=
data
;
da
[
1
]
=
data
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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