[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-bug: [Bug 702752] Re: gEDA netlisting for NGspice Code Models



I've split this into two patches (unrelated comments and the actual
change), and I'm going to commit them.

It's not stylistically very good Scheme, I'm afraid. ;-)  For example,
this:

(if (null? format)
  (set! format (gnetlist:get-package-attribute refdes "net-format"))
  (set! format (car format)))

Would be better written as:

(set! format
      (if (null? format)
        (gnetlist:get-package-attribute refdes "net-format")
        (car format)))

Thanks for the patch.

-- 
You received this bug notification because you are a member of gEDA Bug
Team, which is subscribed to gEDA.
https://bugs.launchpad.net/bugs/702752

Title:
  gEDA netlisting for NGspice Code Models

Status in GPL Electronic Design Automation tools:
  Fix Committed

Bug description:
  I came up with a little patch against the current gEDA cvs that allows
  for a custom format string in the spice-sdb backend for the gEDA
  gnetlist util. This allows you to seamlessly use code models in your
  spice simulations. Code models can be useful if you want to quickly
  cobble together a test environment for your circuit. I put together
  some examples on my wiki:

  https://www.eugeneweb.com/twiki/bin/view/Sites/CodeModels

  Not sure if net-format is the best attribute name for this, but I'm
  sure we could find one for it. :-)

      Clif

To manage notifications about this bug go to:
https://bugs.launchpad.net/geda/+bug/702752/+subscriptions


_______________________________________________
geda-bug mailing list
geda-bug@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-bug