[sv-bc] Re: configs and params

From: Don Mills <mills_at_.....>
Date: Thu Sep 13 2007 - 17:03:58 PDT
See replies below:

Adam Krolnik wrote:

Hello Don;

As an aside,  Have we cleaned up the other problems that keep people from using configurations ??

I would have to pass this question on to Dave R or Shalom or someone else.  I don't know myself.

o These examples, though small, express what you desire for the old way of using verilog.
   The first one may look better to show the new parameter value to be, say, top.WIDTH+2 - something
   different than the file completely.
Lets come back to this after you look at the next write up I am sending out.

o Do we need to use the parameter override syntax, or can we use simple assignment ? E.g.
   instance top.a1.size = top.WIDTH;
   cell top.WIDTH = 16;
I prefer to keep the current syntax for now.  What ever is easiest to make this a possiblity

o Shouldn't the 2nd example say "instance top #(.WIDTH(32));"  to set the WIDTH to 32 ?
   You are missing the '#'. 
yes - fixed in the next file to be sent out shortly.

o  It isn't clear that setting top.WIDTH to 32 means that this new value will be used when setting top.a1.size to top.WIDTH.
see new file soon to follow.


o Now we need to know how to modify types/interfaces from a configuration file.
my  preference for now is to keep this simple.  If possible, I would prefer to only override value and not types, but I see no reason why my proposed syntax couldn't also be applied to types. 


Don Mills wrote:
Attached is my first pass at actual text to be submitted as a mantis item.  I wanted to run this by you guys first to make sure that I did not have any glaring problems.  I assume that the text will need some work, we can either clean things up within the confines of this small group or I could go ahead and open the mantis item and we could have our discussion on the reflector.  What is the preference?

dm


-- 
    Soli Deo Gloria
    Adam Krolnik
    Director of Design Verification
    VeriSilicon Inc.
    Plano TX. 75074
    Co-author "Assertion-Based Design"
  

-- 
==========================================================
Don Mills
mills@lcdm-eng.com
www.lcdm-eng.com
==========================================================

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean. Received on Thu Sep 13 17:04:43 2007

This archive was generated by hypermail 2.1.8 : Thu Sep 13 2007 - 17:05:06 PDT