diff --git a/src/scheduler.c b/src/scheduler.c index 4df5b48e..04de26e2 100644 --- a/src/scheduler.c +++ b/src/scheduler.c @@ -1565,7 +1565,7 @@ int xschem(ClientData clientdata, Tcl_Interp *interp, int argc, const char * arg char *instname = xctx->inst[i].instname ? xctx->inst[i].instname : ""; char *type = (xctx->inst[i].ptr + xctx->sym)->type; type = type ? type : ""; - if(i > 0) my_mstrcat(_ALLOC_ID_, &s, " ", NULL); + if(i > 0) my_mstrcat(_ALLOC_ID_, &s, "\n", NULL); my_mstrcat(_ALLOC_ID_, &s, "{", instname, "} {", name, "} {", type, "}", NULL); } Tcl_SetResult(interp, (char *)s, TCL_VOLATILE); diff --git a/xschem_library/generators/test_mosgen.sch b/xschem_library/generators/test_mosgen.sch index cd6975a8..d5a1396f 100644 --- a/xschem_library/generators/test_mosgen.sch +++ b/xschem_library/generators/test_mosgen.sch @@ -47,10 +47,10 @@ N 340 -200 390 -200 { lab=IN} N 790 -200 900 -200 { lab=OUT} -C {xschem-repo/trunk/xschem_library/devices/ipin.sym} 340 -200 0 0 {name=p1 lab=IN} -C {xschem-repo/trunk/xschem_library/devices/opin.sym} 900 -200 0 0 {name=p2 lab=OUT} -C {xschem-repo/trunk/xschem_library/devices/vdd.sym} 640 -350 0 0 {name=l1 lab=VDD} -C {xschem-repo/trunk/xschem_library/devices/gnd.sym} 640 -50 0 0 {name=l2 lab=GND} +C {ipin.sym} 340 -200 0 0 {name=p1 lab=IN} +C {opin.sym} 900 -200 0 0 {name=p2 lab=OUT} +C {vdd.sym} 640 -350 0 0 {name=l1 lab=VDD} +C {gnd.sym} 640 -50 0 0 {name=l2 lab=GND} C {mosgen(@model\\)} 480 -260 0 0 {name=M1 L=0.15 W=1