Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
FORMUS3IC_LAS3
/
embb
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
a517b341
authored
Mar 16, 2015
by
Marcus Winter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dataflow_cpp: fixed cpplint warnings
parent
29acd08a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
dataflow_cpp/include/embb/dataflow/internal/process.h
+1
-1
dataflow_cpp/include/embb/dataflow/internal/sink.h
+1
-1
No files found.
dataflow_cpp/include/embb/dataflow/internal/process.h
View file @
a517b341
...
@@ -122,7 +122,7 @@ class Process< Slices, Serial, Inputs<Slices, I1, I2, I3, I4, I5>,
...
@@ -122,7 +122,7 @@ class Process< Slices, Serial, Inputs<Slices, I1, I2, I3, I4, I5>,
}
}
if
(
clk_res
>
clk
)
{
if
(
clk_res
>
clk
)
{
if
(
next_clock_
.
CompareAndSwap
(
clk
,
clk_res
))
{
if
(
next_clock_
.
CompareAndSwap
(
clk
,
clk_res
))
{
while
(
queued_clock_
.
Load
()
<
clk
);
while
(
queued_clock_
.
Load
()
<
clk
)
continue
;
for
(
int
ii
=
clk
;
ii
<
clk_res
;
ii
++
)
{
for
(
int
ii
=
clk
;
ii
<
clk_res
;
ii
++
)
{
const
int
idx
=
ii
%
Slices
;
const
int
idx
=
ii
%
Slices
;
action_
[
idx
]
=
Action
(
this
,
ii
);
action_
[
idx
]
=
Action
(
this
,
ii
);
...
...
dataflow_cpp/include/embb/dataflow/internal/sink.h
View file @
a517b341
...
@@ -100,7 +100,7 @@ class Sink< Slices, Inputs<Slices, I1, I2, I3, I4, I5> >
...
@@ -100,7 +100,7 @@ class Sink< Slices, Inputs<Slices, I1, I2, I3, I4, I5> >
}
}
if
(
clk_res
>
clk
)
{
if
(
clk_res
>
clk
)
{
if
(
next_clock_
.
CompareAndSwap
(
clk
,
clk_res
))
{
if
(
next_clock_
.
CompareAndSwap
(
clk
,
clk_res
))
{
while
(
queued_clock_
.
Load
()
<
clk
);
while
(
queued_clock_
.
Load
()
<
clk
)
continue
;
for
(
int
ii
=
clk
;
ii
<
clk_res
;
ii
++
)
{
for
(
int
ii
=
clk
;
ii
<
clk_res
;
ii
++
)
{
const
int
idx
=
ii
%
Slices
;
const
int
idx
=
ii
%
Slices
;
action_
[
idx
]
=
Action
(
this
,
ii
);
action_
[
idx
]
=
Action
(
this
,
ii
);
...
...
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