Wednesday, November 3, 2010

NC Verilog : Representing digital simulations in an Analog way

After many hours of research and meticulous reading. Finally we could represent digital simulations in an analog way in Cadence, NC Verilog simulator.

Select the trace you want to show as Analog
Go to the "format" menu, select "trace", and then "Analog / Sample + Hold"

You may not see what you expect at first, but go over to the right hand side of the trace, and click on the little icon that looks like a box, and it will then display all values - you can adjust how it looks at the left hand side of the trace by click/dragging the red line - it will stretch it out in the y direction.
Still does not make sense try minimizing the waveform/ fit in the window in the simulator i.e. "=" and that should do the trick. 

Virtuoso: Steps for mixed signal simulation

Aim of this is to guide entry level engineers/ curious people to get started with Mixed signal simulation using Virtuoso environment
Note: 'à' stands for --> in this document.

a)      Virtuoso &
b)      Tools  à Library manager

Creating new Library can be done through
1)      File à new library
Note: You will be prompted to give the directory path at which the library will be created
2)      Dialog box: Technology file for trial library
Click on à Do not need process information and click okay

To copy some digital cells into the new created library
The best way to do that will be
1)      Go to the library whose cell needs to be copied
2)      Copy the cell or the view which you would like to copy. You can do this by simply right click and copy
3)      A dialog box will prompt you to give the library where u would like to copy the new cell/view files
4)      Press okay
5)      Copy problems à Check the message window for files and make a decision if you need to over write the files if they already exist during this process à Click on fix errors /Overwrite all and then press okay
6)      After copying all the desired verilog views
7)      This step is required only if we have copied views from another library. Double click on the schematic à Click on the copied view and press Q à Library name should coincide with the present working library name

Create new Config file
1)      Create the config file. File à New à Cellview  press okay
2)      New drop down menu Select view à Schematic à click on Use template à Select from drop down menu AMS
3)      Save

To populate a library with verilog cell views hierarchically from a verilog text file
Note: For populate you have to be in the config view.
            This step is important for viewing the signals through a hierarchical way/ internal signals.

1)      Populate à File Populate à
2)      From Section à Browse to the path of the top level verilog file
3)      To Section à From the drop down menu select the New Created Library
4)      View à Verilog e.g. instead of module
5)      Tick on the update library list
6)      Click on the Update icon in the config view
7)      Save all the changes made

To run the simulation
1)      Double click on config
2)      Dialog box will emerge à yes for configuration and top cell view
3)      Schematic editor window click Launch à ADE L
4)      Simulation window, Setup à Simulator à AMS
5)      Simulation window, Analysis à Stop Time to be specified
6)      Simulation window, To view the outputs: Go to à Select from HED for hierarchical digital signals / Select on schematic for available signals to be probed

Thursday, September 30, 2010

NET "SYS_CLK" CLOCK_DEDICATED_ROUTE = FALSE

FPGA error while implementing

Place:1012 - A clock IOB / reset_n component pair have been found that are not placed at an optimal clock IOB / reset site pair. The clock component is placed at site . The clock IO/ reset site can be paired if they are placed/locked in the same quadrant. The IO component is placed at site . This will not allow the use of the fast path between the IO and the Clock buffer. If this sub optimal condition is acceptable for this design, you may use the CLOCK_DEDICATED_ROUTE constraint in the .ucf file to demote this message to a WARNING and allow your design to continue. However, the use of this override is highly discouraged as it may lead to very poor timing results. It is recommended that this error condition be corrected in the design. A list of all the COMP.PINs used in this clock placement rule is listed below. These examples can be used directly in the .ucf file to override this clock rule.
< NET "SYS_CLK" CLOCK_DEDICATED_ROUTE = FALSE; >

CLOCK_DEDICATED_ROUTE (Clock Dedicated Route)
The CLOCK_DEDICATED_ROUTE (Clock Dedicated Route) constraint:
• Is an advanced constraint.
• Directs the tools whether or not to follow clock placement rules for a specific
architecture.

