pratibha m d
Junior Member level 3
H All,
I have a doubt on blocking and non blocking assignments used inside an always block. As I know, the blocking assignments are executed sequentially while the non blocking assignments are executed concurrently.
An always statement is a concurrent statement while the statements inside the always statement are sequential statements. My doubt is, if non-blocking statements are used inside the always block, they will be executed sequentially and will be updated at the end of the always block. But where as blocking statements inside always block are also executed sequentially but are updated immediately after the execution of each blocking statement.
So to say, both the blocking and non blocking assignments inside an always block are executed sequentially but are updated differently.
Is my above understanding right?
Plz help me..
Thanks
I have a doubt on blocking and non blocking assignments used inside an always block. As I know, the blocking assignments are executed sequentially while the non blocking assignments are executed concurrently.
An always statement is a concurrent statement while the statements inside the always statement are sequential statements. My doubt is, if non-blocking statements are used inside the always block, they will be executed sequentially and will be updated at the end of the always block. But where as blocking statements inside always block are also executed sequentially but are updated immediately after the execution of each blocking statement.
So to say, both the blocking and non blocking assignments inside an always block are executed sequentially but are updated differently.
Is my above understanding right?
Plz help me..
Thanks