I'm just saying the resolution mechanisms in VHDL which tie in with the
use of port-bound type conversions are the wrong thing to do if you want
your AMS stuff to work.
Having said that, you can have it both ways by adding a keyword like
"primitive" (as suggested by Gord) to indicate that a type is resolved
flat rather than hierarchically. In which case if you see "primitive"
drivers on a net you can't do hierarchical resolution - noting that the
SV type "logic" is a "primitive" type, so you might want to do it the
other way round and mark non-primitive types as (say) "abstract".
You can look at this as "primitive" (net) types represent physical
things (actual wires), "abstract" may represent physical things but
don't have to.
Currently all net types in Verilog are "primitive", all types in VHDL
are "abstract".
Kev.
On 07/28/2010 08:00 AM, Lear, Jim wrote:
> Kevin Cameron wrote:
>
>> Resolution in Verilog is flat, i.e. hierarchy is not considered. VHDL
>> does not do flat resolution, and that can give incorrect behavior
>> for AMS.
>>
> I don't see were this could be a problem for a properly formed
> resolution function. Thevenin and Norton resolution functions are
> fairly robust.
>
> Kindest Regards,
> Jim Lear
> Cirrus Logic
>
-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.Received on Wed Jul 28 09:49:19 2010
This archive was generated by hypermail 2.1.8 : Wed Jul 28 2010 - 09:49:21 PDT