Is there a way to constrain signal logic value in DC

Status
Not open for further replies.

iamluqi

Newbie level 5
Joined
Feb 26, 2010
Messages
9
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
us
Activity points
1,325
Say there is a bus signal A[1:0], and designer knows later after RTL coding that the valid value for signal A is 2'b00, 2'b01, 2'b10, but not 2'b11. Is there anyway to set this signal value constraint so that DC knows 2'b11 is dont-care input and help the logic optimization? I found DC cmds lilke set_logic_one/zero/dc, but no more advanced one for this purpose.
 

do you expect to win something on the gate count?
 
Theoretically there would be some win in gate count, isnt it?
 

That really depend on the logic , the designer have some logic when A=11? If yes you could comment it to see the area improvement, so far I don't known how to exclude a case like your question. Or you could define an enumerate with only the three acceptable cases, but that need to change the code
 

if you don't want to change the code , it may be difficult!
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…