From e53325583b83fadc0b8a568ab0c52db4de65716f Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Tue, 26 May 2026 16:02:36 +0200 Subject: [PATCH] Don't check for tperiod, which is not used when the distributed pulse is applied. --- src/xspice/icm/xtradev/seegenerator/cfunc.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xspice/icm/xtradev/seegenerator/cfunc.mod b/src/xspice/icm/xtradev/seegenerator/cfunc.mod index 6b4f0ad8e..08c93b5ec 100644 --- a/src/xspice/icm/xtradev/seegenerator/cfunc.mod +++ b/src/xspice/icm/xtradev/seegenerator/cfunc.mod @@ -194,7 +194,7 @@ void cm_seegen(ARGS) /* structure holding parms, cm_cexit(1); } - if (5 * (trise + tfall) > tperiod) { + if (!have_scaled && 5 * (trise + tfall) > tperiod) { cm_message_send("\nError: tperiod should be at least 5 times the sum of trise and tfall\n"); cm_cexit(1); }