|
From: Jared C. <jar...@gm...> - 2013-04-06 03:03:27
|
The versions I have, which aren't the latest, don't seem to be fans.
Unfortunately I don't have time at the moment to play around with the
syntax to see what they like...
$ vlog -sv sv_class12.sv
Model Technology ModelSim SE vlog 10.1c Compiler 2012.07 Jul 27 2012
-- Compiling program main
** Error: sv_class12.sv(16): Multiple constructors declared for class foo_t
- only one allowed.
** Error: sv_class12.sv(17): near "value": syntax error, unexpected
IDENTIFIER, expecting ';'
$ ncverilog sv_class12.sv
ncverilog: 08.20-s006: (c) Copyright 1995-2009 Cadence Design Systems, Inc.
file: sv_class12.sv
value = init;
|
ncvlog: *E,EXPSMC (sv_class12.sv,17|5): expecting a semicolon (';')
[3.10(IEEE)].
program worklib.main:sv
errors: 1, warnings: 0
ncvlog: *F,NOTOPL: no top-level unit found, must have recursive instances.
ncverilog: *E,VLGERR: An error occurred during parsing. Review the log
file for errors with the code *E and fix those identified problems to
proceed. Exiting with code (status 2).
$ vcs +systemverilogext+.sv sv_class12.sv
*** Using c compiler gcc instead of cc ...
Chronologic VCS (TM)
Version F-2011.12 -- Fri Apr 5 20:00:32 2013
Copyright (c) 1991-2011 by Synopsys Inc.
ALL RIGHTS RESERVED
This program is proprietary and confidential information of Synopsys Inc.
and may be used and disclosed only as authorized in a license agreement
controlling such use and disclosure.
Parsing design file 'sv_class12.sv'
Error-[IPD] Identifier previously declared
Identifier 'new' previously declared as Function.
"sv_class12.sv", 16
Source info: function new (int init)
Error-[SE] Syntax error
Following verilog source has syntax error :
"sv_class12.sv", 17: token is 'value'
value = init;
^
2 errors
Jared
On Fri, Apr 5, 2013 at 6:51 PM, Stephen Williams <st...@ic...> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> Can someone with one of the Big-3 SystemVerilog simulators help me
> out by trying to run the attached rather trivial example? I'm pretty
> sure it is correct (syntax and semantics) but I think it best that
> I double-check before I bake it in.
>
> Thanks,
> - --
> Steve Williams "The woods are lovely, dark and deep.
> steve at icarus.com But I have promises to keep,
> http://www.icarus.com and lines to code before I sleep,
> http://www.picturel.com And lines to code before I sleep."
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.19 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iEYEARECAAYFAlFff7MACgkQrPt1Sc2b3ikH/ACfSKE/O2NyzjPItYe+cfEyvtnp
> wT8An1k4X9DmfmZG/Fhq3C9RZgCM1MZG
> =pZZy
> -----END PGP SIGNATURE-----
>
>
> ------------------------------------------------------------------------------
> Minimize network downtime and maximize team effectiveness.
> Reduce network management and security costs.Learn how to hire
> the most talented Cisco Certified professionals. Visit the
> Employer Resources Portal
> http://www.cisco.com/web/learning/employer_resources/index.html
> _______________________________________________
> Iverilog-devel mailing list
> Ive...@li...
> https://lists.sourceforge.net/lists/listinfo/iverilog-devel
>
>
|