[sv-champions] Mantis 1698

From: Bresticker, Shalom <shalom.bresticker_at_.....>
Date: Thu Mar 13 2008 - 07:49:45 PDT
Hi,

Mantis 1698 has the following:

Assuming that default clocking is not defined, the following two
examples are illegal because no clock can be inferred:
assign x = $rose(b); // illegal

always @(posedge clk) begin
...
@(negedge clk2);
x = $past(y, 5); // illegal
end

I'm in doubt about whether the first example would work even if a
default clocking is defined. It might not be illegal, but I am in doubt
about whether it would work, because continuous assignments are
triggered only when a net or variable on the right hand side changes.
Can anyone resolve my doubt one way or the other?

Thanks,
Shalom

Shalom Bresticker
Intel Jerusalem LAD DA
+972 2 589-6582
+972 54 721-1033

---------------------------------------------------------------------
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 Thu Mar 13 07:53:42 2008

This archive was generated by hypermail 2.1.8 : Thu Mar 13 2008 - 07:53:48 PDT