Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - What is the difference between if statement and CASE statement in VHDL?
What is the difference between if statement and CASE statement in VHDL?
These two are very similar to C language.

In VHDL language, the general IF is only used to judge whether it is true or not.

CASE statements are generally used to judge priorities. When 74 138 is compiled with VHDL, it is a case.

In fact, the nesting of IF is a CASE statement.

I don't know if you understand. (Limited language expression)