mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Support snps directives
This commit is contained in:
@@ -394,6 +394,10 @@ void V3PreProcImp::comment(const string& text) {
|
||||
cp+=strlen("synopsys");
|
||||
synth = true;
|
||||
if (*cp == '_') fileline()->v3error("Extra underscore in meta-comment; use /*synopsys {...}*/ not /*synopsys_{...}*/");
|
||||
} else if (0==(strncmp(cp,"snps",strlen("snps")))) {
|
||||
cp+=strlen("snps");
|
||||
synth = true;
|
||||
if (*cp == '_') fileline()->v3error("Extra underscore in meta-comment; use /*snps {...}*/ not /*snps_{...}*/");
|
||||
} else if (0==(strncmp(cp,"cadence",strlen("cadence")))) {
|
||||
cp+=strlen("cadence");
|
||||
synth = true;
|
||||
|
||||
Reference in New Issue
Block a user