Saturday, August 07, 2010

How to retire?

##Forward Mail##

*4 Pre-Conditions for Retirement*

I retired in year 2000 at age 52. I am now 62, thus I can claim that I got more experience at retirement than most!

I thought I should share my experience with mariners because I have seen too many friends and neighbours who became *so bored that they have become a nuisance to their spouse and children and to others!*

A few of them have solved the problem by going back to work. They were able to do so because they have a skill/expertise that is still in demand.

The rest (and many are my neighbours) live aimlessly or are waiting to die - a very sad situation, indeed.

You can retire only when you fulfill these 4 pre-conditions:

1) Your children are financially independent (e.g. they got jobs),

2) You have zero liability (all your borrowings are paid up),

3) You have enough savings to support your lifestyle for the rest of your life,

AND most importantly,

4) You know what you would be doing during your retirement.

DO NOT retire till you meet ALL 4 Pre-Conditions.

And of course you should not retire if you enjoy working and are getting paid for it!The problem cases I know of are those who failed to meet Pre-Condition #4.


When asked, "What would you be doing during your retirement?" some replied, "I will travel/cruise and see the World".

They did that, some for 3 months and then ran out of ideas..

The golfers replied, "I can golf every day." Most could not because they are no longer fit to play well enough to enjoy the game.

Those who could, need to overcome another hurdle - they need to find the "kakis" to play with them.

It's the same with mahjong, bridge, badminton, trekking and karaoke - you need "kakis"!

Most could not find others who share their favourite game and playing/singing alone is no fun.

AND when they do find them, a few of them found that they are NOT welcomed like my obnoxious neighbour whom everyone avoids.

Thus if you are into group sports or games, you must form your groups BEFORE you retire.

You need to identify your "kakis" (friends), play with them and discover whether they "click" with you.

The less sporty "can read all the books bought over the years". I know of one guy who fell asleep after a few pages and ended up napping most of the time!

He discovered that he did not like to read after all. We do change and we may not enjoy the hobbies we had.


Routine Activities to Fill Your Week

For most people, your routine work activities are planned for you or dictated by others and circumstances.

When you retire, you wake up to a new routine - one that you yourself have to establish as nobody else would do it for you!
The routine to establish should keep your body, mind and spirit "sharpened".

A good routine would comprise:

a) One weekly physical sport - you need to keep fit to enjoy your retirement.

If you are the non-sporty type, you should fire your maid and clean your home without mechanical aids.

Dancing and babysitting are good alternatives.

b) One weekly mind stimulating activity - e.g. writing, studying for a degree, acquiring a new skill, solving problems or puzzles, learn or teach something.

You need to stimulate your mind to stay alive because the day you stop using your brain is the day you start to die.

c) One weekly social activity - choose one involving lots of friends/neighbours. Get yourself accepted as a member to at least 3 interests groups.

Unless you prefer to be alone, you do need friends more than ever as you get older and less fit to pursue your sport.

d) One weekly community service activity - you need to give to appreciate what you have taken in this life. It's good to leave some kind of legacy.

With 4 weekly activities, you got 4 days out of 7 covered. The remaining 3 days should be devoted to family related activities.

In this way, you maintain a balance between amusing yourself and your family members.

Any spare time should remain "spare" so that you can capitalise on opportunities that come your way like responding to an unexpected request to do a job or to take advantage of cheap fares to see places or to visit an exhibition.


Mind stimulating activities

In "Today" paper you would have read of 2 inspiring oldies. One is a granny who learned to play the guitar at age 60 to entertain his grandchildren. She's 70+ today and those grandchildren have grown to play with her.

Another is an Indian radiologist who on retirement, qualified as an acupuncturist. He's age 77 and still offers his services (by appointment only) including free ones to those who have no income. I guarantee you that they are happy people who discovered a "2nd wind" to take them to the sunset with a smile on their faces.

Mind stimulating activities are hard to identify. They require your will to do something useful with the rest of your life, a mindset change and the discipline to carry it through.

Your Bucket List
Despite your busy routine, you will at times be bored. Then it's time to turn to your Bucket List.

Your bucket list contains a list of things to do before you kick the bucket. They are not routine and are usually one-off activities.

You need them to have something to look forward to.

These include anniversaries, trips (and pilgrimages), visits to friends and relations abroad, re-doing your home, attending conferences (related to your hobbies), acquiring a new set of expertise.


4 such activities that are spaced out quarterly would be ideal.


Retirement Is A Serious Business

If you can afford to retire and want to, do prepare to live to your fullest. You need to be fit to enjoy it - therefore get into shape now.

You do not want to get up on a Monday and wonder what to do each week, therefore identify your set of weekly routine activities now and try them out to confirm that they are the activities that you will be looking forward to doing each week, week after week.