If the constraint is not used or set to TRUE, clock placement rules must be followed.
Otherwise, placement will error. If the constraint is set to FALSE, it directs the tools to
ignore the specific clock placement rule and continue with place and route. If possible,
all clock placement rule violations should be fixed in a design in order to ensure the best
clocking performance. This constraint is intended to be used only in limited situations
when it is absolutely necessary to violate a clock placement rule. For more information
about specific clock placement rules, see the Hardware User’s Guide.

Architecture:
Applies to FPGA devices. Does not apply to CPLD devices.

Thursday, March 4, 2010

Palak for Bachelors

I thought of making Palak today.
I do not like the color of Palak and also had a bitter taste sometimes.

Curious about can I do some thing good and eat healthy. So tried making Palak after taking tips from wife Nija.
This blog is a testimonial for making good palak which tastes good and is also healthy.

The purpose of writing this is for people who are bachelors/ married like me and Nija but still staying apart but would like enjoy a healthy meal sometimes :)
Secondly who want to prepare healthy food but fast.
Thirdly get confused with a long list of things required for preparing palak. 

Ingredients required for making great Palak gravy (This is for 2 people only)
Essential
* Palak i.e. 3-4 bunches
* Onion i.e. One and half onion finely cut
* garlic i.e. 3 peaces finely cut
* Tomato i.e. 2 is ideal
* Chilli powder i.e. half spoon will be fine
* Salt i.e. as per taste

Nice to have ingredients are
* Indian spices
* Jeera
* Paneer (if you want to make Palak Paneer or a fan of Paneer)

Note: To prepare Palak in 20 minutes you need two gas burners
a) Burner 1 On one burner after washing the palak boil it for 2-3 minutes
Note: Stem of the palak should be avoided.
b) Burner 2 Add 2 teaspoon of oil, make use of Indian spices and Jeera right now and let it fry for some time. Or directly move to Ginger.
c) In the mean time cut the onions and add to the Ginger paste with some salt.
d) Let the onions become brown.
Note: Its best to keep the gas burner slow at this stage.
e) Remove the palak which is cooked and then use the mixer to make a thin paste
f) Till the onions become brown please cut the tomatoes. Tomatoes should be finely chopped if possible.
g) Add the tomatoes to the brown onions with some more salt.
h) Add some red chili powder (This depends on how spicy you want to have the curry)
h) Add the grinded Palak to the onions and the tomatoe paste.

Optional if you have /like paneer
i) Add paneer/ cheese to Palak with some cream and make Palak Paneer.

Its quite simple and ready to eat in 20 minutes
One of the book says the best way to reduce weight is to eat food fresh :)
Note: Food cooked 3 hrs before is still considered fresh as per the book

Problems of employment and how to tackle them

This blog only covers what to do when you do get cheated by the employer and what are the UK government employment policies and process.

This blog does not cover information on
a) Hours of work
b) What should be the pay
c) How to avoid exploitation

My personal experience is that asian employers exploit you the most. I am sure there will be exceptions on this and it is not the rule of thumb.

I have always come across situations where people try to exploit and misuse the process which is actually meant to improve the quality of our life.
The most common of all are
a) Do not pay for the number's of hours worked
This is very common in the service industry. I have always seen student's who come to the UK are exploited a lot or they want to be exploited. They give them more hours to work but do not pay the minimum wages. This is a win win situation for the employer and the employee.
Note: This is against the law :)
But there are instances that you work and still do not get paid. In such instances we should fight for what is unfair. According to me employer and the employee both are breaking the law. Employee is breaking the law by not reporting this atrocities and employer is misusing his position.
b) Misuse of the timesheets
This is also one of the common things employees misuse. Its always good to keep a record of time we have worked if you are paid on hourly basis. Though punching cards/ electronics machine has helped in solving this issue.
c) Racial abuse and mistreatment
This is one of the most disgusting thing I feel in life. Mostly this happens when people take the other person for granted. Report it to the concerned authority.

Legal process
In UK any Employment issue should be brought to the notice of employment tribunal within a period of 3 months after the incident has happened.
Claims regarding number of hours worked, racial abuse, employment issues should be reported soon as possible/ three months before the incident has occurred.

