fix: Changed instrumentation directive from model to callback
This commit is contained in:
parent
41a5aa96d9
commit
93d56d8dbf
|
|
@ -145,13 +145,13 @@ vnum {vnum1}|{vnum2}|{vnum3}|{vnum4}|{vnum5}
|
||||||
"tracing_on" { FL; return yVLT_TRACING_ON; }
|
"tracing_on" { FL; return yVLT_TRACING_ON; }
|
||||||
|
|
||||||
-?"-block" { FL; return yVLT_D_BLOCK; }
|
-?"-block" { FL; return yVLT_D_BLOCK; }
|
||||||
|
-?"-callback" { FL; return yVLT_D_CALLBACK; }
|
||||||
-?"-contents" { FL; return yVLT_D_CONTENTS; }
|
-?"-contents" { FL; return yVLT_D_CONTENTS; }
|
||||||
-?"-cost" { FL; return yVLT_D_COST; }
|
-?"-cost" { FL; return yVLT_D_COST; }
|
||||||
-?"-file" { FL; return yVLT_D_FILE; }
|
-?"-file" { FL; return yVLT_D_FILE; }
|
||||||
-?"-function" { FL; return yVLT_D_FUNCTION; }
|
-?"-function" { FL; return yVLT_D_FUNCTION; }
|
||||||
-?"-hier-dpi" { FL; return yVLT_D_HIER_DPI; }
|
-?"-hier-dpi" { FL; return yVLT_D_HIER_DPI; }
|
||||||
-?"-id" { FL; return yVLT_D_ID; }
|
-?"-id" { FL; return yVLT_D_ID; }
|
||||||
-?"-instance" { FL; return yVLT_D_INSTANCE; }
|
|
||||||
-?"-levels" { FL; return yVLT_D_LEVELS; }
|
-?"-levels" { FL; return yVLT_D_LEVELS; }
|
||||||
-?"-lines" { FL; return yVLT_D_LINES; }
|
-?"-lines" { FL; return yVLT_D_LINES; }
|
||||||
-?"-match" { FL; return yVLT_D_MATCH; }
|
-?"-match" { FL; return yVLT_D_MATCH; }
|
||||||
|
|
|
||||||
|
|
@ -272,13 +272,13 @@ BISONPRE_VERSION(3.7,%define api.header.include {"V3ParseBison.h"})
|
||||||
%token<fl> yVLT_TRACING_ON "tracing_on"
|
%token<fl> yVLT_TRACING_ON "tracing_on"
|
||||||
|
|
||||||
%token<fl> yVLT_D_BLOCK "--block"
|
%token<fl> yVLT_D_BLOCK "--block"
|
||||||
|
%token<fl> yVLT_D_CALLBACK "--callback"
|
||||||
%token<fl> yVLT_D_CONTENTS "--contents"
|
%token<fl> yVLT_D_CONTENTS "--contents"
|
||||||
%token<fl> yVLT_D_COST "--cost"
|
%token<fl> yVLT_D_COST "--cost"
|
||||||
%token<fl> yVLT_D_FILE "--file"
|
%token<fl> yVLT_D_FILE "--file"
|
||||||
%token<fl> yVLT_D_FUNCTION "--function"
|
%token<fl> yVLT_D_FUNCTION "--function"
|
||||||
%token<fl> yVLT_D_HIER_DPI "--hier-dpi"
|
%token<fl> yVLT_D_HIER_DPI "--hier-dpi"
|
||||||
%token<fl> yVLT_D_ID "--id"
|
%token<fl> yVLT_D_ID "--id"
|
||||||
%token<fl> yVLT_D_INSTANCE "--instance"
|
|
||||||
%token<fl> yVLT_D_LEVELS "--levels"
|
%token<fl> yVLT_D_LEVELS "--levels"
|
||||||
%token<fl> yVLT_D_LINES "--lines"
|
%token<fl> yVLT_D_LINES "--lines"
|
||||||
%token<fl> yVLT_D_MATCH "--match"
|
%token<fl> yVLT_D_MATCH "--match"
|
||||||
|
|
@ -7999,7 +7999,7 @@ vltItem:
|
||||||
{ /* Historical, now has no effect */ }
|
{ /* Historical, now has no effect */ }
|
||||||
| vltInlineFront vltDModuleE vltDFTaskE
|
| vltInlineFront vltDModuleE vltDFTaskE
|
||||||
{ V3Control::addInline($<fl>1, *$2, *$3, $1); }
|
{ V3Control::addInline($<fl>1, *$2, *$3, $1); }
|
||||||
| yVLT_INSTRUMENT yVLT_D_MODEL yaSTRING yVLT_D_ID yaINTNUM yVLT_D_TARGET yaSTRING
|
| yVLT_INSTRUMENT yVLT_D_CALLBACK yaSTRING yVLT_D_ID yaINTNUM yVLT_D_TARGET yaSTRING
|
||||||
{ V3Control::addInstrumentCfg($<fl>1, *$3, $5->toSInt(), *$7); }
|
{ V3Control::addInstrumentCfg($<fl>1, *$3, $5->toSInt(), *$7); }
|
||||||
| yVLT_COVERAGE_BLOCK_OFF vltDFile
|
| yVLT_COVERAGE_BLOCK_OFF vltDFile
|
||||||
{ V3Control::addCoverageBlockOff(*$2, 0); }
|
{ V3Control::addCoverageBlockOff(*$2, 0); }
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue