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
d6adcb9c
Commit
d6adcb9c
authored
Feb 20, 2014
by
Maciej Lipinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[swcore/mulit_alloc] fixed nasty bug ocuring when memory full
parent
932845fb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
swc_multiport_page_allocator.vhd
.../optimized_new_allocator/swc_multiport_page_allocator.vhd
+3
-1
scb_top_bare.vhd
top/bare_top/scb_top_bare.vhd
+1
-1
No files found.
modules/wrsw_swcore/optimized_new_allocator/swc_multiport_page_allocator.vhd
View file @
d6adcb9c
...
...
@@ -443,7 +443,7 @@ begin -- syn
for
i
in
0
to
g_num_ports
-1
loop
-- input
if
(
ports
(
i
)
.
grant_ib_d
(
0
)
=
'1'
)
then
if
(
ports
(
i
)
.
grant_ib_d
(
0
)
=
'1'
and
pg_nomem
=
'0'
)
then
grant_ib_d0
(
i
)
<=
'1'
;
elsif
(
pg_rsp_vec
(
i
)
=
'1'
and
(
alloc_done
(
i
)
=
'1'
or
set_usecnt_done
(
i
)
=
'1'
))
then
grant_ib_d0
(
i
)
<=
'0'
;
...
...
@@ -558,6 +558,8 @@ begin -- syn
--------------------------------------------------------------------------------------------------
gen_no_RESOURCE_MGR
:
if
(
g_with_RESOURCE_MGR
=
false
)
generate
-- so we don't want resource gnr
set_usecnt_succeeded_o
<=
(
others
=>
'1'
);
-- res_full_o <= (others => pg_res_full); -- (others => '0');
-- res_almost_full_o <= (others => pg_res_almost_full); -- (others => '0');
res_full_o
<=
(
others
=>
'0'
);
res_almost_full_o
<=
(
others
=>
'0'
);
resource_o
<=
(
others
=>
'0'
);
...
...
top/bare_top/scb_top_bare.vhd
View file @
d6adcb9c
...
...
@@ -143,7 +143,7 @@ end scb_top_bare;
architecture
rtl
of
scb_top_bare
is
constant
c_GW_VERSION
:
std_logic_vector
(
31
downto
0
)
:
=
x"
04
_02_14_00"
;
--DD_MM_YY_VV
constant
c_GW_VERSION
:
std_logic_vector
(
31
downto
0
)
:
=
x"
20
_02_14_00"
;
--DD_MM_YY_VV
constant
c_NUM_WB_SLAVES
:
integer
:
=
13
;
constant
c_NUM_PORTS
:
integer
:
=
g_num_ports
;
constant
c_MAX_PORTS
:
integer
:
=
18
;
...
...
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