Data Flow Modelling
Data Flow Modelling
The LHS of the assign statement must always be a scalar or vector net or a concatenation. It
cannot be a register.
Continuous statements are always active statements, which means that if any value on the
RHS changes, LHS changes automatically.
Registers or nets or function calls can come in the RHS of the assignment.
The RHS expression is evaluated whenever one of its operands changes. Then the result is
assigned to the LHS.
Delays can be specified in the assign statement.
07/19/2023 Dr.B.KHALEELU REHMAN,Assoc Proff ECE Dept,CBIT(A) 6
07/19/2023 Dr.B.KHALEELU REHMAN,Assoc Proff ECE Dept,CBIT(A) 7
Data flow modelling Delays
• 1. Regular Assignment Delay
• We assign a delay value in the continuous assignment statement. The delay value is
specific
• This delay is applicable when the signal in LHS is already defined, and this delay
represents the delay in changing the value of the already declared net. For example,ed
after the assign keyword.
• If there is any change in the RHS operands, then RHS expression will be evaluated after
10 units of time and the evaluated expression will be assigned to LHS.
• At time t, if there is a change in one of the operands in the above example, then the
expression is calculated at t+10 units of time.
• It means that if in0 or in1 changes value before 10-time units, then the values of in1
and in2 at the time of re-computation (t+10) are considered.
• assign #10 out = in0 & in1;
• 1. Arithmetic Operators
• These operators shift operands to the right or left, the size is kept
constant, shifted bits are lost, and the vector is filled with zeroes.
Other Operators