Friday, May 30, 2008

For the memories.

In Dharwad between 23-25. If good times are not for memories then what are they worth for?

Some of the incidents and things I wanted to note:

- Friend's recollection of his experience when he had to travel second class in a train to reach Bangalore. It was when he was running thru some sort of crisis, which can better remain untold here. His field of work and education is very unlike mine and the rest of us (IT graduates). And so are the difficulties that he comes across... Will have to keep an eye on the development of his future. His experiences make for a good caution for the future and an emotional hard lesson to preach and remember. (If life is not about the reiteration of difficult experiences and surviving thru it, then what meaning does the statement 'My Life' highlight?)

- A night's bachelor party under the candle on a tree top. This tree top hotel was our adda during B.E years. The same tree which must have heard love disappointments and failures all thru those days, now had a different story to listen. Courtesy my friend. The tree is happy. So are we. The party rasied the spirits and we raised the spirits to his future. (Without the high spirits what is it worth partying about?)

- Drive back home after the party on Pulsar. Every time I drive Bajaj Pulsar, I seem to like it even more. Driving at close to 100kph on the road during mid-night gave me a double high. An experience of thrill, when life and death seem just a thin line away, was exhilarating. I somehow feel that the time has come for me to face more such thrilling experiences. But the troubling question that hogs my mind is: Am I ready? (If ever I say that I know I am ready - then its time I kill myself... or somebody shoot me!)

- Homa
performed at the friend's place. There were answers to be found and so powers had to be called and sacrifices had to be made. The fire and the chantings, the seeking and the blessings, all had an inexplicable effect on me - for whatever it is worth. If not for me, at least for the concerned. Interestingly, soon after this ritual performance, the TV newsmen were reporting a huge lead to BJP in the Karnataka elections. BJP's victory was assured. (If religion is not for the victorious then what is so victorious about the religion?)

- Pretty chicks in the town. They had to be seen than told. (What is it called for what can be seen but cannot be explained about? A Woman's face(?))

- When sitting in the train, thinking about the re-born feeling of love, I realized that I've no notion of what love is. But do somebody else know? If I've to know, then I've only one thing to do- to fall madly and deeply in love. And bear the consequences it brings. But if only I'd first the courage to say: I love you. (Does she love me?)

-*-*-*--*-*-*--*-*-*--*-*-*-

Thursday, May 22, 2008

Specman Unit

What is the type or object type of "sys" in specman?

Specman language (or also called 'e' language, are often used interchangeably) has two main building blocks - "struct" and "unit" (both here are keywords.)  While struct is similar to structure in C, unit is specific to Specman.

What necessitated the creation of unit as another building block for specman? This is another way of asking the advantages and disadvantages of struct and unit. The features of struct is more flexible and efficient than the unit, it so appears that unit is not necessary. How?

"Sys" is something similar to main() function in C. So this is the very first pre-defined object that is generated and executed as the simulation starts.

"Sys" is a pre-defined unit and cannot be a struct because it cannot be used as a dynamic object, that is, it cannot be created or generated on the fly. This is automatically called by the specman at the very beginning of simulation. If it is a struct, then "sys" can also be generated on the fly from within the middle of the code, which, theoretically, should re-start the simulation. This is an impossible situation in hardware verification. Also, this defeats the very purpose of using unit as static objects.

What are static and Dynamic objects?

Dynamic objects can have lifetime shorter than the whole simulation period, while static objects have a lifetime equal to the simulation time. According to this, structs are dynamic objects and units are static objects. So "sys" is a static object which is generated when the simulation starts and killed only when the simulation ends.

So, a static object like 'unit' was required in Specman because of a need to be constantly in connect with the DUT interface (and also with scoreboard.) So, unit can be accessed as a repository of data by other entities inside the program (for eg., thru get_enclosing_unit().) This necessitates the need for unit as a static object inside Specman.

Together with dynamic object such as struct, memory can be efficiently used in random verification with Specman.

I found more such questions and answers on Specman here.

-*-*-*-*-*-*-*-*-*-*-*-*

del.icio.us Tags: ,

Monday, May 12, 2008

My First Post

I am trying to find the means to satisfy my fondness for writing. In here, I'd like to write all about the random things and random thoughts that I come upon in life.

There is no particular agenda or something that I want to maintain on this blog. Whenever I hit upon an idea, be it in technical subjects, relationships, politics, economics or anything, all that will find a place of digital permanence here in my words.

This place is just to satisfy my urge for writing.


Powered By Blogger