2 differents questions about skill

Guest
Hello All !!

Once again i need your help ... I have two problems in skill that i
can not solve. Maybe some one could provide me some advices ?

1- si.log

I'm writing a program that generates the netlist of a schematic
automatically.
The command i use is:
si WorkingPath -batch -command netlist

and it works fine.

But sometimes, because of schematic check and save problems, the
netlist can not be generated. By running the command by hand, a si.log
file is created, with the description of failure.

but by skill, the si.log is not generated. I don't know why... by hand
and by skill, i run exactly the same command.

It's unfortunate. So, how to generate this si.log in all cases ?


2- displaying lines between to points.

My second question is the following.
I wrote a small program that displays the reference point of a layout
cell.
I would like to change this reference point, but i need to keep in
memory the old location of this reference point.

So i would like to write a skill that displays a line between my old
reference point and the new one.
I would like to display a line to see the evolution of my reference
point.

reference point is very useful because its size does not change by
zooming in / out. I would like, if possible, the same feature.

the location of my ref. point can change many times, so i need to
display as many lines as i need, to display the changes as a graphic.
I think i can use layers y0 ...y9, but i don't know how to draw just a
line between to points ??

Morevover, i would like to remove these lines when i close my GUI


Thanks a lot for your help.

regards,

b.
 
Answers below:

bedoune@gmail.com wrote, on 06/18/08 08:51:
Hello All !!

Once again i need your help ... I have two problems in skill that i
can not solve. Maybe some one could provide me some advices ?

1- si.log

I'm writing a program that generates the netlist of a schematic
automatically.
The command i use is:
si WorkingPath -batch -command netlist

and it works fine.

But sometimes, because of schematic check and save problems, the
netlist can not be generated. By running the command by hand, a si.log
file is created, with the description of failure.

but by skill, the si.log is not generated. I don't know why... by hand
and by skill, i run exactly the same command.

It's unfortunate. So, how to generate this si.log in all cases ?
How are you running it "by skill"?

I don't believe "si" normally creates a log file, unless you redirect the
output:

si workingPath -batch -command netlist > si.log

2- displaying lines between to points.

My second question is the following.
I wrote a small program that displays the reference point of a layout
cell.
I would like to change this reference point, but i need to keep in
memory the old location of this reference point.

So i would like to write a skill that displays a line between my old
reference point and the new one.
I would like to display a line to see the evolution of my reference
point.

reference point is very useful because its size does not change by
zooming in / out. I would like, if possible, the same feature.

the location of my ref. point can change many times, so i need to
display as many lines as i need, to display the changes as a graphic.
I think i can use layers y0 ...y9, but i don't know how to draw just a
line between to points ??

Morevover, i would like to remove these lines when i close my GUI
hlSet=geCreateHilightSet(cvId '("y0" "drawing"))
pt1=0:0
pt2=2:1
geAddHilightLine(hlSet list(pt1 pt2))
; doesn't get drawn until you enable it
hlSet~>enable=t

See the rest of the "Hilight" functions in the documentation for more details.

Regards,

Andrew.
 

Welcome to EDABoard.com

Sponsor

Back
Top