From: lkcl Date: Thu, 9 Dec 2021 19:49:43 +0000 (+0000) Subject: (no commit message) X-Git-Tag: opf_rfc_ls005_v1~3303 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eeeb0a9d8c01c32b312c64c15b4e73d9d394906a;p=libreriscv.git --- diff --git a/docs/gtkwave_tutorial.mdwn b/docs/gtkwave_tutorial.mdwn index 6a1132d11..c3c05e911 100644 --- a/docs/gtkwave_tutorial.mdwn +++ b/docs/gtkwave_tutorial.mdwn @@ -171,3 +171,14 @@ Some applications are: single horizontal line. Useful to draw attention to a time interval. 2. Display the stages of a unit test 3. Display arbitrary debug statements along the timeline. + +from the documentation for Signal: + +``` + decoder : function or Enum + A function converting integer signal values to human-readable + strings (e.g. FSM state names). If an ``Enum`` subclass is + passed, it is concisely decoded using format string + ``"{0.name:}/{0.value:}"``, or a number if the signal value + is not a member of the enumeration. +```