From ad9438970bc16d74f0b5c24b400e617ab9f2116b Mon Sep 17 00:00:00 2001 From: Cesar Strauss Date: Sun, 23 Aug 2020 14:51:35 -0300 Subject: [PATCH] Apply style from node own name --- src/soc/experiment/alu_fsm.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/soc/experiment/alu_fsm.py b/src/soc/experiment/alu_fsm.py index 0079bbd5..7e09ab94 100644 --- a/src/soc/experiment/alu_fsm.py +++ b/src/soc/experiment/alu_fsm.py @@ -330,6 +330,9 @@ def write_gtkw(gtkw_name, vcd_name, gtkw_style, gtkw_dom, # node is a signal name string if isinstance(node, str): node_name = node + # apply style from node name, if specified + if node_name in gtkw_style: + node_style.update(gtkw_style[node_name]) # node is a tuple # could be a signal or a group elif isinstance(node, tuple): -- 2.30.2