better output formatting in "xschem instance_list" command, fix test_mosgen.sch absolute paths in symbols
This commit is contained in:
parent
36207ad12b
commit
f282a96cec
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue