Project

General

Profile

Download (595 Bytes) Statistics
| Branch: | Tag: | Revision:
1
-- This file has been generated by CoCoSim2.
2

    
3
-- Compiler: Lustre compiler 2 (ToLustre.m)
4
-- Time: 03-Dec-2018 22:56:47
5
(*
6
Original block name: DiscretePulseGenerator_sample_3_PP
7
*)
8
node  DiscretePulseGenerator_sample_3_PP(_virtual : bool;)
9
returns(Out1_1 : real;);
10
var PulseGenerator_1 : real;
11
	__time_step : real;
12
	__nb_step : int;
13
let
14
	PulseGenerator_1 = if ((__nb_step >= 1) and (((__nb_step - 1) mod 6) < 2)) then
15
		1.500000000000000
16
	    else 0.0;
17
	Out1_1 = PulseGenerator_1;
18
	__time_step = (0.0 -> ((pre __time_step) + 0.100000000000000));
19
	__nb_step = (0 -> ((pre __nb_step) + 1));
20
tel
21

    
(499-499/1153)