There are a lot of Solicitors who work on this issue. Most of the problems are resolved once you sent a legal notice to the employer. Its very important that a legal notice is served to the person/ company.
Attorney charges are around say 200/ 250 quid. There are some attorney's who do it for free for you as they recover the charges from the other client.

Some of the attorney who work on employment issue is 
http://www.tribunal-online.com/

http://www.employmentlaw.co.uk/

Note: Once the legal notice is served Employer will try to negotiate and try to take time so that they cross the 3 months period. This is a common mistake done. Legally employer has an advantage if you fail to inform the employment tribunal before the 3 month period.

Whizzman Ltd is a company in UK which according to my experience exploits people of asian origin. They operate a restaurant at Walthamstow, London by the name "Indian Bristo".
PWC Solicitors, Illford represent Whizzman Ltd in their wrong doing and negotiations.

Tuesday, February 16, 2010

Analysis on Mobile Processor: Who will be the winner



The focus of this blog is to analyze the companies competing in the mobile processing market which company will be the dominant force and why.
The 2 main companies which we are trying to analyze here are Intel Inc, USA and ARM Plc, UK. 
Intel's focus has always been performance.The other great thing about Intel is that it stands on to the challenge. Intel after trying to stabilize its monopoly in the high end processor market is trying to focus on the mobile processing. This is an area where it sees a lot of potential.  
The concern for Intel is ARM's strength in low-power consumption and the ARM’s ambitions to enter the net book market. The average consumer drives processing power to meet lifestyle, computing needs is now available on mobile phones and other mobile Internet devices such as net books. 

ARM Plc is a Cambridge, UK based firm its focus from the start has always been making products which consumes less power and this is what it has been doing for quite some time.
Year 2009, Intel has shift its competitive focus from AMD and gearing onto a new but comparatively smaller competitor i.e. ARM. ARM's entry into the net book market which is dominated by Intel/ Is it Intel's entry into mobile processing business that has dominated by ARM.
It's not about who is the culprit, the question is who will thrive and come out victorious.
 
At the heart of all smart phone is a powerful application processor. The processing power of this part rivals the CPU power that was available on mainstream computers only a few years ago. Today, ARM enjoys a 98% share of the application processor slots in smart phones. In addition, a variety of communication, connectivity chips from ARM ecosystem partners are the driving force behind the versatility of smart phones.

The strong points which lie in favor of ARM are
a) ARM has applied the philosophy "United we stand, Divided we fall". We can clearly observe this with its strong ARM community with ARM helping various companies develop new products and trying to win new market's and make new application using ARM's low power processors. ARM is trying to build an ecosystem with the help of its partners. It is a symbiotic relationship that exists only due to the fact that ARM product's at the moment are well suited for the mobile industry due to its performance, power and area. 


b) The Semiconductor Industry on the other hand wants to break Intel's monopoly. The whole industry is betting on ARM. Its better to work with ARM and it's community than to have fierce competition with Intel. This can be seem with Samsung adopting Mali Graphic processors architecture from ARM Plc for its future graphics-enabled system-on-chip (SoC) ICs as well as for its ASIC and foundry business. In the past Samsung has used the PowerVR range of graphics processor cores, which it licensed from Imagination Technologies Group plc (UK), with success in such applications as the Apple iPhone. The close coupling of both the mobile computing and the graphics processor technologies will provide optimized system performance

c) Majority of the companies which build platforms for the cellphone market are already been making use of ARM in its processor. ARM has already proven itself in the cellular business with it's low power processors. Secondly ARM's competitors have failed to produce reliable processors which could disturbe ARM's monopoly in the market. 

d) ARM's business model involves designing and licensing on IP rather than manufacturing and selling of actual semiconductor chips. ARM IP design to create and manufacture system on chip designs, paying ARM a license fee for the original IP and a royalty on every chip or wafer produced. ARM business model is more flexible to develop platforms. IP licensing is also benefiting ARM at the present. 