You bucket list of "rewards" or "projects" or "challenges" is needed to help you break away from the routine thereby make life worth living.

Start listing what you fancy and refine it as you chug along in your retirement.

You will have so much fun you would wish you were retired since you turned 21!

So how are you going to manage it?

Ocean script: run parametric analysis (paramAnalysis)


This is the Ocean script tutorial to run multiple parametric analysis (paramAnalysis) and to plot output waveforms and equations / expressions in family group.

Before running ocean script, all the setup like equations/expressions and output waveforms are set in the analog Artist. Then click on --> session --> save ocean script.

This example shows the minimum changes are needed for multiple parametric analysis. The red color lines are the edited part for parametric analysis. The blue color lines are optional.

If you want to re-extract data (like different equations or plotting waveforms), you could disable the ;paramRun and execute the same script with different equations or output waveforms.

The example here is to extract Q factor and capacitance values for differential array cap for LC VCO. Ac analysis is used.


;------------------------------------------

ocnWaveformTool( 'awd )
simulator( 'spectre )
design( "/xxx/simulation/caparray_ac_tb/spectre/schematic/netlist/netlist")
resultsDir( "/xxx/simulation/caparray_ac_tb/spectre/schematic" )
modelFile(
'("/xxxx/spectre/yyyyy.scs" "typical")
)
analysis('ac ?start "1M" ?stop "100G" )
desVar( "vc" 1.3 )
desVar( "b3" 1 )
desVar( "b2" 0 )
desVar( "b1" 0 )
desVar( "b0" 0 )
desVar( "wsw" 0.8u )
desVar( "lsw" 0.4u )
desVar( "wpair" 5u )
desVar( "vcc" 2 )
desVar( "on" 1 )
desVar( "wnmos" 5u )
desVar( "lnmos" 0.18u )
desVar( "vcm" 1.3 )
save( 'v "/vcm1" "/vcm2" )
save( 'i "/R4/PLUS" "/R5/PLUS" )
temp( 27 )

;-------- RunSim setup-----------
;run() ;disable this from the default ocean script


paramAnalysis( "b3" ?start 0 ?stop 1 ?step 1
;cap array bits
paramAnalysis( "b2" ?start 0 ?stop 1 ?step 1

paramAnalysis( "b1" ?start 0 ?stop 1 ?step 1
paramAnalysis( "b0" ?start 0 ?stop 1 ?step 1

paramAnalysis( "vc" ?start 0 ?stop 2 ?step 0.2 )))))
;vc=tuning voltage
paramRun() ; disable this if only data extracting--------


;------------------------------Data Extracting ------------

selectResult( 'ac ) ;add this

pi=3.141592653589793 ;define pi since ocean does not know pi value


Q_diff2 = abs((imag(((VF("/vcm1") - VF("/vcm2")) / (IF("/R4/PLUS") - IF("/R5/PLUS")))) / real(((VF("/vcm1") - VF("/vcm2")) / (IF("/R4/PLUS") - IF("/R5/PLUS"))))))

plot( Q_diff2 ?expr '( "Q_diff2" ) )

addSubwindow() ;add sub window


Cap_diff = (value(imag((IF("/R4/PLUS") - IF("/R5/PLUS"))) 10000000 ?histoDisplay nil ?noOfHistoBins 1) / (2 * pi * 10000000))

plot( Cap_diff ?expr '( "Cap_diff" ) )

Q_diff2_5G = value(abs((imag(((VF("/vcm1") - VF("/vcm2")) / (IF("/R4/PLUS") - IF("/R5/PLUS")))) / real(((VF("/vcm1") - VF("/vcm2")) / (IF("/R4/PLUS") - IF("/R5/PLUS")))))) 5e+09 ?histoDisplay nil ?noOfHistoBins 1)

plot( Q_diff2_5G ?expr '( "Q_diff2_5G" ) )

displayMode( "strip" ) ;display in strip mode

Thursday, August 05, 2010

'Freedom From' vs 'Freedom To'

Copied from: http://www.thefinancialphilosopher.com/2010/08/freedom-from-vs-freedom-to.html

My recent thoughts on financial freedom extended to interesting TFP reader discussion here, which in turn provoked more thoughts of my own that I would like to share now...

When speaking of freedom I believe it is important to distinguish, as 20th century philosopher Erich Fromm did, between two forms of freedom: Freedom From and Freedom To:

There is only one possible, productive solution for the relationship of individualized man with the world: his active solidarity with all men and his spontaneous activity, love and work, which unite him again with the world, not by primary ties but as a free and independent individual.... However, if the economic, social and political conditions... do not offer a basis for the realization of individuality in the sense just mentioned, while at the same time people have lost those ties which gave them security, this lag makes freedom an unbearable burden. It then becomes identical with doubt, with a kind of life which lacks meaning and direction. Powerful tendencies arise to escape from this kind of freedom into submission or some kind of relationship to man and the world which promises relief from uncertainty, even if it deprives the individual of his freedom. ~ Erich Fromm

Freedom From: This, according to Fromm, is negative freedom and it is based in fear because it is sought as relief from uncertainty or from restrictions placed on the individual by society (other people) and/or institutions (e.g. government, financial creditors). The pursuit of freedom from can paradoxically reduce or remove one's freedom.

For our purposes here, specifically with regard to the idea of financial freedom, one must be careful not to seek money only as a means to "buy freedom" from something, such as work, from society, from debt or from whatever it is one wishes to escape, unless this freedom from is attached to (or followed by) a freedom to something...

Freedom To: This is the healthy form of freedom because it is the form where the individual obtains the capacity to be creative, to act as the authentic self. When one obtains the means to be authentic, they are enabled to reach the highest form of productivity because their actions are purposeful and meaningful; thus the actions are self-feeding and self-radiating; therefore, the individual is happy by virtue of doing -- they are free because they are acting as the authentic self, not because of a certain or pre-defined amount of financial capacity.

Where many people are mistaken, in my humble opinion, is that freedom to can only be obtained after freedom from. This is the primary reason why I don't like the conventional idea of financial freedom; because many people are led to the mistaken belief that money buys freedom; that one can only be free, to act as the authentic self, once a certain financial objective has been met.

Furthermore, there is never truly freedom from money because money is required as a means of exchange for the things that meet your physiological needs; you will always have some need for money as a tool.

"Between stimulus and response there is a space. In that space is our power to choose our response. In our response lies our growth and our freedom." ~ Viktor Frankl

Freedom from, therefore, is a choice; and where my ideas of freedom depart slightly from Erich Fromm's is that social, political, and economic entities are not conditions absolutely necessary for freedom. Society, governments and institutions will always have their objectives that are somewhat restrictive to the individual; some more restrictive than others. Choice, however, remains the primary means of freedom.

If one believes that freedom is essentially the capacity to act as the authentic self, it is therefore in one's best interest to seek and find (and act as) the authentic self; and not necessarily seek to acquire a large sum of money or to seek the help of society to create the freedom.

You must first ask "What is the purpose of my life?" before asking "What is the purpose of my money?" Once the first question is answered, you have thus answered the second. Making your money a tool for life, and not making your life a tool for money, is a choice.

In summary, and most importantly, by placing meaning before money and purpose before planning, your freedom becomes freedom to rather than freedom from.

Are there any more thoughts on freedom you would like to share? Are there social, political and economic conditions necessary for one to be free? What is freedom? Additionally, are people (or you) afraid of freedom? Can the pursuit of freedom paradoxically limit one's freedom?

Wednesday, August 04, 2010

Ocean script: Extract clock period jitter

here is the simple Cadence ocean script to extract clock periods. The results can be used to calculate the period jitter and cycle-to-cycle jitter in the excel spread sheet (post processing).






;_____________________________________________

simulator( 'spectre )
;Output file name
p = outfile( "_jitter.txt" "w")

openResults( "/PATH_TO_DESIGN/spectre/schematic" )
selectResult( 'tran )



;-----------------------------------
; Setting
;----------------------------------

vcc = 1.8
threshold = 0.9

t0_edge = 1

% set a large number in the for_loop counter so it can extract the entire sim results
for(i 1 200000

t1_edge = t0_edge + i
t2_edge = t1_edge + 1


;----------------
; measurement
;----------------

per_buf3 = ( cross(v("/buf3") threshold t2_edge "rising") - cross(v("buf3") threshold t1_edge "rising"))
per_buf3b = ( cross(v("/buf3b") threshold t2_edge "rising") - cross(v("buf3b") threshold t1_edge "rising"))



;----------------
; Print out
;----------------

fprintf( p "%-14e" per_buf3 )
fprintf( p "%-14e" per_buf3b )
fprintf( p "\n" )
)

close(p)

Thursday, July 15, 2010

Friday, June 11, 2010

Yo yo check it out!


Jing Yi is so happy!!

Yo yo check it out!

Wednesday, June 09, 2010

Thesis Collection

Georgia Institute of Technology (Georgia Tech)
http://smartech.gatech.edu/




Texas A&M Univeristy (TAMU)
http://repository.tamu.edu/

The Hong Kong University of Science and Technology (HKUST)
http://repository.ust.hk

Linköping University (LIU)
http://www.ep.liu.se/

University of Twente
http://essay.utwente.nl/