summaryrefslogtreecommitdiff
path: root/base/inetcomp.c
blob: 9ca13a6f11e12135307a2d212e2d7d6a0b37f52c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/* "NETGEN", a netlist-specification tool for VLSI
   Copyright (C) 1989, 1990   Massimo A. Sivilotti
   Author's address: mass@csvax.cs.caltech.edu;
                     Caltech 256-80, Pasadena CA 91125.

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation (any version).

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; see the file copying.  If not, write to
the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */

/* inetcomp.c -- a simple wrapper to the NETCOMP() function */

#include <stdio.h>
#include "netgen.h"

#ifdef HAVE_GETOPT
#include <unistd.h>
#endif /* HAVE_GETOPT */

void STRCPY(char *dest, char *source)
{
  while ((*dest++ = *source++) != '\0') ;
}


int main(int argc, char *argv[])
{
  char cell1[200], cell2[200];

  Debug = 0;
  if (argc != 1) {
    printf ("usage: inetcomp\n");
    return (-1);
  }
  Initialize();
  NETCOMP();

  return(1);
}