VHDL Variable Vs. Signal

后端 未结 5 532
情深已故
情深已故 2020-12-05 09:33

I have been reading a text (Don\'t have it in front so can\'t give the title) about VHDL programming. One problem I\'ve been having a hard time understanding from the text i

5条回答
  •  离开以前
    2020-12-05 10:19

    Variables - they are local to a process, their value is updated as soon as the variable gets a new value.

    Shared Variables- are like variables but they can be accessed from different processes.

    Signals- Their scope is bigger, every process can access signals declared in the architecture or a specific block( if there is). There value updates after the process is suspended or encounters a wait statement.

提交回复
热议问题