Saturday, August 14, 2010

看懂这些故事 你做人就很成功了

第一课

一个男人在他妻子洗完澡后准备进浴室洗澡。这时,门铃响了。妻子迅速用浴巾裹住自己冲到门口。当她打开门时,邻居鲍勃站在那 儿。在她开口前,鲍勃说,"你如果把浴巾拿掉,我给你800美元。"想了一会儿,这个女人拿掉浴巾赤裸地站在鲍勃面前。几秒钟后,鲍勃递给她800美元然 后离开了。女人重新裹好浴巾回到屋里。当她踏进浴室时,丈夫问她,"是谁呀?""是邻居鲍勃。"她回答。"哦,"丈夫说,"他有没有提到还欠我800美 元?"故事寓意:及时与同舟共济的股东分享重要信息,将会避免不必要的曝光。

第二课

一个销售员、一个办事员 和他们的经理步行去午餐时发现了一盏古代油灯。他们摩擦油灯,一个精灵跳了出来。精灵说:"我能满足你们每人一个愿望。""我先!我先!"办事员说,"我 想去巴哈马群岛,开着快艇,与世隔绝。"倏!她飞走了。"该我了!该我了!"销售员说,"我想去夏威夷,躺在沙滩上,有私人女按摩师,免费续杯的冰镇果汁 朗姆酒,还有一生中的最爱。"倏!他飞走了。"OK, 该你了。"精灵对经理说。经理回答:"我要那两个蠢货午饭后马上回来工作!"故事寓意:永远让你的老板开口先。

第三课

一 只鹰坐在高高的树上休息,无所事事。一只小兔子看见鹰并且问它,"我能象你一样坐着什么都不干吗?"鹰回答:"行啊,为啥不行。"于是,兔子坐在鹰下面的 地上休息。突然,一只狐狸出现了,它扑到兔子身上把它吃掉了。故事寓意:要想坐着无所事事,你必须坐在非常、非常高的位置。

第四课

一 只小鸟飞去南方过冬。天实在太冷了。它冻僵了,掉在一片田野上。它躺在那儿时,一头母牛走过来在它身上拉了一堆屎。冻僵的小鸟躺在粪堆里,开始感觉到了温 暖。牛粪确实使它暖和过来了。它躺在温暖的牛粪中,异常高兴,并开始唱起歌来。一只过路的猫听到鸟叫赶过来看个究竟。顺着声音,它发现了牛粪下的小鸟,并 迅速把它拖出来吃掉了。故事寓意:(1) 并不是每个在你身上拉屎的都是你的敌人。(2) 并不是每个把你拖出粪堆的都是你的朋友。(3) 当你深陷粪堆中的时候,最好闭上你的鸟嘴

(1)学会 沉默

有时候,你被人误解,你不想争辩,所以选择沉默。 本来就不是所有的人都得了解你,因此你认为不必对全世界喊话。却也有时候,你被最爱的人误解,你难过到不想争辩,也只有选择沉默。全世界都可以不懂你,但 他应该懂,若他竟然不能懂,还有什么话可说?生命中往往有连舒伯特都无言以对的时刻,毕竟不是所有的是非都能条列清楚,甚至可能根本没有真正的是与非。那 么,不想说话,就不说吧,在多说无益的时候,也许沉默就是最好的解释。

(2)至少 平静

在你跌入人生谷底的 时候,你身旁所有的人都告诉你:要坚强,而且要快乐。坚强是绝对需要的,但是快乐?在这种情形下,恐怕是太为难你了。毕竟,谁能在跌得头破血流的时候还觉 得高兴?但是至少可以做到平静。平静地看待这件事,平静地把其他该处理的事处理好。平静,没有快乐,也没有不快乐。

(3)学会弯腰 这会是我意外的收获

和 别人发生意见上的纷歧,甚造成言语上的冲突,所以你闷闷不乐,因为你觉得都是别人恶意。别再耿耿于怀了,回家去擦地板吧。拎一块抹布,弯下腰,双膝着地, 把你面前这张地板的每个角落来回擦拭干净。然后重新省思自己在那场冲突,所说过的每一句话。现在,你发现自己其实也有不对的地方了,是不是?你渐渐心平气 和了,是不是?有时候你必须学习弯腰,因为这个动作可以让你谦卑。劳动身体的同时,你也擦亮了自己的心绪。而且,你还拥有了一张光洁的地板呢。这是你的第 二个收获。

(4)不要想 如果 当初

