Quality control (2)/Digital System Design

DSD - Behavioral Modeling(2) / Procedure constructs (always)

빈그레 2023. 4. 6. 02:33

 

 

 


Procedure Constructs (always)

 

 

 

 

 

잠깐 !!  initial은 module에서 쓰지 말고 testbench에서만 쓰기~~!~! 기억해!
   그치만~? always는? module안에서 쓸 수 있다!!!!

 

 

 

 

 

 

always Statements

 

- consists of all behavioral statements inside an always statement

  ( always 구문 안에서 모든 구문 선언 )

 

- starts at simulation time 0 and ends at $finish or $stop

 

- executs continuously during simulation

 

- Similare to infinite loop in C