The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Design Languages >> VHDL-AMS >> hAMSter Model Editor Error Messages
https://designers-guide.org/forum/YaBB.pl?num=1500653916

Message started by loumbut5 on Jul 21st, 2017, 9:18am

Title: hAMSter Model Editor Error Messages
Post by loumbut5 on Jul 21st, 2017, 9:18am

Hi, sorry for the ambiguous topic but I have just started coding VHDL-AMS today. :)
Anyways, I am encountering the following errors while compiling and simulating my code which I am manually translating from SPICE to link with VHDL. 8-)

Error : Cannot save/load file "C:\Program Files\Hamster\Lib\\ieee\electrical_systems_pack\electrical_systems.package_bin"
Error : Library "spice2vhd" not found

The first error is beyond me. I don't know what the compiler wants. My directory only goes to C:\Program Files\Hamster\LIB\ieee\ with no electrical_systems_pack directory in the installation.
The second one is confusing since in the LIB directory, I have added the SPICE2VHD file attached.
Though I am not sure if I have saved it correctly since it is two packages in one. ::)
If you happen to know how to assist, please do. :)

Title: Re: hAMSter Model Editor Error Messages
Post by loumbut5 on Jul 23rd, 2017, 10:13am

Ok, I found the problem, I was not loading the proper library.
The new error now is:

\QU2.vhd( 4,???) : Error : Library "spice2vhd" not found
\QU2.vhd( 11,ENTITY qu2) : Info : Entity/Package "qu2" overwritten
\QU2.vhd( 8,ENTITY qu2) : Error : Library "spice2vhd" not found
\QU2.vhd( 9,ENTITY qu2) : Error : Library "spice2vhd" not found
\QU2.vhd( 14,ENTITY qu2) : Error : Simulation object for entity qu2 not created because of 2 errors
\QU2.vhd(???,?] : Error 70015 : error with compiling :-/

From the code:

library IEEE, SPICE2VHD;                                  
use IEEE.ELECTRICAL_SYSTEMS.all;  
use ieee.std_logic_1164.all;
use ieee.math_real.all;
use SPICE2VHD.SPICE_PARAMETERS.all;
use SPICE2VHD.SPICE_COMPONENTS.all;

Please assist.
Regards.

Title: Re: hAMSter Model Editor Error Messages
Post by loumbut5 on Jul 25th, 2017, 9:42am

Ok, had to recode the whole thing so as not to need the unrecognized library. :P
Oh well, it works now. :)

Title: Re: hAMSter Model Editor Error Messages
Post by Geoffrey_Coram on Aug 7th, 2017, 6:24am

Since you did not post your netlist (at least, you indicated you only posted the library), we have no idea how you tried to include that library. Even someone who has used Hamster before would only be guessing.

The Designer's Guide Community Forum » Powered by YaBB 2.2.2!
YaBB © 2000-2008. All Rights Reserved.