FboDigit
Member level 1
Hi all !
I'm new to Questa Sim 10.1b but i'm use to Active-HDL and I want to know two thing
First is there a way to define a macro inside a .do file
I know that with Aldec->Active-HDL we can use the function : +define+ <macro_name> but i'm not able to find the equivalent with Questa
Second is there a way to set many variable into a .do file ?
I know that the command : set (var_name) <var_value> is possible
BUT ! is there a way to say something like : set def +define+macro1 +define+macro2 +define+macro3 (in the active HDL way)
and use the var like this
vcom $var_name my_lib my_path.vhd
I can live without an answer to my second question because i could use many variable (yearkk!) but I really need an answer to my first one !!!!!
If there is no way to do this is there a way to use the GUI to specifie those macro ???
Thx !!!!
I'm new to Questa Sim 10.1b but i'm use to Active-HDL and I want to know two thing
First is there a way to define a macro inside a .do file
I know that with Aldec->Active-HDL we can use the function : +define+ <macro_name> but i'm not able to find the equivalent with Questa
Second is there a way to set many variable into a .do file ?
I know that the command : set (var_name) <var_value> is possible
BUT ! is there a way to say something like : set def +define+macro1 +define+macro2 +define+macro3 (in the active HDL way)
and use the var like this
vcom $var_name my_lib my_path.vhd
I can live without an answer to my second question because i could use many variable (yearkk!) but I really need an answer to my first one !!!!!
If there is no way to do this is there a way to use the GUI to specifie those macro ???
Thx !!!!