****************************************************************************** ********************* IBIS GOLDEN PARSER BUG REPORT FORM ********************* ****************************************************************************** INSTRUCTIONS To report a bug in the IBIS golden parser. Please fill out the top part of the following form and send the complete form to ibischk-bug@vhdl.org. A list of reported bugs will be maintained on vhdl.org. ****************************************************************************** PARSER VERSION NUMBER: Found in IBISCHK3 V3.2.6 built for Windows 95 PLATFORM (SPARC, HP700, PC, etc.): PC OS AND VERSION: Window NT 4.0 Server (Build 1381: Service Pack 6) REPORTED BY: Matthew Flora, Innoveda, Inc. DATE: 27 Mar 2001 DESCRIPTION OF BUG: Bug: On the Windows platforms (and MSDOS), a Ctrl-Z character can be interpreted as an end-of-file marker. (This is a hold-over from very old versions of MSDOS.) IBISCHK3 is opening files in a manner which uses this interpretation of the Ctrl-Z character and can stop reading input files before the file has been read completely. Cause: The routine fopen() is used to open files and it's "default" behavior is being used. This "default" behavior is to open files in "text mode". In "text mode", carriage return-linefeed character pairs are converted to linefeed characters and Ctrl-Z characters are interpreted as end-of-file markers. This behavior can be suppressed by opening files in "binary mode". The use of "binary mode" can be specified by and addition flag passed to fopen() or globally using the Microsoft specific global variable "_fmode". Although "_fmode" is specific to Microsoft, its use would solve the problem throughout the program and guard against the same problem cropping up in new code. INSERT IBIS FILE DEMONSTRATING THE BUG: NOTE: This file is already a part of the tests included with the IBISHCK3 source code. NOTE: The non-ASCII characters in the file below may get filtered by various programs. So, remember that Ctrl-Z is character code hexadecimal '1B'. |************************************************************************ | IBIS file to check for existence of non ascii characters (BIRD53) | Apt Software Avenues Pvt Ltd |************************************************************************ | [IBIS ver] 3.0 [File name] asciidos.ibs [File Rev] 0.0 [Date] December, 26 1997 [Source] [Notes] [Disclaimer] [Copyright] | |************************************************************************ | Component mspectest |************************************************************************ | [Component] mspectest [Manufacturer] None [Package] | variable typ min max R_pkg 2.00m 1.00m 3.00m L_pkg 5.00nH 4.00nH 6.00nH C_pkg 8.00pF 7.00pF 9.00pF | [Pin] signal_name model_name 1 t1 m1 | |************************************************************************ | Model m1 |************************************************************************ | [Model] m1 Model_type Input Vinl=3D .2 Vinh=3D 4.2 C_comp 5.00pF 5.00pF 5.00pF [Voltage range] 3 2.9 3.1 | [End] ****************************************************************************** ******************** BELOW FOR ADMINISTRATION AND TRACKING ******************* ****************************************************************************** BUG NUMBER: 55 SEVERITY: [FATAL, SEVERE, MODERATE, ANNOYING, ENHANCEMENT] ANNOYING PRIORITY: [HIGH, MEDIUM, LOW] LOW STATUS: [OPEN, CLOSED, WILL NOT FIX, NOT A BUG] CLOSED FIXED VERSION: 3.2.8 FIXED DATE: November 20, 2001 NOTES ON BUG FIX: Classified at the March 30, 2001 Meeting and to be fixed, unless some people have some technical concerns. ****************************************************************************** ******************************************************************************