preethi19
Full Member level 5
- Joined
- Jun 30, 2014
- Messages
- 273
- Helped
- 0
- Reputation
- 0
- Reaction score
- 1
- Trophy points
- 16
- Activity points
- 3,474
i'm starting to learn verilog and in behavioral modelling was done within 2 procedural blocks which were initial and always... It was put "Initial blocks are usually used to initialize variables and to describe stimulus waveforms which exercise which drive the simulation.
An always block continuously repeats its execution during a simulation. Always blocks usually contain behavioral code that models the actual circuit operation"
but it was also put that initial and always blocks are separate (like not dependent on each other)
my doubt is how can we describe circuit only with always block... don't we need the initial block to initialize the variable values which will be used in the always block... i mean so they are dependent right... sorry if i am wrong... i'm bit confused
An always block continuously repeats its execution during a simulation. Always blocks usually contain behavioral code that models the actual circuit operation"
but it was also put that initial and always blocks are separate (like not dependent on each other)
my doubt is how can we describe circuit only with always block... don't we need the initial block to initialize the variable values which will be used in the always block... i mean so they are dependent right... sorry if i am wrong... i'm bit confused