Syntax direct declaration: <type-specifier> <declaration-list> type-specifier: bool, int, real, time, signal Example: time tau %% declaration time t90, t180 %% declaration-list int ph %% declaration Legend: PPL keywords; PPL pulse commands; comments. declaration by assignment: variable-name = <expression> Example: tau = 10us T = tau - 2us Legend: PPL keywords; PPL pulse commands; comments. DescriptionThere are two ways of variable declaration: direct and
by assignment. |