| ... |
... |
@@ -67,6 +67,7 @@ |
| 67 |
67 |
Now start modeling an SCChart. For example copy & paste the following sct code of abo, the hello world of SCCharts: |
| 68 |
68 |
|
| 69 |
69 |
{{code title="abo.sct"}} |
|
70 |
+@VHLayout |
| 70 |
70 |
scchart ABO { |
| 71 |
71 |
input output bool A; |
| 72 |
72 |
input output bool B; |
| ... |
... |
@@ -91,6 +91,14 @@ |
| 91 |
91 |
} |
| 92 |
92 |
{{/code}} |
| 93 |
93 |
|
|
95 |
+As you save (Ctrl+S), KIELER will automatically draw the graphical SCChart diagram in a new KLigD view: |
|
96 |
+ |
|
97 |
+[[image:attach:kieler11.png]] |
|
98 |
+ |
|
99 |
+You may want to re-arrange views. Just drag the KLighD view to the right side: |
|
100 |
+ |
|
101 |
+[[image:attach:kieler12.png]] |
|
102 |
+ |
| 94 |
94 |
|
| 95 |
95 |
|
| 96 |
96 |
= Generate C Code = |