Block: Delay



PIC




Inports


In

Input In(k)






Outports


Out

Output Out(k)=In(k-1)






Mask Parameters


ts_fact

Multiplication factor of base sampling time (in integer format)




Description:

Output delay by one sample time interval.

This block can be used to enable feedback loops in the model.

Implementations:
FiP8 8 Bit Fixed Point Implementation
FiP16 16 Bit Fixed Point Implementation
FiP32 32 Bit Fixed Point Implementation

Implementation: FiP8


Name FiP8
ID 3424
Revision 0.1
C filename Delay_FiP8.c
H filename Delay_FiP8.h

8 Bit Fixed Point Implementation

Data Structure:

typedef struct { 
     uint16        ID; 
     int8          *In; 
     int8          Out; 
} DELAY_FIP8;

Implementation: FiP16


Name FiP16
ID 3425
Revision 0.1
C filename Delay_FiP16.c
H filename Delay_FiP16.h

16 Bit Fixed Point Implementation

Data Structure:

typedef struct { 
     uint16        ID; 
     int16         *In; 
     int16         Out; 
} DELAY_FIP16;

Implementation: FiP32


Name FiP32
ID 3426
Revision 0.1
C filename Delay_FiP32.c
H filename Delay_FiP32.h

32 Bit Fixed Point Implementation

Data Structure:

typedef struct { 
     uint16        ID; 
     int32         *In; 
     int32         Out; 
} DELAY_FIP32;