你说,人生是一条有无限多岔口的长路,永远在不停地做选择。如果只是选 择吃炒面或炒饭,影响似乎不大,但选择读什么科系、做什么工作、结婚或不结婚、要不要有孩子,每一个选择都影响深远,而不同的选择也必定造就完全不一样的 人生。你又说,生命中不可承受之情,就在于人生没有重来的机会啊。如果当初如何如何,现在就不会怎样怎样...这种充满怅然的喃喃自语,还是别再多说了 吧。每一个岔口的选择其实没有真正的好与坏,只要把人生看成是自己。独一无二的创作,就不会频频回首如果当初做了不一样的选择。


(5)努力吧 不管成功与否 至少曾经美丽

漫 步林间,你看见一株藤蔓附着树干,柔软与坚实相互交缠,你感动于这静美的一幕。让幸福与归属就此驻足吧。你想。不知未来会有怎样一番风雨摧折?也许藤将 断、树会倒,也许天会荒,地将老。你又想。那么,请时光停格在此刻吧。停格即是永恒。永恒里若有这静美的一刻,未来可能遭遇的种种劫难,便已得到了安慰与 报偿。

(6)保持单纯

因为思虑过多,所以你常常把你的人生复杂化了。明明是活在现在,你却总是念念不忘着过 去,又忧心忡忡着未来;坚持携带着过去、未来与现在同行,你的人生当然只有一片拖泥带水。而单纯是一种恩宠状态。单纯地以皮肤感受天气的变化,单纯地以鼻 腔品尝雨后的青草香,单纯地以眼睛统摄远山近景如一幅画。单纯地活在当下。而当下其实无所谓是非真假。既然没有是非,就不必思虑;没有真假,就无须念念不 忘又忧心忡忡。无是非真假,不就像在做梦一样了吗?是呀,就单纯地把你的人生当成梦境去执行吧。

(7)偶尔'俗气'...

吃 多了健康食品,偶尔你也想啃一啃鸭舌头和盐酥鸡。看多了大师名剧,偶尔你也想瞄一瞄耳光摔不完眼泪掉不完的连续剧。听多了古典音乐,偶尔你也想唱一唱爱他 一百年又恨他一万年的流行歌曲。你知道健康食品对健胃整肠有意义,大师名剧对培养气质有意义,古典音乐对提升性灵有意义,可是,偶尔你其实并不想让自己时 时刻刻活得那么有意。人生不需要把自己绑得那么紧。偶尔的小小放纵,是道德的。灵气充满或许接近大人,但偶尔的俗气会更平易近人。

(8)控制情绪 别浪费了~

今 天的你,是不开心的你,因为有人在言语间刺伤了你。你不喜欢吵架,所以你离开;可是你只是离开了那,却没有离开被那人伤害的情境,因此你愈想愈生气。愈有 气,你就愈没有力气去理会别的事情,许多更该用心去做去想去处理的事件,就在你漫天漫地的心烦意乱之中,被轻忽被漠视被省略了。因为,你只是一心一意地在 生气。在情绪上做文章,这是对自己的浪费,而且是很坏的浪费。毕竟,生气也是要花力气的,而且生气一定伤元气。所以,聪明如你,别让情绪控制了你,当你又 要生气之前,不妨轻声地提醒自己一句:"别浪费了。"

(9)抓住最好的时机 绝不错过

你曾经买了一件很喜欢 的衣裳却舍不得穿,郑重地供奉在衣柜里;许久之后,当你再看见它的时候,却发现它已经过时了。所以,你就这样与它错过了。你也曾经买了一块漂亮的蛋糕却舍 不得吃,郑重地供奉在冰箱里;许久之后,当你再看见它的时候,却发现它已经过期了。所以,你也这样与它错过了。没有在最喜欢的时候上身的衣裳,没有在最可 口的时候品尝的蛋糕,就像没有在最想做的时候去做的事情,都是遗憾。生命也有保存期限,想做的事该趁早去做。如果你只是把你的心愿郑重地供奉在心里,却未 曾去实行,那么唯一的结果,就是与它错过,一如那件过时的衣裳,一如那块过期的蛋糕。

(10)偶尔的出离轨道

某 次你搭火车打算到A地去,中途却忽然临时起意在B地下了车。也许是别致的地名吸引了你,也许是偶然一瞥的风景触动了你,总之,你就这样改变了本来预定的行 程,然后经历了一场充满惊奇的意外旅行。A地是你原先的目标,B地却让你体会了小小的冒险。回忆起来,你说,那是一次令你难忘的出轨经验。生命中的许多时 候不也如此?心无旁骛地奔赴唯一的目的,不过是履行了原本的行程而已;离开预设的轨道,你才有机会发现其他的风景。

