Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
wr-switch-hdl
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
white-rabbit
wr-switch-hdl
Commits
e466e7f5
Commit
e466e7f5
authored
Mar 29, 2012
by
Tomasz Wlostowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testbench/swcore/allocator: un-commented VIAllocatorPort definition causing compilation errors
parent
8fa00320
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
common.svh
testbench/swcore/allocator/common.svh
+0
-2
multiport.sv
testbench/swcore/allocator/multiport.sv
+1
-0
No files found.
testbench/swcore/allocator/common.svh
View file @
e466e7f5
...
...
@@ -219,7 +219,6 @@ interface IAllocatorPort (input clk_i);
endinterface
// IAllocatorPort
`ifdef
nulll
typedef
virtual
IAllocatorPort
VIAllocatorPort
;
task
automatic
execute_requests
(
VIAllocatorPort
port
,
ref
alloc_request_t
rqs
[$]
,
input
int
verbose
=
0
)
;
...
...
@@ -273,4 +272,3 @@ task automatic execute_requests(VIAllocatorPort port, ref alloc_request_t rqs[$]
endcase
// case (rqs[i].t)
end
endtask
// execute_requests
`endif
\ No newline at end of file
testbench/swcore/allocator/multiport.sv
View file @
e466e7f5
...
...
@@ -14,6 +14,7 @@ module main;
IAllocatorPort
alloc_port
[
`c_num_ports
]
(
clk
)
;
VIAllocatorPort
valloc_port
[
`c_num_ports
]
=
alloc_port
;
genvar
i
;
wire
[
`c_num_ports
-
1
:
0
]
alloc_v
,
free_v
,
force_free_v
,
set_usecnt_v
;
...
...
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