difference of variable and signal

Y

YiQi

What's the different between variable and signal?

variable
signal
assignment operator: :=
<=
share between process: key word"shared"
yes

what else?
 
R

Ralf Hildebrandt

YiQi said:
What's the different between variable and signal?

As _every_ VHDL book will tell you: Variables are updated immediately
and signals are updated in the next delta delay.

Ralf
 
Joined
Nov 22, 2006
Messages
1
Reaction score
0
Ralf Hildebrandt said:
YiQi wrote:

> What's the different between variable and signal?


Signals are like the hardware, they are not updated until the end of process. Variables are updated immediately.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,175
Messages
2,570,942
Members
47,476
Latest member
blackwatermelon

Latest Threads

Top