(11)悄悄 悄悄地 回归平静..

曾 经有一段时间,你心情低落,甚至懒得拉开窗帘,看着窗外的阳光。因此你当然也忘了去看看,窗台上那一盆每天都需要喝水的玛格丽特。如此不知过了多久,总算 有一天,你度过了心情的低潮,同时也想起了你的玛格丽特。天啊,可怜的花,她还活着吗?你战战兢兢地拉开窗帘,却见她迎风招摇,花颜可掬。原来在过去的这 段日子里,你虽然忘了喂她喝水,老天却没忘了以雨露眷顾她呢。许多事物悄悄地在你的视线之外进行,而且悄悄地安排好了它们自己。天生万物,天养万物,一切 其实无须担心......你只要做的就是做好自己,不留任何遗憾...足矣。

关于爱情:

不要认为后面还有更 好的,因为现在拥有的就是最好的。不要认为还年轻可以晚些结婚,爱情是不等年龄的。不要因为距离太远而放弃,爱情可以和你一起坐火车的。不要因为对方不富 裕而放弃,只要不是无能的人,勤劳可以让你们富裕的。不要因为父母反对而放弃,你会发现因为这个原因而反放弃的爱情,将是你一生的悔恨。其实对于爱情,越 单纯越幸福。一生只谈一次恋爱是最好的,经历的太多了,会麻木;分离多了,会习惯;换恋人多了,会比较;到最后,你不会再相信爱情;你会自暴自弃;你会行 尸走肉;你会与你不爱的人结婚,就这样过一辈子。

关于爱情:

也许爱情是一部忧伤的童话,惟其遥远与真实。放 弃一个爱你的人并不痛苦,放弃一个你爱的人那才痛苦。若是有缘时间空间都不是距离,若是无缘总是相聚也无法合意;凡事不必太在意,更不需去强求,就让一切 随缘。逃避不一定躲得过;面对不一定最难过;孤独不一定不快乐;得到不一定长久;失去不一定不再拥有。爱是一种享受,即使痛苦也会觉得幸福;爱是一种体 会,即使心碎也会觉得甜蜜;爱是一种经历,即使破碎也会觉得美丽;不要因为寂寞而错爱,不要因为错爱而寂寞一生。

关于伴侣:

伴 侣不是结婚时发誓非你不娶或非你不嫁的那个人,而是发现你身上有许多缺点仍然选择你的那个人;伴侣不是生活中你爱吃黄瓜ta也爱吃黄瓜的那个人,而是你吃 蛋清ta吃蛋黄的那个人;伴侣不是天黑了和你一起手挽手走进饭店的那个人,而是守在门口巴望你回来共进晚餐的那个人;伴侣不是和你大谈爱情,把"我爱你" 挂在嘴边的那个人,而是和你平淡的唠叨柴米油盐、锅碗瓢盆的那个人。在幸福的婚姻中,伴侣已不是一个具体的人,而是你和ta在几十年的岁月中沉淀下来的: 一份默契、一份温情、一份平淡、一份理解、一份宽容。爱ta就要让ra开心,这就是伴侣........

关于承诺:

在 古希腊传说中,情侣都将戒指套在对方的中指上,因为他们相信那儿有一根血管直通心脏。所以戒指的意思就是用心承诺!但是人世间有多少爱能生死白头,又有多 少的情可以天长地久?所以你选择共度一生得未必是你最爱的,你最爱的未必能和你共度一生。多少的有情人走不进彼此的今生,只能苦苦的相约于来世;而多少的 男男女女走过爱情走进婚姻却不会再珍惜彼此的付出。所以记得珍惜你爱的人,把每一个平淡的今天当成是彼此相依的最后一刻,好好握紧爱人的手,即使ta容颜 已老,即使ta满面沧桑,那也是你记忆中永恒的温馨。别忘了守住对ta的承诺,别忘了牵住ta的手,一生一世一辈子.....

关于人生:

