From 6adee35b89862f42b5f7285dfc14f67c3f4e569d Mon Sep 17 00:00:00 2001 From: stefan schippers Date: Mon, 20 Jan 2025 23:03:33 +0100 Subject: [PATCH] update make_sym.awk to use a polyline instead of segments for the symbol box --- src/make_sym.awk | 13 +++++++------ xschem_library/examples/cmos_example.sch | 22 +++++++++++----------- 2 files changed, 18 insertions(+), 17 deletions(-) diff --git a/src/make_sym.awk b/src/make_sym.awk index 93b0f940..e74d1617 100755 --- a/src/make_sym.awk +++ b/src/make_sym.awk @@ -236,14 +236,15 @@ function endfile(f) { y=-m*space x=-width print "T {@name}",-x-lwidth+5, y-space/2-8-lab_voffset,0,0,labsize, labsize,"{}" >sym - print "L 4 " (x+lwidth) ,y-space/2,(-x-lwidth) , y-space/2,"{}" >sym - print "L 4 " (x+lwidth) ,y+n*space-space/2,(-x-lwidth) , y+n*space-space/2,"{}" >sym - print "L 4 " (x+lwidth) ,y-space/2,(x+lwidth) , y+n*space-space/2,"{}" >sym - print "L 4 " (-x-lwidth) ,y-space/2,(-x-lwidth) , y+n*space-space/2,"{}" >sym - + print "P 4 5", \ + (-x-lwidth) ,y-space/2, \ + (x+lwidth) , y-space/2, \ + (x+lwidth), y+n*space-space/2, \ + (-x-lwidth), y+n*space-space/2, \ + (-x-lwidth) ,y-space/2, \ + "{}" > sym hsort_key(index_pin, y_pin, n_pin) # 20140519 - num_i = num_o = 0 #20140519 for(ii=0;ii