error when loading fphdl16_pkg, fphdl_base_pkg

H

hari

Guest
h
i am using the 16 bit floating point package fphdl16_pkg and
according to the specification in the website the package
fphdl_base_pkg is the base package for the fphdl16_pkg.but when i load
the design with the packages i get a error in model sim.

# ** Error: (vsim-3174) Package 'work.fphdl_base_pkg' requires a body.


both the packages compile correctly.
what could be the reason.do i need to use declare the package
fphdl_base_pkg
in my design directly( i did that but even then the same error is
repeating)
thanks
hari
 
"hari" <hari_pro@yahoo.com> wrote in message
news:a4a587f1.0404282348.17c9fe25@posting.google.com...
h
i am using the 16 bit floating point package fphdl16_pkg and
according to the specification in the website the package
fphdl_base_pkg is the base package for the fphdl16_pkg.but when i
load
the design with the packages i get a error in model sim.

# ** Error: (vsim-3174) Package 'work.fphdl_base_pkg' requires a
body.


both the packages compile correctly.
what could be the reason.do i need to use declare the package
fphdl_base_pkg
in my design directly( i did that but even then the same error is
repeating)
thanks
hari
You need to compile the files in the following order

fphdl_base_pkg.vhd
fphdl_base_pkg_body.vhd
fphdl16_pkg.vhd

(from reading the website). I guess you forgot the
fphdl_base_pkg_body.vhd

regards

Alan



--
Alan Fitch
Consultant

DOULOS - Developing Design Know-how
VHDL * Verilog * SystemC * Perl * Tcl/Tk * Verification * Project
Services

Doulos Ltd. Church Hatch, 22 Market Place, Ringwood, Hampshire, BH24
1AW, UK
Tel: +44 (0)1425 471223 mail:
alan.fitch@doulos.com
Fax: +44 (0)1425 471573 Web:
http://www.doulos.com

The contents of this message may contain personal views which are not
the
views of Doulos Ltd., unless specifically stated.
 
the
"hari" <hari_pro@yahoo.com> skrev i meddelandet
news:a4a587f1.0404282348.17c9fe25@posting.google.com...
h
i am using the 16 bit floating point package fphdl16_pkg and
according to the specification in the website the package
fphdl_base_pkg is the base package for the fphdl16_pkg.but when i load
the design with the packages i get a error in model sim.

# ** Error: (vsim-3174) Package 'work.fphdl_base_pkg' requires a body.


both the packages compile correctly.
what could be the reason.do i need to use declare the package
fphdl_base_pkg
in my design directly( i did that but even then the same error is
repeating)
thanks
hari
 

Welcome to EDABoard.com

Sponsor

Back
Top