Home > Community > Forums > Custom IC Design > Integration of bsource in schematic views

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 Integration of bsource in schematic views 

Last post Thu, Feb 21 2013 12:17 AM by MicheleA. 9 replies.
Started by MicheleA 29 Jan 2013 01:09 PM. Topic has 9 replies and 1717 views
Page 1 of 1 (10 items)
Sort Posts:
  • Tue, Jan 29 2013 1:09 PM

    • MicheleA
    • Top 150 Contributor
    • Joined on Wed, Feb 1 2012
    • Den Bosch, Netherlands
    • Posts 60
    • Points 885
    Integration of bsource in schematic views Reply

    Hi All,

    while looking into some models of my design kit I stumbled upon this "bsource" component.

    I then tried to instantiate one in a schematic, without success : I could not find any primitive with this name.

    I reverted to the help to find out what a behavioural source is toghether with its many benefits when it comes to modeling.

    My question : how can I create a component to be used in the schematic views, whose circuit is a bsource?

    On a more general note, how can I "attach" a spectre netlist to a component, with symbol and properties?

    Thanks for your help,

     Michele 

    • Post Points: 5
  • Mon, Feb 4 2013 4:51 AM

    • MicheleA
    • Top 150 Contributor
    • Joined on Wed, Feb 1 2012
    • Den Bosch, Netherlands
    • Posts 60
    • Points 885
    Re: Integration of bsource in schematic views Reply

    ...hmm....Question too silly?

    Ill defined?

    Any RTFM reply would also be appreciated...If you point me to the right one!

     Thanks,

    • Post Points: 20
  • Mon, Feb 4 2013 5:21 AM

    Re: Integration of bsource in schematic views Reply
    No, I've just been travelling and haven't had a chance to answer yet. Hopefully later today

    Andrew
    • Post Points: 20
  • Mon, Feb 4 2013 7:08 AM

    • MicheleA
    • Top 150 Contributor
    • Joined on Wed, Feb 1 2012
    • Den Bosch, Netherlands
    • Posts 60
    • Points 885
    Re: Integration of bsource in schematic views Reply

    Hi Andrew,

    thanks! I have found this in the mean time:

    http://www.cadence.com/Community/blogs/rf/archive/2009/01/07/tip-of-the-week-how-to-simulate-a-subcircuit-netlist-with-spectre-in-ade.aspx

    this will hopefully get me started :)

    Michele

    • Post Points: 5
  • Mon, Feb 4 2013 8:40 AM

    • MicheleA
    • Top 150 Contributor
    • Joined on Wed, Feb 1 2012
    • Den Bosch, Netherlands
    • Posts 60
    • Points 885
    Re: Integration of bsource in schematic views Reply

    ...and here I'm back again :)

    So I was able to follow the FAQ item and now I have a nice new component with an underlying netlist.

    I will then use such an approach wherever I need to use bsouces for my purposes...I still find it strange that the analogLib does not offer such components already for the GUI?

    Kind regards,

     Michele

    • Post Points: 20
  • Tue, Feb 5 2013 1:45 AM

    Re: Integration of bsource in schematic views Reply

    Michele,

    The challenge with having a bsource component in analogLib is that we need to prevent ADE trying to interpret the expression and finding (incorrect) design variables in the expression. This isn't impossible, but it just hasn't been done yet...

    Regards,

    Andrew.

    • Post Points: 20
  • Tue, Feb 5 2013 1:51 AM

    • MicheleA
    • Top 150 Contributor
    • Joined on Wed, Feb 1 2012
    • Den Bosch, Netherlands
    • Posts 60
    • Points 885
    Re: Integration of bsource in schematic views Reply

    Andrew,

    I think I understand what your point is...Actually, after the initial excitement for my success, I thought I would then like to create a component - basically a wrapper for the bsource - where I can input the nonlinear relationship between charge,flux,voltage...

    But then I couldn't even in theory figure out how to handle this information without ADE getting in the way...

    So I resorted to a much lower level but also sure way : for each component I intend to model with a bsource, I will create a new symbol with an underlying subcircut with a proper Spectre-level description.

     Kind regards,

    Michele

    • Post Points: 20
  • Wed, Feb 20 2013 11:59 AM

    • markbeck
    • Top 200 Contributor
    • Joined on Thu, Jun 30 2011
    • Beaverton, OR
    • Posts 45
    • Points 1,355
    Re: Integration of bsource in schematic views Reply

    Hi Michele,

    I've got a potential solution to the issue you're describing here.

    I created a component in my library called 'BSource' with a symbol and spectre view only (just copy a vsource symbol).

    Then, I edited the CDF to have the following:

    Component Parameter:
    Name: v
    Prompt: v
    Type: String
    Parse as CEL: Yes
    Parse as Number: No

    Simulation Information: spectre
    instParameters: v
    termOrder: PLUS MINUS
    componentName: bsource

     With this, I was able to instantiate a BSource subcircuit with the following parameter:
    v=sin(2*3.14159*(Fstart*$time+Fgain*$time*$time)) 

    I then could start up ADE, have it pull the parameters Fstart and Fgain from the BSource instance and simulate a transient chip simulation.

    Mark 

     

    • Post Points: 35
  • Wed, Feb 20 2013 12:43 PM

    Re: Integration of bsource in schematic views Reply
    I've not tried it, but I think you may find that it breaks if you have v(nodename) - ADE may see nodename as a design variable.

    That's the problem. You may be ok with both parseAsCel and parseAsNum set to no. I'd have to try it (off line at moment)

    Andrew
    • Post Points: 5
  • Thu, Feb 21 2013 12:17 AM

    • MicheleA
    • Top 150 Contributor
    • Joined on Wed, Feb 1 2012
    • Den Bosch, Netherlands
    • Posts 60
    • Points 885
    Re: Integration of bsource in schematic views Reply

    Hi Mark,

    thanks for the tip!

    I am not a CAD engineer so in the mean time I shifted my focus on some other stuff, given that the subckt approach was doing what intended.

    I will surely try your suggestion as soon as I have some space left, it looks interesting and I shall definitely deepen my understanding of the Cadence/Virtuoso framework.

    Thanks again,

    Michele

    • Post Points: 5
Page 1 of 1 (10 items)
Sort Posts:
Started by MicheleA at 29 Jan 2013 01:09 PM. Topic has 9 replies.