Skip to content

Elaboration failure with hash of 00000000 expected #1152

@axman6

Description

@axman6

I'm running into a similar issue to #769 but somehow something's depending on something with a hash of 00000000. The commands being run by Cocotb are (with ... replacing paths etc. that shouldn't be relevant, and names changed to protect the innocent):

nvc \
 --work=work \
 --std=08 \
 --map=unisim:.../unisim.08 \
 --map=XPM:.../xpm.08 \
 -M 128m \
 -H 128m \
 -a \
   .../SUPPORT.vhd \
   .../BAR.vhd \
   .../FOO.vhd \
   .../common/OTHER.vhd 
#    in directory .../sim_build

 nvc \
  --work=work \
  --std=08 \
  --map=unisim:.../unisim.08 \
  --map=XPM:.../xpm.08 \
  -M 128m \
  -H 128m \
  -e foo \
  --no-save \
  --jit \
  -gDATA_WIDTH=32 \
  -r \
  --load=.../site-packages/cocotb/libs/libcocotbvhpi_nvc.so 
#   in directory .../sim_build

which produces

** Fatal: .../sim_build/work/WORK.FOO-BEHAVIORAL: design unit depends on 
          WORK.BAR with checksum 00000000 but the current version in the library has checksum 63edf8e7
** Note: this usually means WORK.FOO-BEHAVIORAL is outdated and needs to be reanalysed

This happens when I completely delete the sim_build directory. and re-run the test, which performs the above analysis and elaboration calls.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions