// Reads CDS mapfiles and generates IRSIM vectors // Johannes Grad, IIT #include #include #include #include int startsWith(char *line, char *substr) { unsigned int i; for(i=0;i,},)"<'"<imax) imax=i; while(line[0]!=rightDelim) strcrop(line,1,strlen(line)); strcrop(line,5,strlen(line)); pins[i]=atoi(line); } if(startsWith(line,"v")){ strcrop(line,4,strlen(line)); pins[0]=atoi(line); } } } } cout<<"vector "<-1;i--) cout<