e) ARM has also been seen co-operating with Global Foundaries to tackle Intel's dominance in mobile computing by delivering ARM chips performing 40% better with no increase in power.
Overall the ARM-Globalfoundries deal is aimed at delivering a 40% increase in computing performance, a 30% decrease in power consumption, and a 100% increase in standby battery life at the 28nm node. ARM has established strategic relationships with other members of the IBM Joint Development Alliance to enable the development of optimised processor and physical IP tuned to the HKMG process.This phenomena is not only restricted to battle between ARM and Intel. But the war has been extended between Intel foundaries and culmination of various Foundries i.e. TSMC/ UMC/ SMC/ Global foundries.

f) AMD will also come in strong and distract Intel from it's venturing into mobile processing market as it has done in the past. 

g) Customer are being more aware of green products. Its been a global phenomena and every person in this world would like to be part of it in the future. We would like to be a part of the green planet and reduce our carbon emission. ARM products are best suited when it comes to battery life and overall reducing its carbon footprint.

Drawback for ARM and its community is that
a) Intel still is number 1 semiconductor company and that is backed by strong Research and Development and a very strong cash flow.
b) Companies like Apple would like to have competition which will help them to negotiate and keep costs in check. Apple would definitely want more competition to keep price, performance and power aspects in check.
c) Processors from MIPS has also seen to be a driving force in the smart phone market.

d) Intel due to its strong cash flow eventually has the capability to acquire ARM.

Thursday, February 4, 2010

Analysis: Apple's Business and what's Inside Apple's A4

All engineers would like their design to be a part of a successful product line.
Apple products are the best for their innovative and radical approach towards design.

At the heart of the apple ipad lies a tiny Silicon which is called the brain of the device. A decision maker and a support for all innovations. Thats Apple's A4 a system-on-chip (SoC). A SoC is a combination of Graphics processing unit (GPU), a low- power CPU, memory, and other peripherals.

Apple's Macintosh used to work on Motorola/ Freescale CPU. When Motorola/ Freescale failed to deliver with a high performance CPU it turned towards IBM and then later to Intel. Apple's Macintosh has used Intel processors till now.

Today, Macs remain beholden to Intel's specifications. If Intel can't keep pace, Apple will have to find yet another vendor for CPUs. But now, with the iPad's A4, Apple has demonstrated a new option: It has the ability to take existing designs and re purpose them to give its own products better performance than the competition.

It's extremely unlikely that Apple could leverage ARM architecture for the Mac, as those processors are specifically made for low-power devices, not high-performance workstations or general computing.

With the launch of custom SoC, Apple has clearly indicated that Apple believes in control over its products in every aspect.

If you look at the battery life they're talking about, the i-pad is bigger than the iPhone but it seems like they've done a better job with battery life.

Since "almost all" existing iPhone applications will run on the iPad, it's more likely that Apple is continuing to use upgraded versions of the same graphics cores present in the iPhone, which were created from designs licensed by Imagination Technologies, based in the U.K. But Apple owns just under 10 percent of the company and all iPhone touch models use Imagination's PowerVR MBC family of graphics cores.

A highly integrated SoC like the Apple A4 would take at least 12 to 18 months to design, debug, and manufacture, however, making it unlikely that P.A. Semi (Acquired by Apple) engineers designed it from scratch.
This makes it even more likely that the A4 chip is made primarily of designs that closely match existing ARM cores. Apple would have had to move awfully fast to design its own

ARM-compatible core and the A4 SoC in so short a time. That's why I think the A4 is built on existing cores from ARM.

Another "evidence" for an Arm based processor: the name A4 may stand for Advanced Apple Arm Architecture. The final question arises what will A5 SoC stand for ?

Inside Apple A4 may have amalgamation of these
CPU - Samsung core based on ARM i.e. Cortex A9 multicore CPU for low power.
GPU- Imagination Technologies for "deferred rendering"/ ARM Mali GPU
Memory- Samsung
Wireless chips- Broadcom

Apple clearly indicates that it want's to give the best into it's products, believes in control over its products in every aspect. It also signifies it understand its users and want to build custom specific Silicon and manage costs at each level.