jitendra
Member level 3
HI,
I need to list all the ifdef parameters used in my Design. Along with this list I need to know if these parameters are defined in some include file or not?
I have a TCL script to do it but I am facing problems like:
1. If include file has code:
'ifdef FIRST_CONDITION
define SECOND_CONDITION
define THIRD_CONDITION
'endif
Now if Parameter FIRST_CONDITION is not defined any where then SECOND and THIRD CONDITION should not be defined but the TCL based script works on text parsing and it can not check this condition.
Most important is I can not spend time on modifying this script.
2. My TCL script can not take care of 'undef
My Questions:
1. Can any one provide script which can do this job properly?
2. Is there any EDA tool which can report this?
Help appriciated.
Regards,
JItendra
I need to list all the ifdef parameters used in my Design. Along with this list I need to know if these parameters are defined in some include file or not?
I have a TCL script to do it but I am facing problems like:
1. If include file has code:
'ifdef FIRST_CONDITION
define SECOND_CONDITION
define THIRD_CONDITION
'endif
Now if Parameter FIRST_CONDITION is not defined any where then SECOND and THIRD CONDITION should not be defined but the TCL based script works on text parsing and it can not check this condition.
Most important is I can not spend time on modifying this script.
2. My TCL script can not take care of 'undef
My Questions:
1. Can any one provide script which can do this job properly?
2. Is there any EDA tool which can report this?
Help appriciated.
Regards,
JItendra