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
19db0a4f
Commit
19db0a4f
authored
Mar 13, 2012
by
Maciej Lipinski
Committed by
Tomasz Wlostowski
Mar 15, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
swcore: input block free-force deallocation bugfix
Signed-off-by:
Tomasz Włostowski
<
tomasz.wlostowski@cern.ch
>
parent
9376f7e9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
xswc_input_block.vhd
modules/wrsw_swcore/xswc_input_block.vhd
+8
-1
No files found.
modules/wrsw_swcore/xswc_input_block.vhd
View file @
19db0a4f
...
...
@@ -716,7 +716,8 @@ begin --arch
-- received when we get the RTU decision, so we are waiting in IDLE.
-- in such case, we will get tp_drop before getting tp_sync, but we will
-- still have tp_drop when finally tp_sync is HIGH, so this is why the order of if's
elsif
(
tp_drop
=
'1'
)
then
elsif
(
tp_drop
=
'1'
and
-- transfer_pck state indicates the drop decision
mmu_force_free_req
=
'0'
)
then
-- the pck is not being freed yet
mmu_force_free_addr
<=
current_pckstart_pageaddr
;
...
...
@@ -1542,6 +1543,12 @@ begin
-- sync-ing with rcv_pck FSM
if
(
lw_sync_first_stage
=
'1'
and
rp_sync
=
'1'
and
tp_sync
=
'1'
)
then
s_transfer_pck
<=
S_READY
;
-- this is to prevent trashing of the drop process (it happened that force_free was
-- re-done many times by rcv_pck FSM when transfer_pck FSM stayed in DROP state waiting
-- for global sync
elsif
(
mmu_force_free_req
=
'1'
and
mmu_force_free_done_i
=
'1'
)
then
s_transfer_pck
<=
S_IDLE
;
end
if
;
--===========================================================================================
...
...
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