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
982b8362
Commit
982b8362
authored
Dec 17, 2019
by
Grzegorz Daniluk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pstats: add registers to improve timing
parent
3cc77ba7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
port_cntr.vhd
modules/wrsw_pstats/port_cntr.vhd
+9
-1
No files found.
modules/wrsw_pstats/port_cntr.vhd
View file @
982b8362
...
...
@@ -167,7 +167,15 @@ begin
GEN_EVT_ORED
:
for
i
in
0
to
c_rr_range
-1
generate
events_ored
(
i
)
<=
or_reduce
(
events_reg
((
i
+
1
)
*
g_cnt_pw
-1
downto
i
*
g_cnt_pw
));
process
(
clk_i
)
begin
if
rst_n_i
=
'0'
then
events_ored
(
i
)
<=
'0'
;
elsif
rising_edge
(
clk_i
)
then
events_ored
(
i
)
<=
or_reduce
(
events_reg
((
i
+
1
)
*
g_cnt_pw
-1
downto
i
*
g_cnt_pw
))
and
(
not
events_grant
(
i
));
end
if
;
end
process
;
end
generate
;
events_presub
<=
events_reg
((
f_onehot_decode
(
events_grant
)
+
1
)
*
g_cnt_pw
-1
downto
f_onehot_decode
(
events_grant
)
*
g_cnt_pw
);
...
...
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