From d5ff835614647919d1747bd4838b8d25b7239d65 Mon Sep 17 00:00:00 2001 From: Stefan Schippers Date: Mon, 26 Oct 2020 02:58:29 +0100 Subject: [PATCH] sqwsource: do not use tcleval, leave the simple expressions parsing to the simulator --- xschem_library/devices/sqwsource.sym | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/xschem_library/devices/sqwsource.sym b/xschem_library/devices/sqwsource.sym index caa6ac91..ae8b8504 100644 --- a/xschem_library/devices/sqwsource.sym +++ b/xschem_library/devices/sqwsource.sym @@ -1,13 +1,13 @@ v {xschem version=2.9.8 file_version=1.2} G {} K {type=vsource -format="tcleval( @name @pinlist \\\\ +format="@name @pinlist \\\\ pulse 0 @vhi \\\\ -[expr 0.495/ @freq\\\\] \\\\ -[expr 0.01/@freq ] \\\\ -[expr 0.01/@freq ] \\\\ -[expr 0.49/@freq ] \\\\ -[expr 1/@freq ] )" +'0.495/ @freq ' \\\\ +'0.01/@freq ' \\\\ +'0.01/@freq ' \\\\ +'0.49/@freq ' \\\\ +'1/@freq '" template="name=V1 vhi=3 freq=1e6" } V {}