Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
adc2018-system
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
adc2018
adc2018-system
Commits
de0cef62
Commit
de0cef62
authored
Aug 25, 2018
by
kazushi.kawamura
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add description
parent
a172ac00
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
README.md
hls_2018/router_02/README.md
+3
-0
No files found.
hls_2018/router_02/README.md
View file @
de0cef62
# 並列度の変更 (変更箇所)
優先度キューに要素を挿入する際,要素の移動を並列して実行できる
コードにいくつかの変更を加えることで並列度を変更可能
## router.hpp
以下の2箇所を変更する
*
#define PP
**32**
<-- 並列度
*
#define LOG_PP
**5**
<-- 並列度のlog2
## router.cpp
以下の5箇所を変更する
*
(in search func.) #pragma HLS ARRAY_PARTITION variable=pq_nodes cyclic factor=
**32**
dim=1 <-- 並列度
*
(in pq_push func.) #pragma HLS LOOP_TRIPCOUNT min=0 max=
**31**
<-- 並列度-1 (計3箇所)
*
(in pq_push func.) #pragma HLS LOOP_TRIPCOUNT min=0 max=
**255**
<-- キューの最大要素数/並列度-1
...
...
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