From eeeb0a9d8c01c32b312c64c15b4e73d9d394906a Mon Sep 17 00:00:00 2001 From: lkcl Date: Thu, 9 Dec 2021 19:49:43 +0000 Subject: [PATCH] --- docs/gtkwave_tutorial.mdwn | 11 +++++++++++ 1 file changed, 11 insertions(+) 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. +``` -- 2.30.2