<
From version < 6.1 >
edited by aas2
on 2017/10/16 13:33
To version < 5.1 >
edited by aas2
on 2017/08/03 10:14
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -150,74 +150,43 @@
150 150  )))
151 151  |(% colspan="1" %)(% colspan="1" %)
152 152  (((
153 -outputFileExtension
153 +compilationSystem
154 154  )))|(% colspan="1" %)(% colspan="1" %)
155 155  (((
156 -String
156 +String, Id of a pre-defined compilation system or project relative file path to a system definition
157 157  )))|(% colspan="1" %)(% colspan="1" %)
158 158  (((
159 -c
159 +de.cau.cs.kieler.sccharts.netlist.simple
160 160  )))|(% colspan="1" %)(% colspan="1" %)
161 161  (((
162 -Compiled models are saved with using this file extension. Thus this attribute should match the code format that is generated by KiCo at the end of the compilation.
162 +The compilation system that is used by KiCo to determine the compile chain.
163 163  )))
164 164  |(% colspan="1" %)(% colspan="1" %)
165 165  (((
166 -outputTemplate
166 +outputFileExtension
167 167  )))|(% colspan="1" %)(% colspan="1" %)
168 168  (((
169 -String, Project relative file path
169 +String
170 170  )))|(% colspan="1" %)(% colspan="1" %)
171 171  (((
172 --
172 +c
173 173  )))|(% colspan="1" %)(% colspan="1" %)
174 174  (((
175 -An optional template to add surrounding code to KiCo generated output for every compiled file. In the template the placeholder **${kico_code}** can be used an will be replaced with the compiled code.
175 +Compiled models are saved with using this file extension. Thus this attribute should match the code format that is generated by KiCo at the end of the compilation.
176 176  )))
177 177  |(% colspan="1" %)(% colspan="1" %)
178 178  (((
179 -compileChain
179 +outputTemplate
180 180  )))|(% colspan="1" %)(% colspan="1" %)
181 181  (((
182 -(% class="content-wrapper" %)
183 -(((
184 -String, Id of a pre-defined compilation system or processor id or a project relative file path to a kico file
185 -
186 -Can also be a list of the above to compile models in several steps
187 -
188 -Can also be a map to define the compilation of different model types
189 -
190 -{{code}}
191 -compileChain {
192 - sctx: de.cau.cs.kieler.sccharts.netlist.simple
193 - strl: de.cau.cs.kieler.esterel.netlist.simple
194 -}
195 -{{/code}}
196 -
197 -\\
198 -
199 -\\
200 -)))
182 +String, Project relative file path
201 201  )))|(% colspan="1" %)(% colspan="1" %)
202 202  (((
203 -de.cau.cs.kieler.sccharts.netlist.simple
185 +-
204 204  )))|(% colspan="1" %)(% colspan="1" %)
205 205  (((
206 -The compilation system that is used by KiCo to determine the compile chain.
188 +An optional template to add surrounding code to KiCo generated output for every compiled file. In the template the placeholder **${kico_code}** can be used an will be replaced with the compiled code.
207 207  )))
208 -|(% colspan="1" %)(% colspan="1" %)
209 -(((
210 -communicateRegisterVariables
211 -)))|(% colspan="1" %)(% colspan="1" %)
212 -(((
213 -Boolean
214 -)))|(% colspan="1" %)(% colspan="1" %)
215 -(((
216 -true
217 -)))|(% colspan="1" %)(% colspan="1" %)
218 -(((
219 -Determines if the variables that save the internal state of a model should be communicated to the simulation generation. If set to false, stepping back and forth in the simulation history will not change the internal state of the model.
220 -)))
221 221  |(% class="highlight-blue" colspan="1" data-highlight-colour="blue" %)(% class="highlight-blue" colspan="1" data-highlight-colour="blue" %)
222 222  (((
223 223  **Simulation Compiler**
... ... @@ -404,20 +404,12 @@
404 404  variables
405 405  )))|(% colspan="1" %)(% colspan="1" %)
406 406  (((
407 -(% class="content-wrapper" %)
408 -(((
409 409  Map, e.g.,
410 -
411 -{{code}}
412 -variables {
413 - input: myVar1
414 - output: {
415 - bool: myVar2
416 - int: myVar3[2][3]
417 - }
377 +variables: {
378 + input: a,b,c
379 + output: x,y,z
380 + other: g1,g2,g3
418 418  }
419 -{{/code}}
420 -)))
421 421  )))|(% colspan="1" %)(% colspan="1" %)
422 422  (((
423 423  -
... ... @@ -448,7 +448,7 @@
448 448  model compiler kico {
449 449   outputFolder: kieler-gen // The folder, in which the compilation output is saved
450 450   outputFileExtension: c // The file extension for compiled files
451 - compileChain: de.cau.cs.kieler.sccharts.netlist.simple // The system that determines the compile chain within the KIELER compiler
412 + compilationSystem: de.cau.cs.kieler.sccharts.netlist.simple // The system that determines the compile chain within the KIELER compiler
452 452  
453 453   // Generate C simulation for compiled models
454 454   process simulation template {
... ... @@ -456,14 +456,15 @@
456 456   }
457 457  }
458 458  
459 -// Compile simulation code
420 +// Compile C simulation via gcc
460 460  simulation compiler c {
461 461   libFolder: kieler-gen/sim/lib // Create additional libraries required for compilation in this folder
462 462   outputFolder: kieler-gen/sim/bin // Create the executables in this folder
463 - command: "gcc -std=c99 -o ./${outputFolder}/${executable_name} ${file_path} " // Use gcc to compile the code
424 + command: "gcc -std=c99 -o ./${outputFolder}/${executable_name}" // Use gcc to compile the code
464 464  }
465 465  
466 466  
428 +
467 467  {{/code}}
468 468  
469 469  {{code title="Complex KiBuild Example"}}
... ... @@ -472,7 +472,7 @@
472 472   outputFolder: kieler-gen
473 473   outputFileExtension: java
474 474   outputTemplate: assets/OutputTemplate.ftl
475 - compileChain: de.cau.cs.kieler.sccharts.netlist.simple
437 + compilationSystem: de.cau.cs.kieler.sccharts.netlist.simple
476 476   whitelist: "ModelA|ModelB" // Only compile models that match this regex
477 477  
478 478   // Generate C simulation for compiled models
... ... @@ -481,12 +481,11 @@
481 481   }
482 482  }
483 483  
484 -// Compile simulation code
446 +// Compile C simulation via gcc
485 485  simulation compiler java {
486 486   libFolder: kieler-gen/org/json
487 487   outputFolder: kieler-gen/sim/bin
488 - command: "javac -cp kieler-gen -d bin \"${file_path}\" "
489 - jarCommand: "jar cvfe \"./${outputFolder}/${executable_name}\" sim.code.${file_basename} -C bin . "
450 + command: "jar cvfe ../${outputFolder}/${executable_name}"
490 490  }
491 491  
492 492  // Process a simple template
... ... @@ -509,6 +509,7 @@
509 509   variables: { // These variables should be communicated to the outside
510 510   input: a,b,c
511 511   output: x,y,z
473 + internal: foo, bar
512 512   }
513 513   interfaceTypes: input, output // Only communicate these interface types. In this case, internal variables are not communicated.
514 514  }
... ... @@ -518,11 +518,11 @@
518 518  
519 519  ----
520 520  
521 -== Project Drafts ==
483 +== Prom Environments ==
522 522  
523 -Project drafts are used to provide default settings for project creation. They are configured in the **preferences** (//Window //>// Preferences > KIELER SCCharts > Project Drafts//).
485 +Environments are used to provide default settings for project creation. They are configured in the **preferences** (//Window //>// Preferences > KIELER SCCharts > Execution Environments//).
524 524  
525 -An project draft consists of
487 +An environment consists of
526 526  
527 527  1. a unique **name**, which may not contain a comma
528 528  1. anĀ **associated** project wizard
Confluence.Code.ConfluencePageClass[0]
Id
... ... @@ -1,1 +1,1 @@
1 -33259959
1 +33259852
URL
... ... @@ -1,1 +1,1 @@
1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/33259959/V2 Project Management
1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/33259852/V2 Project Management