Ambiguity in $fopen description

From: Stuart Sutherland (stuart@sutherland.com)
Date: Wed Oct 06 1999 - 21:54:06 PDT


BTF,

In our PTF meeting today, it was noted that the draft 3 description in
section 17 for $fopen does not say if it is legal or illegal to open the
same file twice. By not saying anything, the implication is that it is legal.

I the VPI counterpart, vpi_mcd_open(), which only supports mcd descriptors,
we explicitly state:

  If the file has already opened either by a previous call to vpi_mcd_open()
  or using $fopen in the Verilog source code, then vpi_mcd_open(), shall
  return the descriptor number.

Please let us know what the intended behavior should be for $fopen.

Thanks,

Stu

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Stuart Sutherland Sutherland HDL Inc.
stuart@sutherland.com 22805 SW 92nd Place
phone: 503-692-0898 Tualatin, OR 97062



This archive was generated by hypermail 2.1.4 : Mon Jul 08 2002 - 12:53:30 PDT and
sponsored by Boyd Technology, Inc.