Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Assignments in an always block

Status
Not open for further replies.

kingslayer

Member level 4
Joined
Jun 14, 2010
Messages
78
Helped
25
Reputation
48
Reaction score
24
Trophy points
1,288
Location
Milano, Italy
Activity points
1,827
Dear all,

I once read somewhere that it is good design rule to have only one signal assigned in a process in Verilog. That is, if we have three signals, it is better to have three processes instead of a single one. I am now wondering... why? Do you have any idea on the applicability of this rule? What about complex designs?

Thanks in advance
Cheers
 

It is only from the readability perspective.
 

I've never heard that rule. You are very likely to have to repeat the same expressions in the three separate processes creating more opportunity for mistakes.

I think someone may have confused the synthesis rule that says you can only assign variable from a single process, and not multiple assignments to the same signal from multiple processes.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top