VHDL Variable Vs. Signal

后端 未结 5 548
情深已故
情深已故 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:11

    variables: Temporary location; they are used to store intermediate values within "process".

    signals: Update signal values. Run process activated by changes on signal.While process is running all signals in system remain unchanged.

    Differences:

    variables: They are local; no delay; declared within process

    signals: They are global (before begin); delay due to wire; declared before key word begin

提交回复
热议问题