Languages
When I try to read the FSDB waveform files produced by XMODEL simulation (e.g. with $xmodel_dumpfile()
and $xmodel_dumpvars()
) using a waveform viewer, I am getting the following warning messages:
*WARN* This FSDB file (sig.fsdb) was generated using a previous version.
*WARN* This FSDB file has higher version(5.7) than the current FSDB Reader(5.6), so that it does not know how to read it.
They seem to indicate a mismatch in the FSDB versions. How can I change the version of the FSDB format produced by XMODEL?
You can change the version of the FSDB format produced by XMODEL by choosing a different version of FSDB writer library when running the XMODEL simulation. For your information, the XMODEL package does not contain a specific version of FSDB writer library. The FSDB writer library is part of the Synopsys VERDI package, and the users who want to write FSDB-format waveform files using the $xmodel_dumpfile()
and $xmodel_dumpvars()
commands must have the VERDI package installed and the related licenses required. For some reason we don’t know, there exist some incompatibilities between the different versions of the FSDB format. Because of that, it is sometimes necessary to change the version of the FSDB writer library to produce the desired version of FSDB-format waveform files with XMODEL. As of 2020.08, XMODEL can be linked with versions 5.4, 5.5, 5.6, 5.7, and 5.8 of the Synopsys VERDI’s FSDB writer library.
The basic way of setting the version of the FSDB writer library used by XMODEL is to define the environment variable $VERDI_HOME
or $NOVAS_HOME
as the installation path of the desired VERDI package. For instance, you can define $VERDI_HOME
using the following syntax in a csh-like shell:
setenv VERDI_HOME /cad/synopsys/Verdi/Verdi_O-2018.09
And using the following syntax in a bash-like shell:
export VERDI_HOME=/cad/synopsys/Verdi/Verdi_O-2018.09
While defining the $NOVAS_HOME
environment variable has the same effects, please note that the defined value of $VERDI_HOME
takes the higher priority.
If you can’t modify the definition of $VERDI_HOME
for some reasons, you may define the $XMODEL_FSDBWR_PATH
environment variable to set the path to the FSDB writer library directly (named libnffw.so
). For instance:
setenv XMODEL_FSDBWR_PATH /cad/synopsys/Verdi/Verdi_O-2018.09/share/FsdbWriter/LINUX64
in csh-like shells and
export XMODEL_FSDBWR_PATH=/cad/synopsys/Verdi/Verdi_O-2018.09/share/FsdbWriter/LINUX64
in bash-like shells. Please note that the path to the FSDB writer library may depend on the operating system architecture. And the value of $XMODEL_FSDBWR_PATH
takes precedence over the values of $VERDI_HOME
and $NOVAS_HOME
.
If XMODEL cannot find the FSDB writer library (libnffw.so
) from the paths defined by the $XMODEL_FSDBWR_PATH
, $VERDI_HOME
, or $NOVAS_HOME
environment variables, it will try to locate the library from the paths defined by the $LD_LIBRARY_PATH
environment variable. Unlike the case with the FSDB reader library (link), these $XMODEL_FSDBWR_PATH
, $VERDI_HOME
, and $NOVAS_HOME
environment variables also take effects when you launch the XMODEL simulations by directly executing the SystemVerilog simulator command instead of using the ‘xmodel
’ launcher script.
Please login or Register to submit your answer
XMODEL의 $xmodel_dumpfile()
와 $xmodel_dumpvars()
명령으로 생성된 FSDB 파형파일을 waveform viewer 등으로 읽으려고 할때, 아래와 같은 warning 메시지가 발생합니다.
*WARN* This FSDB file (sig.fsdb) was generated using a previous version.
*WARN* This FSDB file has higher version(5.7) than the current FSDB Reader(5.6), so that it does not know how to read it.
FSDB 버전간에 차이가 있다는 뜻 같습니다. XMODEL이 생성하는 FSDB 파형 포맷의 버전을 설정하는 방법이 있나요?
You can change the version of the FSDB format produced by XMODEL by choosing a different version of FSDB writer library when running the XMODEL simulation. For your information, the XMODEL package does not contain a specific version of FSDB writer library. The FSDB writer library is part of the Synopsys VERDI package, and the users who want to write FSDB-format waveform files using the $xmodel_dumpfile()
and $xmodel_dumpvars()
commands must have the VERDI package installed and the related licenses required. For some reason we don’t know, there exist some incompatibilities between the different versions of the FSDB format. Because of that, it is sometimes necessary to change the version of the FSDB writer library to produce the desired version of FSDB-format waveform files with XMODEL. As of 2020.08, XMODEL can be linked with versions 5.4, 5.5, 5.6, 5.7, and 5.8 of the Synopsys VERDI’s FSDB writer library.
The basic way of setting the version of the FSDB writer library used by XMODEL is to define the environment variable $VERDI_HOME
or $NOVAS_HOME
as the installation path of the desired VERDI package. For instance, you can define $VERDI_HOME
using the following syntax in a csh-like shell:
setenv VERDI_HOME /cad/synopsys/Verdi/Verdi_O-2018.09
And using the following syntax in a bash-like shell:
export VERDI_HOME=/cad/synopsys/Verdi/Verdi_O-2018.09
While defining the $NOVAS_HOME
environment variable has the same effects, please note that the defined value of $VERDI_HOME
takes the higher priority.
If you can’t modify the definition of $VERDI_HOME
for some reasons, you may define the $XMODEL_FSDBWR_PATH
environment variable to set the path to the FSDB writer library directly (named libnffw.so
). For instance:
setenv XMODEL_FSDBWR_PATH /cad/synopsys/Verdi/Verdi_O-2018.09/share/FsdbWriter/LINUX64
in csh-like shells and
export XMODEL_FSDBWR_PATH=/cad/synopsys/Verdi/Verdi_O-2018.09/share/FsdbWriter/LINUX64
in bash-like shells. Please note that the path to the FSDB writer library may depend on the operating system architecture. And the value of $XMODEL_FSDBWR_PATH
takes precedence over the values of $VERDI_HOME
and $NOVAS_HOME
.
If XMODEL cannot find the FSDB writer library (libnffw.so
) from the paths defined by the $XMODEL_FSDBWR_PATH
, $VERDI_HOME
, or $NOVAS_HOME
environment variables, it will try to locate the library from the paths defined by the $LD_LIBRARY_PATH
environment variable. Unlike the case with the FSDB reader library (link), these $XMODEL_FSDBWR_PATH
, $VERDI_HOME
, and $NOVAS_HOME
environment variables also take effects when you launch the XMODEL simulations by directly executing the SystemVerilog simulator command instead of using the ‘xmodel
’ launcher script.
Please login or Register to submit your answer