Get internal signals of vhdl design in ncvhdl (alternative to modelsim's signal spy)

前端 未结 2 683
悲哀的现实
悲哀的现实 2021-01-16 02:34

In ModelSim you can use something like

in modelsim we can use init_signal_spy(\"../.../sig\", mysignal);

to get deep hierarchy signals. Is there a way to get

2条回答
  •  误落风尘
    2021-01-16 03:20

    As one can see here, the function is called nc_mirror.

     nc_mirror (destination => "destination",
    
               source => "source",
    
               verbose => "verbose"); 
    

    It takes a destination and a source and does just the same as init_signal_spy does for modelsim. The third parameter is optional. Additionally it supports mirroring arrays or records.

    In this interesting answer a wrapper package is provided that converts the nc_mirror or init_spy_signal (and others) to a function "probe".

提交回复
热议问题