|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
|
|
|
Re: Fwd: [Help-gnucap] inline comment delimiterOn Tuesday 15 September 2009, asomers@... wrote:
> Here's a thread that started out on gnucap-help: > > What is the inline comment delimiter in gnucap, It depends on the language plugin, but mostly it doesn't work. Let's fix it now. Gnucap accepts several different simulation languages. What is the comment delimiter should depend on what language you are using. > and what > should it be? With the language plugins, it is possible to have exact compatibility with most other simulators, even the different incompatible versions of Spice. As it stands, compatibility isn't perfect, but Hspice and Eldo have been treated as the "spice" versions for which the highest compatibility is desired. > According to the manual for V0.35, the delimiter is quote. > It doesn't say whether that is single quote or double quote. That's unclear. .. The manual is being rewritten completely. The new version is on the wiki at: http://gnucap.org/dokuwiki/doku.php?id=gnucap:manual > From experiment, it seems that ' starts a comment on my > lines, but " starts a comment on a .SUBCKT line. Several characters are accepted to start whole-line comments, going back a long time when different versions of spice used different characters. Since there was no standard, accept all of them. I think it has converged to "*". Correct me if I am wrong. It is easy to change it to just about anything. So, since the example is Spice format .. What do the different versions of Spice do? (Hspice, Pspice, NGspice, LTspice, Eldo, Multi-sim, Smart-spice, .....) There is another issue now ... You can have parameter expressions. It looks like Hspice and Eldo want them in single quotes. Pspice appears to want curly braces. What else is there? Another comment issue is how comments mix with extension lines. It seems to be different in different simulators. _______________________________________________ Gnucap-devel mailing list Gnucap-devel@... http://lists.gnu.org/mailman/listinfo/gnucap-devel |
|
|
Re: Fwd: [Help-gnucap] inline comment delimiterIt looks like the spice language plugin section of the development
version's manual is yet to be written. Is there any place I can go for more info on that? On Tue, Sep 15, 2009 at 6:00 PM, al davis <ad211@...> wrote: > On Tuesday 15 September 2009, asomers@... wrote: >> Here's a thread that started out on gnucap-help: >> >> What is the inline comment delimiter in gnucap, > > It depends on the language plugin, but mostly it doesn't work. > Let's fix it now. > > Gnucap accepts several different simulation languages. What is > the comment delimiter should depend on what language you are > using. > >> and what >> should it be? > > With the language plugins, it is possible to have exact > compatibility with most other simulators, even the different > incompatible versions of Spice. > > As it stands, compatibility isn't perfect, but Hspice and Eldo > have been treated as the "spice" versions for which the highest > compatibility is desired. > >> According to the manual for V0.35, the delimiter is quote. >> It doesn't say whether that is single quote or double quote. > > That's unclear. .. The manual is being rewritten completely. > The new version is on the wiki at: > http://gnucap.org/dokuwiki/doku.php?id=gnucap:manual > >> From experiment, it seems that ' starts a comment on my >> lines, but " starts a comment on a .SUBCKT line. > > Several characters are accepted to start whole-line comments, > going back a long time when different versions of spice used > different characters. Since there was no standard, accept all > of them. > > I think it has converged to "*". Correct me if I am wrong. > > It is easy to change it to just about anything. So, since the > example is Spice format .. What do the different versions of > Spice do? > > (Hspice, Pspice, NGspice, LTspice, Eldo, Multi-sim, Smart-spice, > .....) > > There is another issue now ... You can have parameter > expressions. It looks like Hspice and Eldo want them in single > quotes. Pspice appears to want curly braces. What else is > there? > > Another comment issue is how comments mix with extension lines. > It seems to be different in different simulators. > > > > _______________________________________________ > Gnucap-devel mailing list > Gnucap-devel@... > http://lists.gnu.org/mailman/listinfo/gnucap-devel > _______________________________________________ Gnucap-devel mailing list Gnucap-devel@... http://lists.gnu.org/mailman/listinfo/gnucap-devel |
|
|
Re: Fwd: [Help-gnucap] inline comment delimiterOn Tuesday 15 September 2009, asomers@... wrote:
> It looks like the spice language plugin section of the > development version's manual is yet to be written. Is there > any place I can go for more info on that? Spice documentation, but that doesn't tell you the differences in gnucap. As I said, the manual is a work in progress, trying to track code that is a work in progress. _______________________________________________ Gnucap-devel mailing list Gnucap-devel@... http://lists.gnu.org/mailman/listinfo/gnucap-devel |
| Free embeddable forum powered by Nabble | Forum Help |