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
db9f1119
Commit
db9f1119
authored
14 years ago
by
Ludovic Apvrille
Browse files
Options
Downloads
Patches
Plain Diff
DIPLODOCUS: Crossbar type added
parent
bf4199ed
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/tmltranslator/HwBus.java
+1
-0
1 addition, 0 deletions
src/tmltranslator/HwBus.java
src/ui/tmldd/TMLArchiBUSNode.java
+4
-0
4 additions, 0 deletions
src/ui/tmldd/TMLArchiBUSNode.java
src/ui/window/JDialogBUSNode.java
+1
-0
1 addition, 0 deletions
src/ui/window/JDialogBUSNode.java
with
6 additions
and
0 deletions
src/tmltranslator/HwBus.java
+
1
−
0
View file @
db9f1119
...
@@ -53,6 +53,7 @@ public class HwBus extends HwCommunicationNode {
...
@@ -53,6 +53,7 @@ public class HwBus extends HwCommunicationNode {
public
static
final
int
BASIC_ROUND_ROBIN
=
0
;
public
static
final
int
BASIC_ROUND_ROBIN
=
0
;
public
static
final
int
PRIORITY_BASED
=
1
;
public
static
final
int
PRIORITY_BASED
=
1
;
public
static
final
int
CAN
=
2
;
public
static
final
int
CAN
=
2
;
public
static
final
int
CROSSBAR
=
3
;
public
static
final
int
DEFAULT_BYTE_DATA_SIZE
=
4
;
public
static
final
int
DEFAULT_BYTE_DATA_SIZE
=
4
;
public
static
final
int
DEFAULT_PIPELINE_SIZE
=
1
;
public
static
final
int
DEFAULT_PIPELINE_SIZE
=
1
;
...
...
This diff is collapsed.
Click to expand it.
src/ui/tmldd/TMLArchiBUSNode.java
+
4
−
0
View file @
db9f1119
...
@@ -212,6 +212,10 @@ public class TMLArchiBUSNode extends TMLArchiCommunicationNode implements Swallo
...
@@ -212,6 +212,10 @@ public class TMLArchiBUSNode extends TMLArchiCommunicationNode implements Swallo
stereotype
=
"BUS-CAN"
;
stereotype
=
"BUS-CAN"
;
}
}
if
(
arbitrationPolicy
==
HwBus
.
CROSSBAR
)
{
stereotype
=
"CROSSBAR"
;
}
if
(
dialog
.
getByteDataSize
().
length
()
!=
0
)
{
if
(
dialog
.
getByteDataSize
().
length
()
!=
0
)
{
try
{
try
{
tmp
=
byteDataSize
;
tmp
=
byteDataSize
;
...
...
This diff is collapsed.
Click to expand it.
src/ui/window/JDialogBUSNode.java
+
1
−
0
View file @
db9f1119
...
@@ -136,6 +136,7 @@ public class JDialogBUSNode extends javax.swing.JDialog implements ActionListene
...
@@ -136,6 +136,7 @@ public class JDialogBUSNode extends javax.swing.JDialog implements ActionListene
arbitrationPolicy
.
addItem
(
"Round Robin"
);
arbitrationPolicy
.
addItem
(
"Round Robin"
);
arbitrationPolicy
.
addItem
(
"Priority Based"
);
arbitrationPolicy
.
addItem
(
"Priority Based"
);
arbitrationPolicy
.
addItem
(
"CAN"
);
arbitrationPolicy
.
addItem
(
"CAN"
);
arbitrationPolicy
.
addItem
(
"Crossbar"
);
arbitrationPolicy
.
setSelectedIndex
(
node
.
getArbitrationPolicy
());
arbitrationPolicy
.
setSelectedIndex
(
node
.
getArbitrationPolicy
());
panel2
.
add
(
arbitrationPolicy
,
c2
);
panel2
.
add
(
arbitrationPolicy
,
c2
);
...
...
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