Changes for page PLDI'14 Artifact on SCCharts
Last modified by Alexander Schulz-Rosengarten on 2023/09/11 16:17
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -2,7 +2,7 @@ 2 2 3 3 = Modeling SCCharts with KIELER = 4 4 5 -This tutorial should guide you if you like to model SCCharts with KIELER and use the circuit based software synthesis path as explained in our [1] [[PLDI'14 submission>>url:http://rtsys.informatik.uni-kiel.de/ ~~biblio/downloads/papers/pldi14.pdf||shape="rect"]]. We will show you how to5 +This tutorial should guide you if you like to model SCCharts with KIELER and use the circuit based software synthesis path as explained in our [1] [[PLDI'14 submission>>url:http://rtsys.informatik.uni-kiel.de/%7Ebiblio/downloads/papers/pldi14-submitted.pdf||shape="rect"]]. We will show you how to 6 6 7 7 ~1. Download & Start KIELER, 8 8 ... ... @@ -10,19 +10,29 @@ 10 10 11 11 3. Generate C Code. 12 12 13 -We will use a simple example here in order to illustrate the process. It should bestraightforwardtousetheseinstructionsin ordertocompilea more advancedSCChart.Note thatthere areknown minorbugs in thecurrentnightly buildthat willbefixedinthenext release of KIELER 0.10.0. These bugsmightinsomecasespreventyou from compilingmore elaborateexamples.13 +We will use a simple example here in order to illustrate the process. Please refer to the SCCharts superpage for the [[project status>>doc:SCCharts]] and [[known limitations>>doc:SCCharts]]. If you are interested in the source code you can find instruction how to download and compile it here: [[Getting Started>>url:http://rtsys.informatik.uni-kiel.de/confluence/display/KIELER/Getting+Started||shape="rect"]]. 14 14 15 +See a list of the evaluated examples at the end. 16 + 15 15 16 16 17 -[1] PLDI submission: [[http:~~/~~/rtsys.informatik.uni-kiel.de/~~~~biblio/downloads/papers/pldi14.pdf>>url:http://rtsys.informatik.uni-kiel.de/%7Ebiblio/downloads/papers/pldi14.pdf||shape="rect" class="moz-txt-link-freetext"]]19 +[1] PLDI submission: [[http:~~/~~/rtsys.informatik.uni-kiel.de/~~~~biblio/downloads/papers/pldi14-submitted.pdf>>url:http://rtsys.informatik.uni-kiel.de/%7Ebiblio/downloads/papers/pldi14-submitted.pdf||shape="rect"]] 18 18 19 - =Download & Start KIELER =21 + 20 20 23 +In addition to the step-by-step tutorial below we also captured a [[video >>url:http://rtsys.informatik.uni-kiel.de/~~kieler/files/pldi14/sccharts.swf||shape="rect"]]that shows each of the explained steps: 24 + 25 +[[~[~[image:attach:RTEmagicC_demo.png.png~]~]>>url:http://rtsys.informatik.uni-kiel.de/~~kieler/files/pldi14/sccharts.swf||shape="rect"]] 26 + 27 +Download location: [[http:~~/~~/rtsys.informatik.uni-kiel.de/~~~~kieler/files/pldi14/sccharts.swf>>url:http://rtsys.informatik.uni-kiel.de/~~kieler/files/pldi14/sccharts.swf||shape="rect"]] 28 + 29 += 1. Download & Start KIELER = 30 + 21 21 [[Download>>url:http://rtsys.informatik.uni-kiel.de/~~kieler/files/pldi14/||shape="rect"]] a suitable KIELER version for your operation system. The zip bundles are fully compiled and ready-to-run, they do not need any further installation process. Just save and extract them to/at the location of your choice and start the KIELER executable. 22 22 23 23 [[~[~[image:attach:RTEmagicC_download.png.png~]~]>>url:http://rtsys.informatik.uni-kiel.de/~~kieler/files/pldi14/||shape="rect"]] 24 24 25 -Download Location: [[http:~~/~~/rtsys.informatik.uni-kiel.de/~~~~kieler/files/pldi14/>>url:http://rtsys.informatik.uni-kiel.de/~~kieler/files/pldi14/||shape="rect"]]35 +Download location: [[http:~~/~~/rtsys.informatik.uni-kiel.de/~~~~kieler/files/pldi14/>>url:http://rtsys.informatik.uni-kiel.de/~~kieler/files/pldi14/||shape="rect"]] 26 26 27 27 When you start the KIELER executable, you probably need to set a (new) workspace location of your choice. (Click on the images to enlarge them). 28 28 ... ... @@ -50,70 +50,14 @@ 50 50 51 51 Now you can proceed in modeling an SCChart as explained below. 52 52 53 -= Model an SCChart = 63 += 2. + 3. Model and Compile an SCChart = 54 54 55 - Right-clickon aproject andcreate a(text)File:65 +We have moved the guide that shows how to model and compile an SCChart within KIELER to a new [[doc:Quick Start Tutorial]]. Be advised that in order to follow all explanations there may require the latest version of KIELER not the (possibly outdated) PLDI-Artifact. 56 56 57 - [[image:attach:kieler08.png]]67 + 58 58 59 - Nameitabo.sct:69 += 4. Evaluated Examples = 60 60 61 - [[image:attach:kieler09.png]]71 +In the following, you find the examples used for evaluation. Be advised that there currently is no tool integrated evaluation possible. Please refer to the SCCharts superpage for the [[project status>>doc:SCCharts]] and [[known limitations>>doc:SCCharts]]. 62 62 63 -The textual SCCharts Xtext based editor (for *.sct files) will automatically be opened: 64 - 65 -[[image:attach:kieler10.png]] 66 - 67 -Now start modeling an SCChart. For example copy & paste the following sct code of abo, the hello world of SCCharts: 68 - 69 -{{code title="abo.sct"}} 70 -@VHLayout 71 -scchart ABO { 72 - input output bool A; 73 - input output bool B; 74 - output bool O1; 75 - output bool O2; 76 - region: 77 - 78 - initial state Init 79 - --> WaitAB immediate with / O1 = false; O2 = false; 80 - state WaitAB { 81 - region HandleA: 82 - initial state WaitA 83 - --> DoneA immediate with A / B = true; O1 = true; 84 - final state DoneA; 85 - region HandleB: 86 - initial state WaitB 87 - --> DoneB with B / O1 = true; 88 - final state DoneB; 89 - } 90 - >-> GotAB with / O1 = false; O2 = true; 91 - state GotAB; 92 -} 93 -{{/code}} 94 - 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 - 103 -You will now see how to generate a C tick function. 104 - 105 -= Generate C Code = 106 - 107 -You can do several transformations on SCCharts (*.sct files). Just right click the file you want to transform in the project explorer and select the Transform SCChart sub menu. As abo is already a Core SCCart you do not need the core transformations. Click the All Normalize Transformations, this will do the Split Trigger and Effects and the Surface and Depth transformations together (in this order). 108 - 109 -[[image:attach:kieler13.png]] 110 - 111 -After performing a transformation the transformed SCChart will open (together with it's KLighD diagram visualization): 112 - 113 -[[image:attach:kieler14.png]] 114 - 115 -Now generate the Sequentially Constructive Graph (SCG) from the normalized form. You do this also in the context menu of the Project Explorer 116 - 117 - 118 - 119 - 73 +Find the list of Examples used for evaluation [[here>>doc:Examples]].
- Confluence.Code.ConfluencePageClass[0]
-
- Id
-
... ... @@ -1,1 +1,1 @@ 1 - 86517271 +9471413 - URL
-
... ... @@ -1,1 +1,1 @@ 1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/ 8651727/PLDI'14 Artifact on SCCharts1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/9471413/PLDI'14 Artifact on SCCharts