RE: [sv-ac] Revised version of proposal 2005 (deferred assertions)

From: Bresticker, Shalom <shalom.bresticker_at_.....>
Date: Mon Dec 17 2007 - 19:58:53 PST
The assertion statement label a1 is a block_identifier.
 
Shalom



	 

	2. I don't think you can disable an assertion with a disable
statement, only tasks or blocks.  

	disable_statement ::=

	disable hierarchical_task_identifier ;

	| disable hierarchical_block_identifier ;

	| disable fork ;

	 

	So in the example you need to disable the block "b1", not the
assertion "a1"

	 

	always @(bad_val or bad_val_ok) begin : b1

	  a1: assert #0 (bad_val) else $fatal("Sorry"); 

	  if (bad_val_ok) 

	  disable a1;
	end

---------------------------------------------------------------------
Intel Israel (74) Limited

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Mon Dec 17 20:08:52 2007

This archive was generated by hypermail 2.1.8 : Mon Dec 17 2007 - 20:09:04 PST