while ( fgets(eqvline, 1024, eqvfile) != NULL ) {
eqvline[strlen(eqvline)-1] = '\0';
if (!strcmp (eqvline, "$SIGNALMAP")) {
start_store_mask = 1;
continue;
}
if (!strcmp (eqvline, "$SIGNALMAPEND")) {
_num_mask_pins = i;
sim_inform ( sim, "[vTPSim] Total of %d pins found in equivalent file.\n", _num_mask_pins);
//return;
start_store_mask = 0;
}
}
Can you explain how the continue;
in this code actually works? When the continue;
is executed, where does the code jump to? Again compare eqvline
that read the new line? Then when will this code if (!strcmp (eqvline, "$SIGNALMAPEND")) {
be called?