]> git.nickg.me.uk Git - nvc.git/commit
vhpi: Add support for nonstandard search strings
authorSean Anderson <sean.anderson@seco.com>
Tue, 16 May 2023 23:17:02 +0000 (19:17 -0400)
committerNick Gasson <nick@nickg.me.uk>
Wed, 17 May 2023 19:10:13 +0000 (19:10 +0000)
commitd1fe4f11578cc15d2f170c44150e6044b590b5ec
tree3e1665577f3af3c314c26bf99530e9c962d14d98
parent4d7e159f2a0e54b29830b499718ed13e10bf9d70
vhpi: Add support for nonstandard search strings

As far as I can tell, search strings of the form

   unit.signal

are relative, and therefore cannot be used with a scope of NULL.
However, they appear to be both supported by other simulators [1], and
expected by cocotb. Add support.

[1] https://www.aldec.com/en/support/resources/documentation/articles/1456#vhpi_handle_by_name__
src/vhpi/vhpi-model.c
test/vhpi/vhpi1.c