The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Analog Verification >> Analog Functional Verification >> Schematic Model Generator (SMG) tool
https://designers-guide.org/forum/YaBB.pl?num=1488200341

Message started by Jelena on Feb 27th, 2017, 4:59am

Title: Schematic Model Generator (SMG) tool
Post by Jelena on Feb 27th, 2017, 4:59am

Hi,

I have recently began working with SMG tool for generating wreal and verilogams model views for my designs.
What I was curious about is if it's possible to generate a pure verilog view (with .v extension).
At first glance from the manual, I think it isn't supposed to be able, but I'm not sure.
Does anyone have any experience with this tool?
Personally, I think it can be handy for some things, but at this point I still prefer handwritten models.

Title: Re: Schematic Model Generator (SMG) tool
Post by Andrew Beckett on Mar 2nd, 2017, 3:37am

I don't think there's any support for generating pure verilog. There's support for VerilogAMS and SystemVerilog, but of course if you're not using any of Verilog-AMS or SystemVerilog features, you could take the code and use elsewhere.

However, the goal of the tool is primarily for generating real number models.

Regards,

Andrew.

Title: Re: Schematic Model Generator (SMG) tool
Post by Jelena on Mar 8th, 2017, 3:10am

So far I was successful with simplistic models (using Verilog-Editor)
I expect BBTs from analog category if they're just using real values to work ok too.

I didn't find anything about using SKILL with SMG though.
I am facing a major pin change in schematic and it seems that if you update pins in the SMG (they get labeled as "Added by user") you have to manually select their domains.
I wasn't successful in finding pin domains using geGetEditCellView() on a modelSchematic.
Is there a SKILL set for SMG?

Regards,
Jelena

Title: Re: Schematic Model Generator (SMG) tool
Post by Andrew Beckett on Mar 8th, 2017, 9:54pm

Jelena,

There aren't really any public SMG SKILL APIs other than one to start SMG.

For the domain information though, this is defined as a property on the terminal objects:


Code:
cv=geGetEditCellView()
foreach(term cv~>terminals
 printf("Term %s has Domain %L\n" term~>name term~>Domain)
)


Regards,

Andrew.

The Designer's Guide Community Forum » Powered by YaBB 2.2.2!
YaBB © 2000-2008. All Rights Reserved.