Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
M
mock-turtle
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
hdl-core-lib
mock-turtle
Commits
c123be1c
Commit
c123be1c
authored
Jul 24, 2018
by
Dimitris Lampridis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hdl: restructure filtering logic of rmq endpoint rx
parent
e34a3637
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
mt_rmq_endpoint_rx.vhd
hdl/rtl/endpoint/mt_rmq_endpoint_rx.vhd
+4
-8
No files found.
hdl/rtl/endpoint/mt_rmq_endpoint_rx.vhd
View file @
c123be1c
...
...
@@ -186,6 +186,8 @@ begin -- arch
if
(
config
.
filter_udp
=
'1'
)
then
match_udp
<=
header_i
.
is_udp
;
if
(
header_i
.
ethertype
/=
x"0800"
)
then
match_ethertype
<=
'0'
;
end
if
;
...
...
@@ -202,14 +204,6 @@ begin -- arch
end
if
;
end
if
;
if
(
config
.
filter_raw
=
'1'
)
then
match_raw
<=
header_i
.
is_raw
;
end
if
;
if
(
config
.
filter_udp
=
'1'
)
then
match_udp
<=
header_i
.
is_udp
;
end
if
;
--if (config.filter_type0 = '1') then
-- if (config.type0 /= header_i.tlv_type) then
-- match_type0 <= '0';
...
...
@@ -239,6 +233,8 @@ begin -- arch
if
(
config
.
filter_raw
=
'1'
)
then
match_raw
<=
header_i
.
is_raw
;
if
(
header_i
.
ethertype
/=
config
.
ethertype
)
then
match_ethertype
<=
'0'
;
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