Closed pidgeon777 closed 1 month ago
Which version are you using? Can you check this still fails with either the latest master branch or 1.12 release?
$ nvc -M 64m --message=compact --std=1993 --work=work:nvc_lib -e --verbose TestModule
note: initialising [7ms +54332kB]
note: loading top-level unit [1ms +688kB]
note: elaborating design [3ms +5640kB]
note: saving library [0ms +344kB]
note: code generation for 15 units [73ms +13916kB]
note: linking shared library [1ms +0kB]
$ nvc --version
nvc 1.13-devel (1.12.0.r12.g47bc8413186d) (Using LLVM 15.0.6) [debug]
Copyright (C) 2011-2024 Nick Gasson
This program comes with ABSOLUTELY NO WARRANTY. This is free software, and
you are welcome to redistribute it under certain conditions. See the GNU
General Public Licence for details.
``
I think this was fixed by afca01c6ef18d
@nickg this is an issue that I have found while working on a project, which I haven't been able to solve.
A
fatal: load indirect with non-pointer argument
error is produced when trying to elaborate an entity.Steps to reproduce
TestBusSlv.vhd
TestCompLib.vhd
TestIfPkg.vhd
TestModule.vhd
TestPkg.vhd
TestModule
top-level entity:As a result, the following error is produced:
Expected behavior
The design should elaborate without errors.
Additional information
Other compilers and simulators like GHDL and the one from Vivado are able to elaborate the design without issues.