See replies below:
I would have to pass this question on to Dave R or Shalom or someone else. I don't know myself.
Hello Don;
As an aside, Have we cleaned up the other problems that keep people from using configurations ??
Lets come back to this after you look at the next write up I am sending out.
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.
I prefer to keep the current syntax for now. What ever is easiest to make this a possiblity
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;
yes - fixed in the next file to be sent out shortly.
o Shouldn't the 2nd example say "instance top #(.WIDTH(32));" to set the WIDTH to 32 ?
You are missing the '#'.
see new file soon to follow.
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.
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.
o Now we need to know how to modify types/interfaces from a configuration file.
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 archive was generated by hypermail 2.1.8 : Thu Sep 13 2007 - 17:05:06 PDT