Changeset 20
- Timestamp:
- Jul 19, 2011, 1:47:50 PM (13 years ago)
- Location:
- vis_dev
- Files:
-
- 1 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
vis_dev/dev/Makefile
r15 r20 3 3 INCVISDIR=${LIBVISDIR}/include/ 4 4 INCGLUDIR=${LIBGLUDIR}/include/ 5 LIB=-lvis2 -lcu -lglu -lm -lbsd -lreadline -lfl 5 6 6 a.out : main. cutilities.o7 gcc main.c -lm -L$(LIBGLUDIR) -lglu -L$(LIBVISDIR) -lvis2 -I$(INCVISDIR) -I$(INCGLUDIR)7 a.out : main.o utilities.o 8 gcc -lm -L$(LIBGLUDIR) -L$(LIBVISDIR) main.o utilities.o $(LIB) 8 9 10 main.o : main.c 11 gcc -c main.c -I$(INCGLUDIR) -I$(INCVISDIR) 9 12 utilities.o : utilities.c 10 gcc -c utilities.c - lm -L$(LIBGLUDIR) -lglu -L$(LIBVISDIR) -lvis2 -I$(INCVISDIR) -I$(INCGLUDIR)13 gcc -c utilities.c -I$(INCGLUDIR) -I$(INCVISDIR) 11 14 clean: 12 15 rm *.o a.out -
vis_dev/dev/main.c
r15 r20 1 1 #include "stdio.h" 2 #include "hrc.h" 3 #include "ntk.h" 2 #include "utilities.h" 4 3 5 4 int main() 6 5 { 7 Hrc_Manager_t * hmge; 6 Hrc_Manager_t * hmgr1; 7 FILE * file1; 8 file1 = fopen("example/and2.mv","r"); 9 hmgr1 = rlmv( file1); 10 if(hmgr1 !=NULL) 11 { 12 Hrc_Node_t * n = Hrc_ManagerReadRootNode(hmgr1); 13 printf("***** HRC : %s %d\n", Hrc_NodeReadModelName(n)); 14 } 15 8 16 return 0; 9 17 } -
vis_dev/dev/utilities.c
r15 r20 452 452 453 453 } 454 -
vis_dev/dev/utilities.h
r15 r20 16 16 #include <stdio.h> 17 17 #include <stdlib.h> 18 /********************************************/ 19 /******* Vis magic formulae *****************/ 20 FILE *vis_stderr; 21 FILE *vis_stdout; 22 FILE *vis_historyFile; 23 FILE *vis_stdpipe; 24 array_t *vm_commandHistoryArray; 25 char *vm_programName; 26 /********************************************/ 18 27 19 28 20 staticint29 int 21 30 nodenameCompare( 22 31 const void * node1, … … 33 42 return (strcmp(name1, name2)); 34 43 } 35 36 44 // Read blifmv file 37 45 Hrc_Manager_t * rlmv(FILE * file); -
vis_dev/glu-2.3/src/cuPort/cuPort.c
r13 r20 706 706 ******************************************************************************/ 707 707 bdd_t * 708 bdd_and_smooth(708 dd_and_smooth( 709 709 bdd_t *f, 710 710 bdd_t *g,
Note: See TracChangeset
for help on using the changeset viewer.