Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Gateware
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
12
Issues
12
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Projects
White Rabbit Switch - Gateware
Commits
babcf5c0
Commit
babcf5c0
authored
Sep 12, 2016
by
Grzegorz Daniluk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
swcore: multiport LL, use 3 write ports
parent
ce4988d9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
swc_multiport_linked_list.vhd
modules/wrsw_swcore/swc_multiport_linked_list.vhd
+4
-3
No files found.
modules/wrsw_swcore/swc_multiport_linked_list.vhd
View file @
babcf5c0
...
...
@@ -118,7 +118,7 @@ end swc_multiport_linked_list;
architecture
syn
of
swc_multiport_linked_list
is
constant
c_MPRAM_WPORTS
:
integer
:
=
2
;
constant
c_MPRAM_WPORTS
:
integer
:
=
3
;
constant
c_MPRAM_RPORTS
:
integer
:
=
2
;
component
mpram_lvt
...
...
@@ -303,8 +303,9 @@ begin
-- we split IBs into write ports
-- IB port ranges for each write port are hardcoded to have similar
-- performance (IBs-per-write port) for 8 and 18 port version.
write_i_split
(
0
)
<=
ll_split_writes
(
write_i
,
g_num_ports
,
8
,
0
);
write_i_split
(
1
)
<=
ll_split_writes
(
write_i
,
g_num_ports
,
g_num_ports
-1
,
9
);
write_i_split
(
0
)
<=
ll_split_writes
(
write_i
,
g_num_ports
,
5
,
0
);
write_i_split
(
1
)
<=
ll_split_writes
(
write_i
,
g_num_ports
,
11
,
6
);
write_i_split
(
2
)
<=
ll_split_writes
(
write_i
,
g_num_ports
,
g_num_ports
-1
,
12
);
-- combine together write_done signals from multiple MPRAM write ports
write_done_ored
(
0
)
<=
x_mpram_wdone
(
0
);
...
...
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