projects
/
soc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5001767
)
Apply style from node own name
author
Cesar Strauss
<cestrauss@gmail.com>
Sun, 23 Aug 2020 17:51:35 +0000
(14:51 -0300)
committer
Cesar Strauss
<cestrauss@gmail.com>
Sun, 23 Aug 2020 17:51:35 +0000
(14:51 -0300)
src/soc/experiment/alu_fsm.py
patch
|
blob
|
history
diff --git
a/src/soc/experiment/alu_fsm.py
b/src/soc/experiment/alu_fsm.py
index 0079bbd5360a4005aec0bc2edfd1f6802b12b392..7e09ab94ef19750eeb798355231782564f737535 100644
(file)
--- 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):