[sv-bc] Handling of negative delay values

From: Jonathan Bromley <jonathan.bromley_at_.....>
Date: Mon Feb 12 2007 - 15:01:00 PST
hi sv-bc,

sv-ec is working on finalizing Mantis 890 (clocking blocks)
and amongst other things wishes to nail down exactly what
should happen when a user provides a negative value in 
a ##N procedural cycle delay.  Those who have contributed
to the discussion thus far support the idea that the 
negative value should be treated as unsigned, yielding
a large positive value, and a warning should be raised.

By analogy this raises the question of what happens when
a user supplies a negative value to a #N procedural 
delay.  Current tools disagree; we already have evidence
of two different behaviours - silent treatment of the
negative value as a large unsigned value, and silent 
clipping of the negative value to zero.

I plan to raise a Mantis item for the ## behaviour,
and I'd appreciate your input on whether it's appropriate
to extend the Mantis item to propose the same mandatory 
behaviour for #N as well.

Apologies if this has already been discussed or specified, 
but I have so far failed to find anything.

Thanks
--
Jonathan Bromley, Consultant

DOULOS - Developing Design Know-how
VHDL * Verilog * SystemC * e * Perl * Tcl/Tk * Project Services

Doulos Ltd. Church Hatch, 22 Market Place, Ringwood, Hampshire, BH24 1AW, UK
Tel: +44 (0)1425 471223                   Email: jonathan.bromley@doulos.com
Fax: +44 (0)1425 471573                           Web: http://www.doulos.com

The contents of this message may contain personal views which
are not the views of Doulos Ltd., unless specifically stated.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Mon Feb 12 15:01:24 2007

This archive was generated by hypermail 2.1.8 : Mon Feb 12 2007 - 15:01:49 PST