Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Verilog::Preproc requires newline at end of file #116

Closed
veripoolbot opened this issue May 8, 2007 · 0 comments
Closed

Verilog::Preproc requires newline at end of file #116

veripoolbot opened this issue May 8, 2007 · 0 comments
Assignees

Comments

@veripoolbot
Copy link
Collaborator


Author Name: Mark Nodine
Original Redmine Issue: 116 from https://www.veripool.org
Original Date: 2007-05-08
Original Assignee: Wilson Snyder (@wsnyder)


This bug was cloned from Perl-RT, rt26999.

Email addresses have have been truncated.

Id:   26999
Status:		rejected
Queue: 		Verilog-Perl
Severity:	Normal
Broken in: 	2.373
Requestors:	NODINE <nodine@>
X Attachments
no_newline.v

     * Tue May 08 11:28:00 2007 (14b) by NODINE

Created:	Tue May 08 11:27:58 2007
Last Contact: 	Tue May 08 11:41:03 2007
Closed: 	Wed May 16 09:52:01 2007
Updated: 	Wed May 16 09:52:03 2007 by WSNYDER

Tue May 08 11:28:00 2007 NODINE - Ticket created

Subject:  Verilog::Preproc requires newline at end of file
Verilog::Preproc returns an error
%Error: ../testsuite/no_newline.v:1: EOF (missing return?) in define value
because there is no newline at the end of file. One of the source
verilog files in a common commercially licensed core has this issue.
There should be some option that allows suppressing this error.
Subject:     no_newline.v
Download no_newline.v [application/tkgate 14b]
Message body not shown because it is too large or is not plain text.

Tue May 08 11:37:01 2007 WSNYDER - Correspondence added

The IEEE spec states in 19.3.1 that

"The first newline not preceeded by a backslash shall end the macro text."

Since their define never has a newline, their code is wrong.

I don't want to add options to parse code that violates the spec and is
also exceedingly uncommon (since I've only seen it once ever.)

Sorry.

Tue May 08 11:37:03 2007 RT_System - Status changed from 'new' to 'open'

Tue May 08 11:37:04 2007 WSNYDER - Status changed from 'open' to 'rejected'

Tue May 08 11:41:02 2007 nodine@ - Correspondence added

Subject:    Re: [rt.cpan.org #26999] Verilog::Preproc requires newline at end of file
Date: 	    Tue, 08 May 2007 10:40:40 -0500
To: 	    bug-Verilog-Perl@
From: 	    Mark Nodine <nodine@>
That's reasonable. I guess we should report the error to the
company that produced the Verilog.

Thanks.

Tue May 08 11:41:03 2007 RT_System - Status changed from 'rejected' to 'open'

Wed May 16 09:52:01 2007 WSNYDER - Status changed from 'open' to 'rejected'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants