Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Having trouble compiling SV code

Status
Not open for further replies.

delon

Junior Member level 2
Joined
Sep 11, 2011
Messages
21
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,449
Hello,

I am having the following error while trying to compile my SV codes. I'm getting this error for my verification codes.


Error-[SE] Syntax error
Following verilog source has syntax error :
Class declaration outside programs requires "-sverilog -ntb_opts
dtm" switch

"../verification/bench.sv", 4: token is ';'
class test_env;
^

test_env is a class which reads from a configuration file.

I'm not sure what it means. I would appreciate any help. Than
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top