What is the difference between OUT and BUFFER?

Thanh Thảo

New member
What is the difference between OUT and BUFFER?
A. BUFFER can’t be used inside the entity for reading the value and OUT can be
B. BUFFER can only be read whereas OUT can only be assigned a value
C. BUFFER can be read as well as assigned a value but OUT can only be assigned
D. Both are same
 
Answer: c
Explanation: BUFFER is a unidirectional mode used as an output from the entity. But, the value of BUFFER can be used inside the entity i.e. it can appear on both sides of assignment operator whereas the value of OUT can’t be used inside the entity and can appear on the left side of assignment operator.
 

Tìm kiếm

Back
Top