9.18. Variables & signals in VHDL

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ส.ค. 2024
  • www.electrontu...
    Signals are fairly easy to understand, they are physical nodes in a circuit. Variables in VHDL can be a little challenging because they represent temporary storage locations more akin to a programming paradigm. But if you really want to be confused, check out how variables and signals behave in a process.

ความคิดเห็น • 4

  • @TareqKhan0
    @TareqKhan0 4 ปีที่แล้ว +2

    Very good explanation.

  • @mahmoudtantawi93
    @mahmoudtantawi93 4 ปีที่แล้ว +3

    Hi Dr. Karim, firstly thank you very much for this informative channel, and the videos are really helpful and greatly explained. Secondly I wonder what are the variables synthesized to in this case?

    • @electrontube4284
      @electrontube4284  4 ปีที่แล้ว +1

      So variable synthesis is a very context-sensitive issue. It depends on how and where the variable is used. Most variables will synthesize into registers with values that are considered significant under certain conditions. Some variables will not synthesize into anything and will be implied by hardware for surrounding statements. In some conditions, variables may yield latches, but this requires some very bad coding. Most normal uses of variables will become registers.

  • @andreabentivoglio764
    @andreabentivoglio764 ปีที่แล้ว

    Thank you for this video, it was so much usefull!