I have an error when I run a digital simulation,
Usage: C:\PROGRA~1\Qucs\bin\qucsdigi.bat "<netlist.txt> <output.dat> <time> <directory>
<bindirectory> <vlibs> "
Directory has to contain the file 'netlist.txt'. Errors occurred during simulation
on lun 18. apr 2011 at 11:14:01 Aborted.
I found the file qucsdigi.bat, and I opened it with notepad (see below)
at the bottom, there is a label":usage" whit the same error-message
This error is triggered: "if not exist "%6" goto usage" (see below REM section)
what is it ? Perhaps not find a parameter ?
REM qucsdigi.bat - wrapper script for digital simulation
REM Copyright (C) 2005, 2006, 2009 Stefan Jahn <firstname.lastname@example.org>
REM This is free software; you can redistribute it and/or modify
REM it under the terms of the GNU General Public License as published by
REM the Free Software Foundation; either version 2, or (at your option)
REM any later version.
REM This software is distributed in the hope that it will be useful,
REM but WITHOUT ANY WARRANTY; without even the implied warranty of
REM MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
REM GNU General Public License for more details.
REM You should have received a copy of the GNU General Public License
REM along with this package; see the file COPYING. If not, write to
REM the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor,
REM Boston, MA 02110-1301, USA.
if not exist "%6" goto usage
if not exist "%DIR%" goto nodir
cd /d "%DIR%"
if not exist %NAME% goto nofile
copy %NAME% digi.vhdl > NUL
set CXXFLAGS=-O2 -I"%FREEHDL%/include"
set LDFLAGS=-L"%FREEHDL%/lib" -L"%FREEHDL%/lib/freehdl" -Wl,-enable-auto-import -s
set LIBS=-lfreehdl-kernel -lfreehdl-std -lieee -lregex
echo running C++ conversion…
freehdl-v2cc -m %NAME%._main_.cc -L"%FREEHDL%/share/freehdl/lib" -Lvhdl -o %NAME%.cc %NAME%.vhdl
echo compiling functions…
%CXX% %CXXFLAGS% -c %NAME%.cc
echo compiling main…
%CXX% %CXXFLAGS% -c %NAME%._main_.cc
%CXX% %NAME%._main_.o %NAME%.o %LDFLAGS% -Lvhdl %VLIBS% %LIBS% -o %NAME%.exe
%NAME%.exe -q -cmd "dc -f %NAME%.vcd -t 1 ps -q;d;run %TIME%;q;" < NUL
echo running VCD conversion…
qucsconv %OPTION% -if vcd -of qucsdata -i %NAME%.vcd -o %NAMEOUT%
echo Usage: %0 "<netlist.txt> <output.dat> <time> <directory> <bindirectory> <vlibs> "
echo Directory has to contain the file 'netlist.txt'.
exit /b 1
echo %DIR%: Not a directory
exit /b 1
echo %NAME%: No such file
exit /b 1
Perhaps, I have found the problem. So
Before I had installed
and it does not run !!!
Now I have installed
and it does run !!!
On the download directory
I do not see a mingw32 compiler, I found it on
Is there a mingw32 a compiler for qucs-0.0.16-setup.exe ?
Was it the problem ? (That before digital Qucs does not run)
Bye Stefano ( and Thanks )
Sorry for the bug, it was fixed after the release in SVN.
Best regards, Stefan.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.