Subject: Re: [sv-bc] Re: implicit instantiation of top-level modules?
From: Steven Sharp (sharp@cadence.com)
Date: Thu Jul 10 2003 - 13:59:16 PDT
>X-Authentication-Warning: max.boyd.com: majordomo set sender to
owner-etf@boyd.com using -f
>From: Michael McNamara <mac@verisity.com>
> Actually, what this allows is an additional fairly powerfull
> capability: Easy reference to a sibling.
> The difference here is that the add_jtag doesn't need to know the
> instance name of the ff it is mucking with: the rules of 12.4 require
> the simulator to find the nearest neighbor up the hierarchy that
> instanticate an 'ff' module. It does not affect every 'ff' module,
> just the first one found using the upwards relative refernecing rules
> defined in 12.4.1
This does not work. Module names will only match ancestors. To match
a sibling requires using an instance name. Note that with an ancestor,
there is a unique match for the module name. There could be multiple
siblings that were instances of the same module.
What this allows is a reference to something in a parent or other
ancestor without needing to know the instance name that that parent
got instantiated with.
Steven Sharp
sharp@cadence.com
This archive was generated by hypermail 2b28 : Thu Jul 10 2003 - 14:00:26 PDT