From: Cesar Strauss Date: Sun, 23 Aug 2020 17:51:35 +0000 (-0300) Subject: Apply style from node own name X-Git-Tag: semi_working_ecp5~272^2~11 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ad9438970bc16d74f0b5c24b400e617ab9f2116b;p=soc.git Apply style from node own name --- 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):