W
walala
Guest
Dear all,
I have the following code fragment and I want to ask will Synopsys Design
Compiler be able to automatically collect common sub expression to do
intelligent optimization? For example, "ZZ(0)(index2)+ZZ(4)(index2)" is in
fact a common expression wich appear here and there...
Can Synpopsys DC do that? The reason that I want to leave to DC to do that
is that I don't want to compromise structure and readablity...
I can do common sub-expression collection myself... but then the expression
loses its original form and meaning...
Thanks a lot,
-Walala
t15:= (ZZ(0)(index2)-ZZ(2)(index2)+ZZ(4)(index2)) *(2**7)
- (ZZ(6)(index2)) *(2**6)
- (ZZ(0)(index2)+ZZ(4)(index2)) *(2**5)
+ (ZZ(6)(index2)) *(2**4)
+ (ZZ(2)(index2)) *(2**3)
- (ZZ(0)(index2)+ZZ(4)(index2)) *(2**2)
+ (ZZ(2)(index2)) *(2**1)
- (ZZ(0)(index2)+ZZ(4)(index2)+ZZ(6)(index2));
I have the following code fragment and I want to ask will Synopsys Design
Compiler be able to automatically collect common sub expression to do
intelligent optimization? For example, "ZZ(0)(index2)+ZZ(4)(index2)" is in
fact a common expression wich appear here and there...
Can Synpopsys DC do that? The reason that I want to leave to DC to do that
is that I don't want to compromise structure and readablity...
I can do common sub-expression collection myself... but then the expression
loses its original form and meaning...
Thanks a lot,
-Walala
t15:= (ZZ(0)(index2)-ZZ(2)(index2)+ZZ(4)(index2)) *(2**7)
- (ZZ(6)(index2)) *(2**6)
- (ZZ(0)(index2)+ZZ(4)(index2)) *(2**5)
+ (ZZ(6)(index2)) *(2**4)
+ (ZZ(2)(index2)) *(2**3)
- (ZZ(0)(index2)+ZZ(4)(index2)) *(2**2)
+ (ZZ(2)(index2)) *(2**1)
- (ZZ(0)(index2)+ZZ(4)(index2)+ZZ(6)(index2));