RE: [sv-bc] always_comb question

From: Mark Hartoog <Mark.Hartoog_at_.....>
Date: Wed Feb 15 2006 - 08:30:47 PST
Yes, it is legal. A constant bit or part select is a static prefix, so
this is allowed by the longest static prefix rule.


________________________________

	From: owner-sv-bc@eda.org [mailto:owner-sv-bc@eda.org] On Behalf
Of Bresticker, Shalom
	Sent: Wednesday, February 15, 2006 4:16 AM
	To: sv-bc@eda.org
	Subject: [sv-bc] always_comb question
	
	
	  

	Hi,

	 

	Should it be possible to write different bits of a vector in
different always_comb processes?

	 

	always_comb

	    a[0] = ...

	 

	always_comb

	    a[1] = ...

	 

	or is this a violation of the rule "The variables written on the
left-hand side of assignments shall not be written to by any other
process"?

	 

	Thanks,

	Shalom

	 

	Shalom Bresticker

	Intel Jerusalem LAD DA

	+972 2 589-6852

	+972 54 721-1033

	I don't represent Intel 

	 



image001.gif
Received on Wed Feb 15 08:30:55 2006

This archive was generated by hypermail 2.1.8 : Wed Feb 15 2006 - 08:31:23 PST