I have ifdef in a module. If I define it in the top level, it doesn't see it. If I define it in the same module where it's used, it works fine.
Why it doesn't see it if it's defined in the top level?
I use Questa 10.6b in a GUI mode. Under Compile tab, Compile and Compile Options are grayed out. How do I pass compile
You can pass compile options via the 'Compile Options' menu: https://documentation.mentor.com/en/docs/201705003/modelsim_pe_gui_ref/html/idf224d546-3a84-4f69-a66a-5e45dac8acd9
You can also search on Mentor's Support Center for any related issues, or submit a service request if you're unable to find a resolution.