Go to the source code of this file.
SIGNALS* collect_edges |
( |
char * |
filename | ) |
|
Definition at line 767 of file collect.c.
static SIGNALS * collect_pulses(char *filename, int method)
int interpolate_phase_thresh_time(SIGNALS *sp_phase)
static char filename[LINE_LENGTH]
SIGNALS* collect_pulses_by_phase |
( |
char * |
filename | ) |
|
Definition at line 750 of file collect.c.
static SIGNALS * collect_pulses(char *filename, int method)
char phase_ext[NAME_LENGTH]
int interpolate_phase_thresh_time(SIGNALS *sp_phase)
static char filename[LINE_LENGTH]
SIGNALS* collect_pulses_by_voltage |
( |
char * |
filename | ) |
|
Definition at line 732 of file collect.c.
static SIGNALS * collect_pulses(char *filename, int method)
#define COLLECT_BY_VOLTAGE
static int verify_phase(SIGNALS *sp)
int collect_values(SIGNALS *sp, char *filename, int collected)
char phase_ext[NAME_LENGTH]
static char filename[LINE_LENGTH]
int collect_values |
( |
SIGNALS * |
sp, |
|
|
char * |
filename, |
|
|
int |
collected |
|
) |
| |
Definition at line 501 of file collect.c.
510 int signals_in_row, valid_value;
514 int index, old_index=0;
556 printf(
"ERROR IN LINE: %d\n", line_no);
576 for(i=0; i<=Sdiv3; i++)
579 signals_in_row=Smod3;
582 if(sscanf(
line,
"%d %e", &index, &time)!=2)
584 if(index!=old_index+1)
595 for(m=0; m<signals_in_row; m++)
598 if(sig_tmp[sig_nr]!=NULL)
599 if(time==sig_tmp[sig_nr]->t)
608 for(m=0; m<signals_in_row; m++)
610 if(sscanf(&
line[k],
"%le", &sig_val)!=1)
614 if(sig_tmp[sig_nr]!=NULL)
615 if(time==sig_tmp[sig_nr]->t)
620 sig_tmp[sig_nr]->
phase=sig_val;
624 sig_tmp[sig_nr]->
val=sig_val;
627 sig_tmp[sig_nr]=sig_tmp[sig_nr]->
next;
char(* jspice_phase_names)[NAME_LENGTH]
int skip_arg(char *line, int arg_num)
static int read_line(FILE *fp, char *line, int *line_no)
static char line[LONG_LINE_LENGTH]
char(* jspice_voltage_names)[NAME_LENGTH]
static char filename[LINE_LENGTH]
Definition at line 787 of file collect.c.
822 while(tmp_check!=NULL)
824 next_check=tmp_check->
next;
826 tmp_check=next_check;
struct async_checkpoint * next
char(* jspice_phase_names)[NAME_LENGTH]
char(* signal_names)[NAME_LENGTH]
char(* jspice_voltage_names)[NAME_LENGTH]
ASYNC_CHECK * async_check_list
int interpolate_phase_thresh_time |
( |
SIGNALS * |
sp_phase | ) |
|
Definition at line 693 of file collect.c.
700 PHASE p10delta, pt0delta;
707 while(pp_phase!=NULL)
715 pp_phase->
t= t10delta*(pt0delta/p10delta) + pp_phase->
t_below;
723 pp_phase=pp_phase->
next;