Friday, September 7, 2012

Have faith in engineering and invest in technology – the numbers will follow

"Our progress is built on a simple principle: have faith in engineering and invest in technology – the numbers will follow - James Dyson"

It is really important for ordinary people to understand. Manufacturing, production, innovation and entrepreneurship are the life and blood of any economy.

Only through economic success then only can all the people enjoy  the benefit. What is enjoying benefit , is enjoying healthcare, enjoying living and having a prosperous life. 

I think every government should embed in the culture of the country that government can only perform only if its citizens can perform. The citizens should also understand that as a citizen we can enjoy the benefits of the system is only if we perform.

There can be free service for some people but it is not possible to have free service for all the people.
There cannot be this possibility. There has to be people who make an effort.

To be more clear let me give you an example of a joint family.
To be honest joint family is really nice. There are so many benefits of staying together. When you are a child you can enjoy staying with your cousins playing with them and spending quality time with them. The backbone of the joint family is also to have everyone stay united and be with each other and help each other. 
The concept of joint family is everyone helps everyone. 

The problem arrises in a joint family is when some people take things for granted and stop doing things for the family. Stop helping the family, stop providing for the family. This is when the real problem arrises. The problem is where team spirit is gone. Family come first. 
Issue arrises when you think you will be better off when you are allone. You will be better off when you start staying independently. You ignore the benefit of a joint family and start thinking that you will be better off going all by your own.

This mainly happens when an individual person in the joint family is doing well. But think about if for any point of time. He was not doing well. He would have thought it is nice to be in a joint family as my extended family will take care of me. 

This is also applicable to nations and now the Euro zone countries as well. 
To enjoy prosperity and benefits all or majority of the people have to work to provide for the rest privileged.

I think governments can only work if there are enough and sizable economic development, support and growth. 
Public service is achieved best when there are benefits of economic success.
Economic success is possible through large scale employment and investing in science, technology, production and growing all home grown industry.


Tuesday, September 4, 2012

vhdl use entity : vhdl top and verilog modules



         use entity pvrlib.spi_vcomp(module);
                          |
ncvhdl_p: *E,SELLIB (/user/kxa/work/spi_testing/main/spi_master_slave_test.vhd,1113|26): unit (spi_vcomp:module) not found in library (pvrlib).
        errors: 1, warnings: 0
irun: *E,VHLERR: Error during parsing VHDL file (status 1), exiting.


Whats New in '93

In VHDL-93, an entity-architecture pair may be directly instantiated, i.e. a component need not be declared. This is more compact, but does not allow the flexibility of configuration.
DIRECT: entity HA_ENTITY(HA_ARCH) port map(A, B, S, C);
In VHDL-93, a configuration specification for a component (or instance) may legally be overridden by a configuration declaration for the same item. This was not allowed in VHDL-87.


If you are using legacy code i.e. vhdl 87 and the top level files are trying to call some verilog modules. In

VHDL 87 used to use configuration but vhdl 93 do not require configuration to be used. Accept use the switch -v93 when using irun from cadence
------------------------------------------------
for all: sip_mm
use entity work.sip_mm(module);
end for
------------------------------------------------

Samsung following the technology

As patents become harder to define, afford and defend, many manufacturers think it is fair game to copy intellectual property.

Samsung defended its smartphone by saying it was “following the technology”. This is like telling the police that you were speeding to “follow the flow of traffic”. You are still breaking the law.


Monday, September 3, 2012

VHDL IO



• VHDL 1993
– file infile: text open read_mode is “inputdata.txt”;
– file outfile: text open write_mode is “outputdata.txt”;


VHDL 1987
– file infile: text in is “inputdata.txt”;
– file outfile: text out is “outputdata.txt”;

More information on file i/o is on the website
http://people.sabanciuniv.edu/erkays/el310/io_10.pdf

Denali Model Issue "Unable to load dynamic library"


The error reported was :-

irun: 10.20-s100: (c) Copyright 1995-2011 Cadence Design Systems, Inc.
TOOL: irun 10.20-s100: Started on Sep 03, 2012 at 15:30:19 BST
irun
-r S*_S*_TB
-gui
ncsim: *W,NOCIFDLL: Unable to load dynamic library: libfmi.
OSDLERROR: .
ncsim: *F,NOLIBT: foreign library 'DenClib: flashLeapfrog' (for @pvrlib.at25df321(behavior)) not found.
TOOL: irun 10.20-s100: Exiting on Sep 03, 2012 at 15:31:11 BST  (total: 00:00:52)

We were not able to get rid of the error by using a -64bit option in irun(i.e. cadence simulator)
Compile with cadence -64bit and also run with -64bit option.
Typical command would look like:
irun -64bit -r S*_S*_TB -gui

Steps to work with Denali 
a) Register yourself with Denali.
https://www.denali.com/
b) Once registered search for the denali model. The link is also given below.
https://www.denali.com/en/ememory/search/search.jsp?action=search&query=&button=Search&category=0&sizeMin=0&class=0&sizeMax=1099511627776
c) Once a soma file is downloaded/ you get the soma file by email.
d) Convert the soma file into vhd file
Steps for doing that

1) Setting the denali software
module load denali/3.3.011
2)
pureview &
3) 
Click open soma option in the pureview software
4)
Another window will open up 
5)
Then go to options --> Simulation Environment --> Cadence LeapFrog/NC VHDL
6)
Then go to the source in the same window
7)
Then go to File --> Save as sources --> Name of the file you would like to save this file as.


What does a soma file have
http://en.wikipedia.org/wiki/Soma_File