Skip to content

Commit c2c740e

Browse files
committed
Graph node type is updated.
1 parent f255ced commit c2c740e

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

veriloggen/stream/stypes.py

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1811,8 +1811,6 @@ def __init__(self, right):
18111811

18121812
self.graph_label = 'Prev'
18131813
self.graph_shape = 'box'
1814-
self.graph_color = 'lightgray'
1815-
self.graph_style = 'filled'
18161814

18171815
def _set_parent_value(self, value):
18181816
self.parent_value = value
@@ -2072,7 +2070,7 @@ def __init__(self, value):
20722070
self.graph_shape = 'box'
20732071
self.graph_color = 'lightblue'
20742072
self.graph_style = 'rounded,filled'
2075-
self.graph_peripheries = 2
2073+
self.graph_peripheries = 1
20762074

20772075
def _set_attributes(self):
20782076
self.width = self.value.bit_length() + 1
@@ -2258,8 +2256,8 @@ def __init__(self, data, width=32, point=0, signed=True, value=None):
22582256

22592257
self.graph_shape = 'circle'
22602258
self.graph_color = 'lightblue'
2261-
self.graph_style = 'rounded,filled'
2262-
self.graph_peripheries = 2
2259+
self.graph_style = 'filled'
2260+
self.graph_peripheries = 1
22632261

22642262
def _implement(self, m, seq, svalid=None, senable=None):
22652263
pass
@@ -2646,8 +2644,6 @@ def __init__(self, substrm, strm=None):
26462644

26472645
self.graph_label = 'Substream' if callable(substrm.name) else substrm.name
26482646
self.graph_shape = 'box'
2649-
self.graph_color = 'black'
2650-
self.graph_style = 'rounded'
26512647
self.graph_peripheries = 2
26522648

26532649
if not substrm.aswire:
@@ -2712,8 +2708,6 @@ def __init__(self, substrm, output_var, var_name):
27122708

27132709
self.graph_label = substrm.graph_label + '\n' + self.var_name
27142710
self.graph_shape = 'box'
2715-
self.graph_color = 'black'
2716-
self.graph_style = 'rounded'
27172711
self.graph_peripheries = 2
27182712

27192713
def _implement(self, m, seq, svalid=None, senable=None):
@@ -2750,7 +2744,6 @@ def __init__(self, var, length,
27502744

27512745
self.graph_label = 'RingBufferIn'
27522746
self.graph_shape = 'box'
2753-
self.graph_style = 'rounded'
27542747

27552748
def _set_managers(self):
27562749
self._set_strm(_get_strm(self.right, self.enable, self.reset))
@@ -2822,7 +2815,6 @@ def __init__(self, buf, offset, port,
28222815

28232816
self.graph_label = 'RingBufferOut'
28242817
self.graph_shape = 'box'
2825-
self.graph_style = 'rounded'
28262818

28272819
def _set_managers(self):
28282820
self._set_strm(_get_strm(self.left, self.right, self.enable, self.reset))
@@ -2888,7 +2880,6 @@ def __init__(self, var, addr, length,
28882880

28892881
self.graph_label = 'ScratchpadIn'
28902882
self.graph_shape = 'box'
2891-
self.graph_style = 'rounded'
28922883

28932884
def _set_managers(self):
28942885
self._set_strm(_get_strm(self.left, self.right, self.enable, self.reset))
@@ -2940,7 +2931,6 @@ def __init__(self, sp, addr, port):
29402931

29412932
self.graph_label = 'ScratchpadOut'
29422933
self.graph_shape = 'box'
2943-
self.graph_style = 'rounded'
29442934

29452935
def _implement(self, m, seq, svalid=None, senable=None):
29462936
if self.latency != 1:

0 commit comments

Comments
 (0)