#ifndef grf603_h
#define grf603_h

/*******************************************************************/
/*******************************************************************/
/**                                                               **/
/**  GRF                                                          **/
/**                                                               **/
/**  Version 6.03                                                 **/
/**                                                               **/
/*******************************************************************/
/*******************************************************************/

static char *ident_grf="@(#)(RFG) librairy header, version 6.03 (14/09/1993)";

/*******************************************************************/

char *rfg();

#if 0
char *rfg(width, high, n_bus, flip_flop, inverse_data,
          low_power, write_enable, inverse_we, stuck,
          hard_connectors, msb, block_type, name_blocks,
          layout, outline, vhdl, pat, data, netlist, 
          icon)
                       /* Function and possible values for following vars : */

  long width;          /* Number of registers (2<=width<=256). */
                       /* Value must be even.                  */
  long high;           /* Number of bits in register words (2<=high<=64). */
                       /* Value must be even.                             */
  long n_bus;          /* Number of read bus : 0 = 1 read bus; */
                       /*                      1 = 2 read bus. */
  long flip_flop;      /* 0 = level sensitive latch;    */
                       /* 1 = edge-triggered flip-flop. */
  long inverse_data;   /* 0 = data out has same polarity than data in;   */
                       /* 1 = data out polarity is reverse than data in. */
  long low_power;      /* 0 = high consumption option; */
                       /* 1 = low consumption option.  */
  long write_enable;   /* 0 = no write enable signal; */
                       /* 1 = write enable signal.    */
  long inverse_we;     /* 0 = write enable active high; */
                       /* 1 = write enable active low.  */
  long stuck;          /* 0 = register at address 0 is normal;                */
                       /* 1 = register at address 0 is stuck to a null value. */
  long hard_connectors;/* 0 = datapath connectors are multi-access; */
                       /* 1 = all conectors are hard (one-access).  */
  long msb;            /* 0 = index 0 is gived to the less significant bit of each bus; */
                       /* 1 = index 0 is gived to the most significant bit of each bus. */

  long block_type;     /* 0 = generate an optimised registers block        */
                       /*     (uncompatible with generated decoder block), */
                       /* 1 = generate a registers block                   */
                       /*     (compatible with generated decoder block),   */
                       /* 2 = generate a decoder block,                    */
                       /* 3 = generate a complet registers bank.           */

  char *name_blocks;   /* If = NULL : a name must be generated by the function to prefix blocks, */
                       /* else take the indicate name to prefix blocks.                          */
  
  long layout;         /* !0 = generate a layout view block files. */
  long outline;        /* !0 = generate a outline view block file. */
  long vhdl;           /* !0 = generate a vhdl view block file. */
  long pat;            /* !0 = generate a pat view block file. */
  long data;           /* !0 = generate a data sheet file. */
  long netlist;        /* !0 = generate a connectors netlist. */
  long icon;           /* !0 = generate a icon view block file. */
#endif

/*******************************************************************/

#endif
