Thursday, April 2, 2009

Cadence skill code - Mouse click to activate/call a procedure

Sometimes you might want to create a function that can be called/activated by a mouse click in schematic/layout. For example, you want to create a labeling algorithm that can label signal a1, a2, a3, a4....by each mouse click in the layout. Here is how to do it (not a complete skill code in procedure abc) :


enterPoints(?prompts list("Please click")
?alwaysMap 't
?addPointProc "abc"
)


procedure(abc(windowId points)
prog(()
point = car(last(points))
point = geWindowToEditPoint(windowId point)
dbCreatelabel (***** point ****) ;use point as the xy
text_count=text_count+1

))

Take note that when procedure abc is called by enterPoints, 2 values are assigned automatically to it (windowID and clicking points). The value of "point" after geWindowToEditPoint is the real point we need to create text or polygon. Hope this will help.

Bus services in Tasmania - Traveler's pass offering unlimited ride

2 bus companies are offering traveler pass with unlimited ride in Tasmania. There are Redline Tassie Pass, Tassie Link Explorer Bus Pass. Tassie Link's network covers most major destinations in Tasmania including the Tasman Peninsula. It even gets you off the beaten track to destinations like national parks and World Heritage areas.

For Redline, the chargers are :

1) 7 days - $135 AUD
2) 10 days - $160 AUD
3) 14 days - $185 AUD
4) 21 days - $219 AUD

For Reservations or Information call
1300 360 000 (In Australia)
(613) 6336 1446 (In all other countries)
Or email : bookings@tasredline.com.au


For Tassie Link, the rates are:

1) 7 days - $135 AUD
2) 10 days - $160 AUD
3) 14 days - $185 AUD
4) 21 days - $219 AUD

Contact information:
Launceston - Cornwall Square Transit Centre, corner St.John and Cititiere Street.
Hobart - Hobart Bus Terminal, 64 Brisbane Street.
Fax : 0362316090, 61362316090 (international)
Tel : 1300300520, 0362308900, 61362308900 (international)
Email : info@tassielink.com.au

Wednesday, April 1, 2009

51 tahun merdeka

fikiran maju tengok depan,
fikiran mundur tengok belakang,
warga malaysia semua kawan,
selalu gaduh takda bosan?

Dalam IC semua warganegara
tetapi u jadi tuan saya jadi hamba
Dalam parlimen jerit balik tiong hua
tapi saya dilahir hospital melaka

51 tahun negara merdeka
engkau cuma sibuk pasal sejarah
Dunia kini telah berubah
Obama jadi presiden Amerika

the INQUIRER

X-bit labs

The Star Online: Business