systemc-clang 2.0.0
Parsing SystemC constructs
|
Public Member Functions | |
__init__ (self) | |
harrayref (self, tree) | |
hslice (self, tree) | |
Public Member Functions inherited from parselib.transforms.top_down.TopDown | |
__default__ (self, t) | |
Private Member Functions | |
__to_seq (self, tree) | |
__is_literal_node (self, t) | |
__check_part_select_left (self, tr) | |
__check_part_select_right (self, tr) | |
recognize slice patterns and convert slicing into synthesizable index part select
Definition at line 7 of file slice_merge.py.
parselib.transforms.slice_merge.SliceMerge.__init__ | ( | self | ) |
Reimplemented from parselib.transforms.top_down.TopDown.
Definition at line 9 of file slice_merge.py.
|
private |
check if the left hand side is width * (ID + 1) - 1 returns result, width, ID
Definition at line 18 of file slice_merge.py.
|
private |
check if the right hand-side is width * ID returns result, width, ID
Definition at line 53 of file slice_merge.py.
|
private |
Definition at line 15 of file slice_merge.py.
|
private |
Definition at line 12 of file slice_merge.py.
parselib.transforms.slice_merge.SliceMerge.harrayref | ( | self, | |
tree ) |
Definition at line 71 of file slice_merge.py.
parselib.transforms.slice_merge.SliceMerge.hslice | ( | self, | |
tree ) |
Definition at line 80 of file slice_merge.py.