Quantcast
Channel: Cadence Functional Verification Forum
Viewing all articles
Browse latest Browse all 1074

Irun not accepted systemverilog macro

$
0
0

I try to define macro

`define MY_MACRO(par1, par2 = 0)

If i use irun version 08, in console outputs error:

`define MY_MACRO(par1, par2=0) | ncvlog: *E,EXPRPP (trunk/testbench/include/test_macro.svh,6|27): expecting a right parenthesis to close the formal arguments to a macro [16.3.1(IEEE)].

If I use irun version 11 everything is ok.

irun version 8 is not supported constructions with default arguments values in macro?


Viewing all articles
Browse latest Browse all 1074

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>