ghdl / ghdl-cosim

Documentation with code examples about interfacing VHDL with foreign languages and tools through GHDL
https://ghdl.github.io/ghdl-cosim
Apache License 2.0
46 stars 9 forks source link

How to find the reg and net in the always block #36

Open Donmar001 opened 11 months ago

Donmar001 commented 11 months ago

if i want to know the driver of the reg signal,what should i do?

tgingold commented 11 months ago

Not sure what you'd like to get. If you need to get the list of signals, vpi (or vhpi) is the interface to use.

Donmar001 commented 10 months ago

For example,I want to get the Driver of the reg in the always block.If u use the vpiDriver,you cannt get the driver,it will return the null.