On 04/07/16 09:23, Lehmann, Patrick wrote:
Hello,
a short remark do generics and constants.
Of cause these signals do not change and in many designs they are fixed values,
but generics might change from instance level to instance level or be different
in instances created within a for... generate loop.
Waveform viewers like iSim and xSim allow the user to display constants and
generics, too.
ModelSim has a tool window to display them, but GHDLs primary viewer GTKWave
has no
constants window for debugging. Especially, recursive instantiated designs are
hard to debug
if one can't see the generic's/constant's values :).
Writing a constant value to VCD like files has no big impact on the file size,
because the value
is given as an initial value.
So maybe it's no bad idea, if a user can explicitly enable generic/constant
dumping. I see the
biggest problem in displaying such a value, so it doesn't look like a signal in
the waveform view.
So as an optional feature, I would vote yes :).
Makes sense.
Tristan.
_______________________________________________
Ghdl-discuss mailing list
Ghdl-discuss@gna.org
https://mail.gna.org/listinfo/ghdl-discuss