Changes for page Project Management
Last modified by Richard Kreissig on 2023/09/14 10:56
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -150,43 +150,74 @@ 150 150 ))) 151 151 |(% colspan="1" %)(% colspan="1" %) 152 152 ((( 153 - compilationSystem153 +outputFileExtension 154 154 )))|(% colspan="1" %)(% colspan="1" %) 155 155 ((( 156 -String , Id of a pre-defined compilation system or project relative file path to a system definition156 +String 157 157 )))|(% colspan="1" %)(% colspan="1" %) 158 158 ((( 159 - de.cau.cs.kieler.sccharts.netlist.simple159 +c 160 160 )))|(% colspan="1" %)(% colspan="1" %) 161 161 ((( 162 - The compilation system that isused by KiCo todetermine the compile chain.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. 163 163 ))) 164 164 |(% colspan="1" %)(% colspan="1" %) 165 165 ((( 166 -output FileExtension166 +outputTemplate 167 167 )))|(% colspan="1" %)(% colspan="1" %) 168 168 ((( 169 -String 169 +String, Project relative file path 170 170 )))|(% colspan="1" %)(% colspan="1" %) 171 171 ((( 172 - c172 +- 173 173 )))|(% colspan="1" %)(% colspan="1" %) 174 174 ((( 175 - Compiledmodelsaresavedwith using thisfileextension.Thusthis attributeshould matchthe codeformatthatisgeneratedby KiCo attheend ofthe compilation.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. 176 176 ))) 177 177 |(% colspan="1" %)(% colspan="1" %) 178 178 ((( 179 -o utputTemplate179 +compileChain 180 180 )))|(% colspan="1" %)(% colspan="1" %) 181 181 ((( 182 -String, Project relative file path 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 +))) 183 183 )))|(% colspan="1" %)(% colspan="1" %) 184 184 ((( 185 - -203 +de.cau.cs.kieler.sccharts.netlist.simple 186 186 )))|(% colspan="1" %)(% colspan="1" %) 187 187 ((( 188 - AnoptionaltemplatetoaddsurroundingcodetoKiCogeneratedoutputfor every compiledfile. Inthetemplate the placeholder**${kico_code}** canbeused an will be replaced withthe compiledcode.206 +The compilation system that is used by KiCo to determine the compile chain. 189 189 ))) 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 +))) 190 190 |(% class="highlight-blue" colspan="1" data-highlight-colour="blue" %)(% class="highlight-blue" colspan="1" data-highlight-colour="blue" %) 191 191 ((( 192 192 **Simulation Compiler** ... ... @@ -373,12 +373,20 @@ 373 373 variables 374 374 )))|(% colspan="1" %)(% colspan="1" %) 375 375 ((( 407 +(% class="content-wrapper" %) 408 +((( 376 376 Map, e.g., 377 -variables: { 378 - input: a,b,c 379 - output: x,y,z 380 - other: g1,g2,g3 410 + 411 +{{code}} 412 +variables { 413 + input: myVar1 414 + output: { 415 + bool: myVar2 416 + int: myVar3[2][3] 417 + } 381 381 } 419 +{{/code}} 420 +))) 382 382 )))|(% colspan="1" %)(% colspan="1" %) 383 383 ((( 384 384 - ... ... @@ -409,7 +409,7 @@ 409 409 model compiler kico { 410 410 outputFolder: kieler-gen // The folder, in which the compilation output is saved 411 411 outputFileExtension: c // The file extension for compiled files 412 - compila tionSystem: de.cau.cs.kieler.sccharts.netlist.simple // The system that determines the compile chain within the KIELER compiler451 + compileChain: de.cau.cs.kieler.sccharts.netlist.simple // The system that determines the compile chain within the KIELER compiler 413 413 414 414 // Generate C simulation for compiled models 415 415 process simulation template { ... ... @@ -417,15 +417,14 @@ 417 417 } 418 418 } 419 419 420 -// Compile Csimulationvia gcc459 +// Compile simulation code 421 421 simulation compiler c { 422 422 libFolder: kieler-gen/sim/lib // Create additional libraries required for compilation in this folder 423 423 outputFolder: kieler-gen/sim/bin // Create the executables in this folder 424 - command: "gcc -std=c99 -o ./${outputFolder}/${executable_name}" // Use gcc to compile the code 463 + command: "gcc -std=c99 -o ./${outputFolder}/${executable_name} ${file_path} " // Use gcc to compile the code 425 425 } 426 426 427 427 428 - 429 429 {{/code}} 430 430 431 431 {{code title="Complex KiBuild Example"}} ... ... @@ -434,7 +434,7 @@ 434 434 outputFolder: kieler-gen 435 435 outputFileExtension: java 436 436 outputTemplate: assets/OutputTemplate.ftl 437 - compila tionSystem: de.cau.cs.kieler.sccharts.netlist.simple475 + compileChain: de.cau.cs.kieler.sccharts.netlist.simple 438 438 whitelist: "ModelA|ModelB" // Only compile models that match this regex 439 439 440 440 // Generate C simulation for compiled models ... ... @@ -443,11 +443,12 @@ 443 443 } 444 444 } 445 445 446 -// Compile Csimulationvia gcc484 +// Compile simulation code 447 447 simulation compiler java { 448 448 libFolder: kieler-gen/org/json 449 449 outputFolder: kieler-gen/sim/bin 450 - command: "jar cvfe ../${outputFolder}/${executable_name}" 488 + command: "javac -cp kieler-gen -d bin \"${file_path}\" " 489 + jarCommand: "jar cvfe \"./${outputFolder}/${executable_name}\" sim.code.${file_basename} -C bin . " 451 451 } 452 452 453 453 // Process a simple template ... ... @@ -470,7 +470,6 @@ 470 470 variables: { // These variables should be communicated to the outside 471 471 input: a,b,c 472 472 output: x,y,z 473 - internal: foo, bar 474 474 } 475 475 interfaceTypes: input, output // Only communicate these interface types. In this case, internal variables are not communicated. 476 476 } ... ... @@ -480,11 +480,11 @@ 480 480 481 481 ---- 482 482 483 -== Pro mEnvironments ==521 +== Project Drafts == 484 484 485 - Environments are used to provide default settings for project creation. They are configured in the **preferences** (//Window //>// Preferences > KIELER SCCharts >ExecutionEnvironments//).523 +Project drafts are used to provide default settings for project creation. They are configured in the **preferences** (//Window //>// Preferences > KIELER SCCharts > Project Drafts//). 486 486 487 -An environment consists of525 +An project draft consists of 488 488 489 489 1. a unique **name**, which may not contain a comma 490 490 1. anĀ **associated** project wizard
- Confluence.Code.ConfluencePageClass[0]
-
- Id
-
... ... @@ -1,1 +1,1 @@ 1 -33259 8521 +33259959 - URL
-
... ... @@ -1,1 +1,1 @@ 1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/33259 852/V2 Project Management1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/33259959/V2 Project Management