Browse Source

Allow delay of 0, as requested by Infineon model of the 2EDNY52X

pre-master-46
Holger Vogt 2 years ago
parent
commit
2d8fe0362f
  1. 4
      src/xspice/evt/evtload.c

4
src/xspice/evt/evtload.c

@ -563,8 +563,8 @@ static void EVTprocess_output(
if (g_mif_info.circuit.anal_type == MIF_TRAN) { if (g_mif_info.circuit.anal_type == MIF_TRAN) {
delay = port->delay; delay = port->delay;
if(delay <= 0.0) {
printf("\nERROR - Output delay <= 0 not allowed - output ignored!\n");
if(delay < 0.0) {
printf("\nERROR - Output delay < 0 not allowed - output ignored!\n");
printf(" Instance: %s\n Node: %s\n Time: %f \n", printf(" Instance: %s\n Node: %s\n Time: %f \n",
g_mif_info.instance->MIFname, node_table[node_index]->name, g_mif_info.instance->MIFname, node_table[node_index]->name,
g_mif_info.ckt->CKTtime); g_mif_info.ckt->CKTtime);

Loading…
Cancel
Save