[SOLVED] Ignoring code during synthesis using design_compiler

Status
Not open for further replies.

daem

Newbie
Joined
Jun 1, 2024
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
25
Hi all!

Is there a way to ignore VHDL code during synthesis while using design_compiler? I'd want to add code to my design only for simulation purposes, and not have the synthesizer deal with it.

I have seen that some other synthesizers support this syntax:
Code:
-- synthesis translate_off
Code goes here
-- synthesis translate_on
But I have not been able to find if that is supported in the design_compiler docs (I'd imagine not).
 

At the end I did try
Code:
−−synthesis translate off
and it worked, so I guess never assume anything with these tools.

I also tried all of @ThisIsNotSam's suggestions, and all of them worked, so thanks for the reply!
 

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