error when loading fphdl16_pkg, fphdl_base_pkg

Discussion in 'VHDL' started by hari, Apr 29, 2004.

  1. hari

    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, Apr 29, 2004
    #1
    1. Advertising

  2. hari

    Alan Fitch Guest

    "hari" <> wrote in message
    news:...
    > 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:

    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.
     
    Alan Fitch, Apr 29, 2004
    #2
    1. Advertising

  3. hari

    He Guest

    the
    "hari" <> skrev i meddelandet
    news:...
    > 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
     
    He, Jun 11, 2004
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Erwan
    Replies:
    0
    Views:
    2,273
    Erwan
    Apr 2, 2004
  2. David Segall
    Replies:
    2
    Views:
    440
    Thomas Kellerer
    Jan 2, 2007
  3. Replies:
    4
    Views:
    311
  4. edfialk
    Replies:
    0
    Views:
    188
    edfialk
    May 10, 2007
  5. ofir
    Replies:
    0
    Views:
    187
Loading...

Share This Page