Index: boxsym-rnd/generator.awk =================================================================== --- boxsym-rnd/generator.awk (revision 2799) +++ boxsym-rnd/generator.awk (revision 2800) @@ -25,7 +25,7 @@ return cnt } -function draw_pin(pin, ST, slotidx, SLT ,x2,y2,pname,pnum) +function draw_pin(pin, ST, slotidx, SLT ,x2,y2,pname,pnum,pindecor,intdecor) { x2 = ST["x"] * pin_grid y2 = ST["y"] * pin_grid @@ -38,8 +38,16 @@ else pnum = PIN[pin, "num"] + if (PIN[pin, "invcirc"]) + pindecor = "circle" + + if (PIN[pin, "dir"] == "in") + intdecor = "intri" + else if (PIN[pin, "dir"] == "out") + intdecor = "outtri" + dbg("draw_pin(): pname=" pname " dir=" ST["pdir"] " at " x2 ";" y2) - sym_term(SYM, x2, y2, ST["pdir"], pnum, pname) + sym_term(SYM, x2, y2, ST["pdir"], pnum, pname, pindecor, intdecor) } # draw pins of a given slot:loc, with first pin touching the box at x0;y0