Dear Adrien,
As far as I understand what you are looking for, in a technical point of
view only, you want a waveform format that is able to contain
floating-point data values.
You also want this format to be handled by a waveform viewer, say
GTKWave, so that you can use it out of the box.
Am I right here ?
You are right that this is a kind of minimal requirement. What is
aimed for is full VHDL and VHDL-AMS coverage in what should be
expressable in such waveform format. I wasn't clear in my OP and I
apologize for that :)
GTKWave already handles real values from the VCD format. Note that I
don't remember whether it's standard or not. At least the comments in
the GTKWave source code suggest it is.
To generate VCD files with floating-point data values, use the "r" or
"R" token, it is read as a double by GTKWave (in v3.2.3, file vcd.h line
955). Example of syntax:
#100
r42.123 &1
VCD is probably the best documented format, since there is a VCD
chapter in the Verilog standard since its conception (Verilog-HDL).
It would be nice to maybe extend FST or GHW (which are more
VHDL-oriented) with real data types (along either additions like
enumerations). A proper solution would involve the entire VHDL type
system.
Best regards
Nikolaos Kavvadias
_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss