EmbeddedManiac
Newbie level 4
- Joined
- May 29, 2014
- Messages
- 5
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 59
Hello everyone,
I am trying to run Synopsys Primetime but it does not support the 'define macro. My code includes following instructions.
`define DW_npp ((a_width/2) + 2)
`define DW_xdim (a_width+b_width+1)
`define DW_bsxt (a_width+1)
How can get rid of these macros without affecting the operation of code? can I replace these 'define macros with regular expression?
Any help and examples would be appreciated.
I am trying to run Synopsys Primetime but it does not support the 'define macro. My code includes following instructions.
`define DW_npp ((a_width/2) + 2)
`define DW_xdim (a_width+b_width+1)
`define DW_bsxt (a_width+1)
How can get rid of these macros without affecting the operation of code? can I replace these 'define macros with regular expression?
Any help and examples would be appreciated.