ghdl-cosim icon indicating copy to clipboard operation
ghdl-cosim copied to clipboard

How to find the reg and net in the always block

Open Donmar001 opened this issue 1 year ago • 2 comments

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

Donmar001 avatar Oct 19 '23 02:10 Donmar001

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.

tgingold avatar Oct 21 '23 15:10 tgingold

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.

Donmar001 avatar Oct 23 '23 01:10 Donmar001