[savant-users] question about savant version

Doug Hickey dhickey at cliftonlabs.com
Mon Jun 5 11:16:21 EDT 2006


Chark, 

Your system setup appears fine.  The error you receive regarding
_savant_entity_elab.hh not being found is because it is contained within
the tyvis directory.  This error is fixed by changing line 3 of the
generated main.cc to:  #include "tyvis/_savant_entity_elab.hh".  The
code generator was fixed to account for this difference after the
version you have.

Unfortunately, after making this change to main.cc it appears publishing
std_logic_arith is not well supported in that version of savant.  I have
made steady progress on ieee1164 support in the current version of
savant, but it is very much a work in progress.  

Are you only interested in working with std_logic_arith?  Both versions
of the software provide reasonable support for the LRM standard but,
from a quick runthrough, neither currently generate working code for
std_logic_arith.  You might have some luck with the 1.0 release:
http://www.cliftonlabs.com/savant/download/uc-mirror/ but I cannot
provide support for working with that version.  

Good luck,

Doug


On Fri, 2006-05-26 at 16:58 +0800, Chen Chen wrote:
> I am very glad for your help. thanks a lot. ^_^
> 
> I download the version of pre031216, after installed it, I run the
> command as follow:
> 
> scram Cversion
> 
> It displayed: 1.1.99
> 
> Is it right?
> 
> The version of GCC is 
> 
> =========================
> 
> Antlr parser generator   Version 1.33MR33   1989-2001
> 
> =============================
> 
> libtool -version 1.4.3 (1.922.2.111 2002/10/23 02:54:36)
> 
> g++ (GCC) 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)
> 
>  
> 
> [hi at localhost ieee_nc]$ scram --publish-cc std_logic_arith.vhd
> 
> Processing file std_logic_arith.vhd
> 
> Parse complete - no errors.
> 
> Starting C++ code generation...
> 
> Code generation finished.
> 
> [hi at localhost ieee_nc]$ cd work._savant_lib/
> 
> [hi at localhost work._savant_lib]$ make
> 
> g++ -I/home/hi/clutils/include -I/home/hi/tyvis/include
> -I/home/hi/warped/include -DDEVELOPER_ASSERTIONS
> -I/home/hi/savant/lib/savant/lib/std._savant_lib
> -I/home/hi/vhdl_testcase/summit/ieee_nc/work._savant_lib
> -I/home/hi/savant/lib/savant/lib/ieee._savant_lib -g -O2 -g -Wall
> -pipe -c main.cc -o main.o
> 
> main.cc:3:34: _savant_entity_elab.hh: No such file or directory
> 
> main.cc: In function `int main(int, char**)':
> 
> main.cc:9: error: invalid use of undefined type `struct
> _savant_entity_elab'
> 
> /home/hi/tyvis/include/tyvis/VHDLApplication.hh:34: error: forward
> declaration of `struct _savant_entity_elab'
> 
> make: *** [main.o] Error 1
> 
> 
> With best regards
> Chark
>  
> On 5/26/06, Doug Hickey <dhickey at cliftonlabs.com> wrote: 
>         Chark,
>         
>         Thank you for your interest in SAVANT.  Currently, the most
>         complete
>         version of SAVANT is pre031216.  After this version was
>         released, 
>         development began to rewrite the Tyvis portion (C++ code
>         generator) as a
>         plugin to scram.  Development continues on the plugin
>         architecture and
>         the lastest code is available using CVS by following the
>         development 
>         primer
>         at:  http://www.cliftonlabs.com/savant-devel-primer.html .
>         
>         Currently, I am working on adding ieee1164 support to the
>         Tyvis plugin
>         and continue work on improving code generation coverage
>         outlined in the 
>         VHDL LRM.  The Tyvis plugin available in the CVS archive
>         supports bit
>         and bit_vector as well as most std_textio calls.  The system
>         is under
>         constant development and we encourage users to submit patches
>         to further 
>         development.
>         
>         Because std_logic_arith is based on the ieee1164 library, it
>         is not
>         currently support in the current Savant system.  You may have
>         luck with
>         the pre031216 version.  If you continue to have issues with
>         the base 
>         Savant install, please feel free to contact the development
>         list
>         savant-devel at cliftonlabs.com and include your compiler version
>         and a log
>         of the errors you receive. 
>         
>         Regards,
>         
>         --
>         Doug Hickey
>         Computer Engineer
>         Clifton Labs, Inc.
>         dhickey at cliftonlabs.com
>         513.771.3751
>         
>         On Thu, 2006-05-25 at 20:57 +0800, Chen Chen wrote: 
>         > Hello everyone,
>         >
>         > I download the savant and want to install it on a smp
>         machine, but
>         > unfortunately I am failed when I install the VHDL library. I
>         don't
>         > know whether the version of savant-2.0-pre031216 is useful.
>         The
>         > painful VHDL library is std_logic_arith.vhd. When I build
>         it, it
>         > reports so many errors. I want to know whether I download
>         the right
>         > version of SAVANT. I also download the version of 
>         > savant-2.0-pre040909 . Which version is preferred?
>         >
>         > Thanks a lot and any help is appreciate.
>         >
>         > With best regards
>         >
>         > Chark Chen
>         >
>         > _______________________________________________ 
>         > savant-users mailing list
>         > savant-users at cliftonlabs.com
>         > http://cliftonlabs.com/cgi-bin/mailman/listinfo/savant-users
>         
>         
> 
> _______________________________________________
> savant-users mailing list
> savant-users at cliftonlabs.com
> http://cliftonlabs.com/cgi-bin/mailman/listinfo/savant-users





More information about the savant-users mailing list