人 生如梦,岁月无情。蓦然回首,才发现人活着是一种心情。穷也好,富也好,得也好,失也好。一切都是过眼云烟。想想,不管昨天、今天、明天,能豁然开朗就是 美好的一天。不管亲情、友情、爱情,能永远珍惜就是好心情。记得有一个经典短信这样写着:曾经拥有的不要忘记;已经得到的更加珍惜;属于自己的不要放弃; 已经失去的留作回忆;想要得到的一定要努力;累了把心靠岸;选择了就不要后悔;苦了才懂得满足;痛了才享受生活;伤了才明白坚强;总有起风的清晨;总有绚 烂的黄昏;总有流星的夜晚。人生就像一张有去无回的单程车票,没有彩排,每一场都是现场直播。把握好每次演出便是对人生最好的珍惜。把握现在,畅享人生!

关于友情:

有 一天,友情和爱情碰见。爱情问友情:世上有我了,为什么还要有你的存在?友情笑着说:爱情会让人们流泪,而友情的存在就是帮人们擦干眼泪!朋友就是:偶尔 会为你担心、向你关心、替你懆心、想你开心、逗你开心、请你放心。朋友之间,懂得关怀才是难得.....伤心时不妨和我说;痛苦时别忘了跟我讲;有病时别 忘了通知我;困难时记得要请教我;失望时要想起还有我;开心时更不要忘记我。朋友的定义,就在于此.....我们是朋友,这就够了.......

关于微笑:

被 人误解的时候能微微的一笑,这是一种素养;受委屈的时候能坦然的一笑,这是一种大度;吃亏的时候能开心的一笑,这是一种豁达;处窘境的时候能自嘲的一笑, 这是一种智慧;无奈的时候能达观的一笑,这是一种境界;危难的时候能泰然一笑,这是一种大气;被轻蔑的时候能平静的一笑,这是一种自信;失恋的时候能轻轻 的一笑,这是一种洒脱。不管是有什么事情,为了什么原因.....我们每天都要开心一笑...........

关于生活:

日出东海落西山,愁也一天,喜也一天;遇事不钻牛角尖,人也舒坦,心也舒坦;每天领取谋生钱,多也喜欢,少也喜欢;少荤多素日三餐,粗也香甜,细也香甜;新旧衣服不挑捡,好也御寒,赖也御寒;常与知己聊聊天,古也谈谈,今也谈谈;全家老少互慰勉,贫也相安,富也相安。

关于幸福:

相 传幸福是个美丽的玻璃球,跌碎散落在世间的每个角落。有的人捡到多些,有的人捡到少些。却没有人能拥有全部。爱你所爱选你所选,珍惜现在所拥有的一切。人 活着就是一种心情,把握今天,设置明天,储存永远。只要用心感受,幸福就会永远存在。------------------人总是对自己拥有的东西不珍 惜,直到不再拥有时才会加倍怀念,而在得知自己快失去自己所拥有的东西而又无能为力时,就寻死觅活地不肯放手,歇斯底里往往发生在这个时候,而对于生命的 执著确实是到死才放手

Friday, August 13, 2010

I Don’t Want To Miss A Thing (Yuna Ito)




Aerosmith I Don’t Want To Miss A Thing Lyrics

I could stay awake just to hear you breathing
Watch you smile while you are sleeping
While you're far away and dreaming
I could spend my life in this sweet surrender
I could stay lost in this moment forever
Where every moment spent with you is a moment I treasure

Don't wanna close my eyes, I don't wanna fall asleep
'Cause I'd miss you baby and I don't wanna miss a thing
'Cause even when I dream of you the sweetest dream would never do
I'd still miss you baby and I don't want to miss a thing

Lying close to you feeling your heart beating
And I'm wondering what you're dreaming
Wondering if it's me you're seeing
Then I kiss your eyes and thank God we're together
I just wanna stay with you in this moment forever, forever and ever

I don't wanna close my eyes, I don't wanna fall asleep
'Cause I'd miss you baby and I don't wanna miss a thing
'Cause even when I dream of you the sweetest dream would never do
I'd still miss you baby and I don't want to miss a thing

I don't wanna miss one smile, I don't wanna miss one kiss
I just wanna be with you, right here with you, just like this
I just want to hold you close, feel your heart so close to mine
And just stay here in this moment for all the rest of time

Don't wanna close my eyes, don't wanna fall asleep
'Cause I'd miss you baby and I don't wanna miss a thing
'Cause even when I dream of you the sweetest dream would never do
I'd still miss you baby and I don't want to miss a thing

I don't wanna close my eyes, I don't wanna fall asleep
'Cause I'd miss you baby and I don't wanna miss a thing
'Cause even when I dream of you the sweetest dream would never do
I'd still miss you baby and I don't want to miss a thing

I don't wanna close my eyes, I don't wanna fall asleep
Yeah, I don't wanna miss a thing

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)