From: Stefan J. <st...@gr...> - 2007-11-06 07:47:16
|
Am Di, 6.11.2007, 06:26, schrieb gajanan: > Hello Jahn, Hello! My first name is Stefan... > Sorry, I dont know how i miss to put the error message. > Following is the error message > --------------------------------------------------------------- > make[5]: Entering directory `/usr/local/qucs-0.0.12/qucs-core/src' > make[5]: Nothing to be done for `all-am'. > make[5]: Leaving directory `/usr/local/qucs-0.0.12/qucs-core/src' > Making all in converter > make[5]: Entering directory > `/usr/local/qucs-0.0.12/qucs-core/src/converter' > if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -O2 -pipe > -fno-exceptions -fno-rtti -fno-check-new -MT check_spice.o -MD -MP -MF > ".deps/check_spice.Tpo" -c -o check_spice.o check_spice.cpp; \ > then mv -f ".deps/check_spice.Tpo" ".deps/check_spice.Po"; else rm > -f ".deps/check_spice.Tpo"; exit 1; fi > ../../src/hash.h:57: error: parse error in template argument list > ../../src/hash.h:80: error: parse error in template argument list Hm looks like the compiler (g++) does not like the destructors of hashentry<> and hashbucket<>. Which version do you use (g++ --version)? > In spite of the obove error message, i do able to install and work with > QUCS but it seems qucsconv command which converts SPICE to QUCS netlist > does not work. Yep, because of the "error". > Let me take this opportunity to introduce myself, > I am Gajanan Dessai, and lecturer in JIIT University, Noida,INDIA. > (www.jiit.ac.in). My intrest are in VLSI Device modeling (Bulk and Double > gate MOSFET). > We want to implement the compact model for symmetric double gate mosfet > in QUCS to study its circuit performance. Model is taken from following > reference: > > [1] IEEE-ED, Explicit Continious model for Double-Gate and > Surrounding-Gate MOSFETs, vol. 54, No. 10, Oct 2007. > > We have implemented the above model in ELDO simulator through Verilog-A > language. Sounds interesting :) If you dont mind I would like to be informed about your progress... Regards, Stefan. |
From: Stefan J. <st...@gr...> - 2007-11-08 18:23:12
|
Am Di, 6.11.2007, 09:41, schrieb gajanan: > Hi Stefan, Hello! > I use gcc version 4.1.1 on fedora 7 linux. Hm. Actually that should work. Find it suspicious. What if you remove the <???> expression after the constructors in the appropriate lines? Hope this works, Stefan. |
From: Stefan J. <st...@gr...> - 2008-01-25 11:43:19
|
Am Fr, 25.01.2008, 12:26, schrieb gajanan: > Hi, Hello! > I was trying to implement DGMOSFET in QUCS using adms. we have followed > the steps given in verilog.pdf. > > It seems that everything works fine as far as adms conversions are > concerned. We had to add following lines in qucsVersion.Xml > > </admst:when> > <admst:when test="[name='dgmos']"> > <admst:new datatype="attribute" arguments="qucsname"> > <admst:push into="../attribute" select="." onduplicate="abort"/> > <admst:value-to select="value" value="dgmos"/> > </admst:new> I see. With the current scripts in CVS. This would not have been necessary... > While compiling i am getting following error: > ===================================================== > make[2]: Entering directory `/usr/local/qucs-0.0.13/qucs' > Making all in bitmaps > make[3]: Entering directory `/usr/local/qucs-0.0.13/qucs/bitmaps' > make[3]: Nothing to be done for `all'. > make[3]: Leaving directory `/usr/local/qucs-0.0.13/qucs/bitmaps' > Making all in components > make[3]: Entering directory `/usr/local/qucs-0.0.13/qucs/components' > if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/qt3 > -DQT_THREAD_SUPPORT -D_REENTRANT -I../../qucs -g -O2 -pipe > -fno-exceptions -fno-check-new -W -Wall -MT component.o -MD -MP -MF > ".deps/component.Tpo" -c -o component.o component.cpp; \ > then mv -f ".deps/component.Tpo" ".deps/component.Po"; else rm -f > ".deps/component.Tpo"; exit 1; fi > rm -f libcomponents.a > ar cru libcomponents.a phaseshifter.o gyrator.o componentdialog.o vcvs.o > vccs.o tr_sim.o tline.o substrate.o sp_sim.o param_sweep.o mstee.o > msstep.o msline.o mscross.o mscoupled.o mscorner.o hb_sim.o diode.o > dc_sim.o coplanar.o ccvs.o cccs.o ac_sim.o volt_dc.o volt_ac.o > subcircuit.o sparamfile.o source_ac.o isolator.o equation.o circulator.o > attenuator.o ampere_dc.o transformer.o symtrafo.o subcirport.o ground.o > dcfeed.o dcblock.o biast.o inductor.o capacitor.o vhdlfile.o component.o > resistor.o iprobe.o volt_noise.o ampere_noise.o msmbend.o msopen.o > ampere_ac.o bjt.o jfet.o mosfet.o msgap.o bjtsub.o mosfet_sub.o vpulse.o > ipulse.o vrect.o irect.o msvia.o amplifier.o opamp.o spicefile.o cpwopen.o > cpwshort.o spicedialog.o cpwgap.o cpwstep.o libcomp.o mutual.o mutual2.o > noise_ii.o noise_iv.o noise_vv.o logical_or.o logical_nor.o logical_and.o > logical_nand.o logical_xor.o logical_xnor.o logical_inv.o digi_sim.o > digi_source.o coupler.o rs_flipflop.o d_flipflop.o jk_flipflop.o > coaxialline.o vprobe.o switch.o relais.o am_modulator.o pm_modulator.o > opt_sim.o optimizedialog.o tline_4port.o twistedpair.o bondwire.o > hicumL2p1.o HBT_X.o verilogfile.o vexp.o iexp.o eqndefined.o vfile.o > ifile.o mod_amp.o hic2_full.o componentdialog.moc.o spicedialog.moc.o > optimizedialog.moc.o spicefile.moc.o > ranlib libcomponents.a > make[3]: Leaving directory `/usr/local/qucs-0.0.13/qucs/components' > Making all in diagrams > make[3]: Entering directory `/usr/local/qucs-0.0.13/qucs/diagrams' > make[3]: Nothing to be done for `all'. > make[3]: Leaving directory `/usr/local/qucs-0.0.13/qucs/diagrams' > Making all in paintings > make[3]: Entering directory `/usr/local/qucs-0.0.13/qucs/paintings' > make[3]: Nothing to be done for `all'. > make[3]: Leaving directory `/usr/local/qucs-0.0.13/qucs/paintings' > Making all in dialogs > make[3]: Entering directory `/usr/local/qucs-0.0.13/qucs/dialogs' > make[3]: Nothing to be done for `all'. > make[3]: Leaving directory `/usr/local/qucs-0.0.13/qucs/dialogs' > make[3]: Entering directory `/usr/local/qucs-0.0.13/qucs' > g++ -g -O2 -pipe -fno-exceptions -fno-check-new -W -Wall -o qucs > -L/lib node.o element.o qucsdoc.o wire.o mouseactions.o qucs.o main.o > wirelabel.o qucs_init.o qucs_actions.o viewpainter.o mnemo.o schematic.o > schematic_element.o textdoc.o schematic_file.o qucs.moc.o schematic.moc.o > textdoc.moc.o components/libcomponents.a diagrams/libdiagrams.a > paintings/libpaintings.a dialogs/libdialogs.a -lSM -lICE -lX11 -lqt-mt > qucs.o:(.data+0x1ac): undefined reference to `dgmos::info(QString&, > char*&, bool)' > components/libcomponents.a(component.o): In function > `getComponentFromName(QString&)': > /usr/local/qucs-0.0.13/qucs/components/component.cpp:1577: undefined > reference to `dgmos::dgmos()' > collect2: ld returned 1 exit status > make[3]: *** [qucs] Error 1 > make[3]: Leaving directory `/usr/local/qucs-0.0.13/qucs' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/usr/local/qucs-0.0.13/qucs' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/usr/local/qucs-0.0.13' > make: *** [all] Error 2 > ============================================================ > > > In the implementation of diode we need "diode.h" (see page 17 verilog.pdf) > which is already present in respective folders. But for dgmos how to get > dgmos.h. Is it dgmos.gui.h which we get with > > $ admsXml diode.va -e qucsVersion.xml -e qucsMODULEgui.xml > > Help needed!!! Yep. It's dgmos.gui.h which is going to be renamed into dgmos.h for the GUI... Also I dont see yet dgmos.cpp compiled in the libcomponents... Did you miss the Makefile.am entry? Hope this helps further, Stefan. |
From: Bastien R. <rou...@gm...> - 2008-01-25 12:04:49
|
Le vendredi 25 janvier 2008, Stefan Jahn a =E9crit=A0: > Am Fr, 25.01.2008, 12:26, schrieb gajanan: > > Hi, Hi stefan, I have also a compilation problem with adms. I compile using make -j 2 (I have two procs), but sometimes (and not always= )=20 compilations fail in adms directory. I suppose they are some dependancies (= or=20 race) problem, because -j 1 (or without) work pretty well. Any idea? > Hello! > > > I was trying to implement DGMOSFET in QUCS using adms. we have followed > > the steps given in verilog.pdf. > > > > It seems that everything works fine as far as adms conversions are > > concerned. We had to add following lines in qucsVersion.Xml > > > > </admst:when> > > <admst:when test=3D"[name=3D'dgmos']"> > > <admst:new datatype=3D"attribute" arguments=3D"qucsname"> > > <admst:push into=3D"../attribute" select=3D"." onduplicate=3D"a= bort"/> > > <admst:value-to select=3D"value" value=3D"dgmos"/> > > </admst:new> > > I see. With the current scripts in CVS. This would not have > been necessary... > > > While compiling i am getting following error: > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D > > make[2]: Entering directory `/usr/local/qucs-0.0.13/qucs' > > Making all in bitmaps > > make[3]: Entering directory `/usr/local/qucs-0.0.13/qucs/bitmaps' > > make[3]: Nothing to be done for `all'. > > make[3]: Leaving directory `/usr/local/qucs-0.0.13/qucs/bitmaps' > > Making all in components > > make[3]: Entering directory `/usr/local/qucs-0.0.13/qucs/components' > > if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/qt3 > > -DQT_THREAD_SUPPORT -D_REENTRANT -I../../qucs -g -O2 -pipe > > -fno-exceptions -fno-check-new -W -Wall -MT component.o -MD -MP -MF > > ".deps/component.Tpo" -c -o component.o component.cpp; \ > > then mv -f ".deps/component.Tpo" ".deps/component.Po"; else rm = =2Df > > ".deps/component.Tpo"; exit 1; fi > > rm -f libcomponents.a > > ar cru libcomponents.a phaseshifter.o gyrator.o componentdialog.o vcvs.o > > vccs.o tr_sim.o tline.o substrate.o sp_sim.o param_sweep.o mstee.o > > msstep.o msline.o mscross.o mscoupled.o mscorner.o hb_sim.o diode.o > > dc_sim.o coplanar.o ccvs.o cccs.o ac_sim.o volt_dc.o volt_ac.o > > subcircuit.o sparamfile.o source_ac.o isolator.o equation.o circulator.o > > attenuator.o ampere_dc.o transformer.o symtrafo.o subcirport.o ground.o > > dcfeed.o dcblock.o biast.o inductor.o capacitor.o vhdlfile.o component.o > > resistor.o iprobe.o volt_noise.o ampere_noise.o msmbend.o msopen.o > > ampere_ac.o bjt.o jfet.o mosfet.o msgap.o bjtsub.o mosfet_sub.o vpulse.o > > ipulse.o vrect.o irect.o msvia.o amplifier.o opamp.o spicefile.o > > cpwopen.o cpwshort.o spicedialog.o cpwgap.o cpwstep.o libcomp.o mutual.o > > mutual2.o noise_ii.o noise_iv.o noise_vv.o logical_or.o logical_nor.o > > logical_and.o logical_nand.o logical_xor.o logical_xnor.o logical_inv.o > > digi_sim.o digi_source.o coupler.o rs_flipflop.o d_flipflop.o > > jk_flipflop.o coaxialline.o vprobe.o switch.o relais.o am_modulator.o > > pm_modulator.o opt_sim.o optimizedialog.o tline_4port.o twistedpair.o > > bondwire.o hicumL2p1.o HBT_X.o verilogfile.o vexp.o iexp.o eqndefined.o > > vfile.o ifile.o mod_amp.o hic2_full.o componentdialog.moc.o > > spicedialog.moc.o optimizedialog.moc.o spicefile.moc.o > > ranlib libcomponents.a > > make[3]: Leaving directory `/usr/local/qucs-0.0.13/qucs/components' > > Making all in diagrams > > make[3]: Entering directory `/usr/local/qucs-0.0.13/qucs/diagrams' > > make[3]: Nothing to be done for `all'. > > make[3]: Leaving directory `/usr/local/qucs-0.0.13/qucs/diagrams' > > Making all in paintings > > make[3]: Entering directory `/usr/local/qucs-0.0.13/qucs/paintings' > > make[3]: Nothing to be done for `all'. > > make[3]: Leaving directory `/usr/local/qucs-0.0.13/qucs/paintings' > > Making all in dialogs > > make[3]: Entering directory `/usr/local/qucs-0.0.13/qucs/dialogs' > > make[3]: Nothing to be done for `all'. > > make[3]: Leaving directory `/usr/local/qucs-0.0.13/qucs/dialogs' > > make[3]: Entering directory `/usr/local/qucs-0.0.13/qucs' > > g++ -g -O2 -pipe -fno-exceptions -fno-check-new -W -Wall -o qucs > > -L/lib node.o element.o qucsdoc.o wire.o mouseactions.o qucs.o main.o > > wirelabel.o qucs_init.o qucs_actions.o viewpainter.o mnemo.o schematic.o > > schematic_element.o textdoc.o schematic_file.o qucs.moc.o schematic.moc= =2Eo > > textdoc.moc.o components/libcomponents.a diagrams/libdiagrams.a > > paintings/libpaintings.a dialogs/libdialogs.a -lSM -lICE -lX11 -lqt-mt > > qucs.o:(.data+0x1ac): undefined reference to `dgmos::info(QString&, > > char*&, bool)' > > components/libcomponents.a(component.o): In function > > `getComponentFromName(QString&)': > > /usr/local/qucs-0.0.13/qucs/components/component.cpp:1577: undefined > > reference to `dgmos::dgmos()' > > collect2: ld returned 1 exit status > > make[3]: *** [qucs] Error 1 > > make[3]: Leaving directory `/usr/local/qucs-0.0.13/qucs' > > make[2]: *** [all-recursive] Error 1 > > make[2]: Leaving directory `/usr/local/qucs-0.0.13/qucs' > > make[1]: *** [all-recursive] Error 1 > > make[1]: Leaving directory `/usr/local/qucs-0.0.13' > > make: *** [all] Error 2 > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > > > > In the implementation of diode we need "diode.h" (see page 17 > > verilog.pdf) which is already present in respective folders. But for > > dgmos how to get dgmos.h. Is it dgmos.gui.h which we get with > > > > $ admsXml diode.va -e qucsVersion.xml -e qucsMODULEgui.xml > > > > Help needed!!! > > Yep. It's dgmos.gui.h which is going to be renamed into dgmos.h > for the GUI... Also I dont see yet dgmos.cpp compiled in the > libcomponents... Did you miss the Makefile.am entry? > > Hope this helps further, > Stefan. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Qucs-help mailing list > Quc...@li... > https://lists.sourceforge.net/lists/listinfo/qucs-help =2D-=20 "ROUCARIES Bastien" roucaries.bastien@gmail.= com =2D------------------------------------------------------------------------= =2D----- DO NOT WRITE TO rou...@gm... OR BE BLACKLISTED |
From: Stefan J. <st...@gr...> - 2008-01-25 12:20:42
|
Am Fr, 25.01.2008, 13:07, schrieb Bastien ROUCARIES: > Hi stefan, Hi! > I have also a compilation problem with adms. > > I compile using make -j 2 (I have two procs), but sometimes (and not > always) > compilations fail in adms directory. I suppose they are some dependancies > (or > race) problem, because -j 1 (or without) work pretty well. Any idea? Does filing the dependency, e.g. HBT_X.core.cpp: HBT_X.analogfunction.cpp in the Makefile.am for each model help for the problem? Cheers, Stefan. |