Project

General

Profile

« Previous | Next » 

Revision 4f47032a

Added by Pierre-Loïc Garoche over 3 years ago

Updates some expected outputs

View differences:

stateflow_json/simple_Chart_SFIR_pp.json
19 19
        {
20 20
            "array_size": "[1, 2]",
21 21
            "datatype": "real",
22
            "initial_value": "[0,0]",
22
            "initial_value": "0.",
23 23
            "name": "t",
24 24
            "port": 3,
25 25
            "scope": "Output"
......
128 128
                "condition": {
129 129
                    "actions": "int_to_real(x + 1) > y ",
130 130
                    "external_fun": "int_to_real",
131
                    "inputs": "y: real;x: int;",
131
                    "inputs": "y: real;x: int",
132 132
                    "outputs": "",
133 133
                    "variables": ""
134 134
                },
135 135
                "condition_act": {
136 136
                    "actions": "x__1 = real_to_int(0.0); ",
137 137
                    "external_fun": "real_to_int, int_to_real",
138
                    "inputs": "x: int;",
139
                    "outputs": "x__1: int;",
138
                    "inputs": "x: int",
139
                    "outputs": "x__1: int",
140 140
                    "variables": ""
141 141
                },
142 142
                "dest": {
......
148 148
                "transition_act": {
149 149
                    "actions": "y__1 = y + 1.0; ",
150 150
                    "external_fun": "int_to_real",
151
                    "inputs": "y: real;",
152
                    "outputs": "y__1: real;",
151
                    "inputs": "y: real",
152
                    "outputs": "y__1: real",
153 153
                    "variables": ""
154 154
                }
155 155
            },
......
158 158
                "during_act": {
159 159
                    "actions": "x__1 = x + 1; y__1 = int_to_real(x__1) - 1.0; x__2 = real_to_int(min(int_to_real(x__1), y__1)); ",
160 160
                    "external_fun": "real_to_int, min, int_to_real",
161
                    "inputs": "y: real;x: int;",
162
                    "outputs": "y__1: real;x__2: int;",
163
                    "variables": "x__1: int;"
161
                    "inputs": "y: real;x: int",
162
                    "outputs": "y__1: real;x__2: int",
163
                    "variables": "x__1: int"
164 164
                },
165 165
                "entry_act": {
166 166
                    "actions": "x__1 = real_to_int(0.0); y__1 = 0.0; ",
167 167
                    "external_fun": "real_to_int, int_to_real",
168
                    "inputs": "y: real;x: int;",
169
                    "outputs": "y__1: real;x__1: int;",
168
                    "inputs": "y: real;x: int",
169
                    "outputs": "y__1: real;x__1: int",
170 170
                    "variables": ""
171 171
                },
172 172
                "exit_act": {

Also available in: Unified diff