OpenCores
no use no use 1/1 no use no use
Re: I2C syntax error in Synopsys
by Unknown on Sep 15, 2004
Not available!
Sorry,

I forgot to mention which file has the error:

i2c_master_bit_ctrl.v

jh

On Tue, 2004-09-14 at 15:26, Noone Hanoch wrote:

Hi,

I'm using the i2c core in an ASIC I'm working on and I'm getting a
syntax error in Synopsys.

Here's the error I'm getting:

"Syntax error at or near token 'enum_state"

Here's the line of code being complained about:

reg [16:0] c_state; // synopsys enum_state

I contacted Synopsys support and they are telling me that the _ should
be removed and replaced with a space as follows:

reg [16:0] c_state; // synopsys enum state

Does anyone concur with this solution? If so I guess someone can make
the change to the code?

Thanks,
Jeff Hanoch

-------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.opencores.org/forums.cgi/cores/attachments/20040914/7f3b9da3/attachment.htm
Re: I2C syntax error in Synopsys
by Unknown on Sep 22, 2004
Not available!
I'll remove the '_'. Cheers, Richard _____ From: cores-bounces at opencores.org [mailto:cores-bounces at opencores.org] On Behalf Of Noone Hanoch Sent: Tuesday, September 14, 2004 10:30 PM To: Opencores Subject: [oc] Re: I2C syntax error in Synopsys Sorry, I forgot to mention which file has the error: i2c_master_bit_ctrl.v jh On Tue, 2004-09-14 at 15:26, Noone Hanoch wrote: Hi, I'm using the i2c core in an ASIC I'm working on and I'm getting a syntax error in Synopsys. Here's the error I'm getting: "Syntax error at or near token 'enum_state" Here's the line of code being complained about: reg [16:0] c_state; // synopsys enum_state I contacted Synopsys support and they are telling me that the _ should be removed and replaced with a space as follows: reg [16:0] c_state; // synopsys enum state Does anyone concur with this solution? If so I guess someone can make the change to the code? Thanks, Jeff Hanoch -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.opencores.org/forums.cgi/cores/attachments/20040922/7652e0a3/attachment.htm
Re: I2C syntax error in Synopsys
by nitylles on Feb 15, 2009
nitylles
Posts: 2
Joined: Jul 29, 2008
Last seen: Aug 29, 2008
----- Original Message ----- From: Richard Herveillerichard at h...> To: Date: Wed Sep 22 14:58:35 CEST 2004 Subject: [oc] Re: I2C syntax error in Synopsys
I'll remove the '_'.

Cheers,
Richard

_____
From: attachment.htm

I also encounter this problem , after remove the "_" . problem still

exist.

Re: I2C syntax error in Synopsys
by nitylles on Feb 15, 2009
nitylles
Posts: 2
Joined: Jul 29, 2008
Last seen: Aug 29, 2008
----- Original Message ----- From: Richard Herveillerichard at h...> To: Date: Wed Sep 22 14:58:35 CEST 2004 Subject: [oc] Re: I2C syntax error in Synopsys
I'll remove the '_'.

Cheers,
Richard

_____
From: attachment.htm


I removed the "_" but the problem still exist.

Re: I2C syntax error in Synopsys
by Unknown on Feb 16, 2009
Not available!
This is a message thread from 2004. Honestly I have no clue what you are referring to. Richard -----Original Message----- From: cores-bounces at opencores.org [mailto:cores-bounces at opencores.org] On Behalf Of nitylles at hotmail.com Sent: 15 February 2009 21:53 To: cores at opencores.org Subject: Re: [oc] Re: I2C syntax error in Synopsys ----- Original Message ----- From: Richard Herveillerichard at h...> To: Date: Wed Sep 22 14:58:35 CEST 2004 Subject: [oc] Re: I2C syntax error in Synopsys
I'll remove the '_'.

Cheers,
Richard

_____
From: attachment.htm

I removed the "_" but the problem still exist. _______________________________________________ http://www.opencores.org/mailman/listinfo/cores
RE: Re: I2C syntax error in Synopsys
by vijaysperuri on Feb 26, 2010
vijaysperuri
Posts: 1
Joined: Feb 6, 2010
Last seen: May 21, 2010
HI,

While synthesizing the I2C in Synopsys DC topo, I am seeing this syntax error in verilog. How can I fix this?

Syntax error at or near token 'enum'. (VER-294)
Syntax error at or near token 'enum'. (VER-294)
Syntax error at or near token 'full_case'. (VER-294)

Thanks.
no use no use 1/1 no use no use
© copyright 1999-2012 OpenCores.org, equivalent to ORSoC AB, all rights reserved. OpenCores®, registered trademark.