error when loading fphdl16_pkg, fphdl_base_pkg

H

hari

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
 
A

Alan Fitch

hari said:
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:
(e-mail address removed)
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,905
Latest member
Kristy_Poole

Latest Threads

Top