Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
TTool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mbe-tools
TTool
Commits
f0ea2e27
Commit
f0ea2e27
authored
7 years ago
by
Daniela Genius
Browse files
Options
Downloads
Patches
Plain Diff
enleve cast inutile
parent
fa0b3744
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
MPSoC/src/asyncchannel.c
+4
-4
4 additions, 4 deletions
MPSoC/src/asyncchannel.c
src/main/java/ddtranslatorSoclib/toTopCell/TopCellGenerator.java
+4
-2
4 additions, 2 deletions
...n/java/ddtranslatorSoclib/toTopCell/TopCellGenerator.java
with
8 additions
and
6 deletions
MPSoC/src/asyncchannel.c
+
4
−
4
View file @
f0ea2e27
...
...
@@ -113,8 +113,8 @@ void destroyAsyncchannel(asyncchannel *asyncch) {
debugInt
(
"asyncchannel address
\n
"
,
channel
->
mwmr_fifo
);
debugInt
(
"asyncchannel
\n
"
,
channel
->
mwmr_fifo
->
depth
);
debugInt
(
"asyncchannel
\n
"
,
channel
->
mwmr_fifo
->
width
);
debugInt
(
"asyncchannel msg size
\n
"
,
sizeof
(
*
msg
));
async_read
(
channel
->
mwmr_fifo
,
&
msg
,
sizeof
(
*
msg
));
//DG 13.6. *msg au lieu de msg
debugInt
(
"asyncchannel msg size
\n
"
,
sizeof
(
msg
));
async_read
(
channel
->
mwmr_fifo
,
&
msg
,
sizeof
(
msg
));
//DG 13.6. *msg au lieu de msg
return
msg
;
}
...
...
@@ -134,6 +134,6 @@ void addMessageToAsyncChannel(asyncchannel *channel, message *msg) {
debugInt
(
"asyncchannel->fifo rptr
\n
"
,
channel
->
mwmr_fifo
->
status
->
rptr
);
debugInt
(
"asyncchannel->fifo wptr
\n
"
,
channel
->
mwmr_fifo
->
status
->
wptr
);
//async_write(channel->mwmr_fifo, &msg, 1 );
debugInt
(
"asyncchannel msg size
\n
"
,
sizeof
(
*
msg
));
async_write
(
channel
->
mwmr_fifo
,
&
msg
,
sizeof
(
*
msg
));
//DG 13.6. *msg au lieu de msg
debugInt
(
"asyncchannel msg size
\n
"
,
sizeof
(
msg
));
async_write
(
channel
->
mwmr_fifo
,
&
msg
,
sizeof
(
msg
));
//DG 13.6. *msg au lieu de msg
}
This diff is collapsed.
Click to expand it.
src/main/java/ddtranslatorSoclib/toTopCell/TopCellGenerator.java
+
4
−
2
View file @
f0ea2e27
...
...
@@ -132,8 +132,10 @@ public class TopCellGenerator
// of memory accesses other than channel
for
(
AvatarConnector
connector
:
avatardd
.
getConnectors
()){
AvatarConnectingPoint
my_p1
=
(
AvatarConnectingPoint
)
connector
.
get_p1
();
AvatarConnectingPoint
my_p2
=
(
AvatarConnectingPoint
)
connector
.
get_p2
();
// AvatarConnectingPoint my_p1= (AvatarConnectingPoint)connector.get_p1();
//AvatarConnectingPoint my_p2= (AvatarConnectingPoint)connector.get_p2();
AvatarConnectingPoint
my_p1
=
connector
.
get_p1
();
AvatarConnectingPoint
my_p2
=
connector
.
get_p2
();
//If a spy glass symbol is found, and component itself not yet marked
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment