RE: percent codes for analyses (was: Feb 8 2007 minutes)

From: Bresticker, Shalom <shalom.bresticker_at_.....>
Date: Mon Feb 12 2007 - 05:15:03 PST
Mantis 331 adds %p to SV. I'll check for the complete list.

Whatever you decide on, you should notify the P1800 WG in order to avoid
future conflicts.

Shalom


> -----Original Message-----
> From: owner-verilog-ams@server.eda.org [mailto:owner-verilog-
> ams@server.eda.org] On Behalf Of Geoffrey.Coram
> Sent: Monday, February 12, 2007 2:52 PM
> Cc: verilog-ams
> Subject: percent codes for analyses (was: Feb 8 2007 minutes)
> 
> Martin O'Leary wrote:
> >
> > * Add percentage codes for analysis that can be used to uniquely
name
> a
> > file generated by an analysis.
> > It a file is not uniquely name, it will be overwritten if there are
> > multiple analysis opening, closing and writing to the file.
> 
> Let's be sure that SV is going to go along with this; there are
> only 26 percent codes, and most of them are already used.  We
> don't want SV to assign a different meaning.
> 
> What does this code look like?  If I put "results_%a" to I get
> files like "results_dc" "results_ac" ...
> 
> Or are the names more like the temporary filenames generated
> by the C function "tmpnam"?
> 
> On one hand, it would be nice to know that dc results are in
> "results_dc"; on the other, I don't want the results of the
> second dc analysis in a single netlist to overwrite those
> of the first dc analysis.
> 
> Some simulators have names for the analysis, eg "dc1" in this:
> dc1 dc start=0 stop=5
> Will the percent code use this name?  On one hand, this would
> give good control to the user; on the other hand, it may be
> inappropriate to dictate this for the simulator in an HDL
> manual.
> 
> -Geoffrey
> 
> 
> Codes used in Verilog 1364-2005:
> b,c,d,e,f,g,h, ,l,m, ,o, ,s,t,u,v, ,z
> 
> C uses i,n,p,x in some implementations, though %i looks
> to the same as %d; %x is "unsigned hex" in C, whereas
> %h is "hex" in Verilog.  Also, %u is "unsigned decimal"
> in C, but "unformatted 2-value" in Verilog.  (%p is for
> a pointer. %n is strange: printf outputs nothing but
> instead stores back into the corresponding argument the
> number of characters printed so far.)
> 
> I don't see any new ones in 1800-2005.  AMS uses %r.
> 
> That leaves: a,j,k,q,w,y  %a sure would be nice for
> analysis ...
> 
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.

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

This archive was generated by hypermail 2.1.8 : Mon Feb 12 2007 - 05:16:06 PST