2012年6月24日 星期日

Reset linux Root Password

My boot loader is GRUB (see LILO boot loader below)

)Following is the procedure to reset root password if you are using GRUB as a boot loader:
  1. Select the kernel
  2. Press the e key to edit the entry
  3. Select second line (the line starting with the word kernel)
  4. Press the e key to edit kernel entry so that you can append single user mode
  5. Append the word Single (or letter S) to the end of the (kernel) line *need space bar to separate the word single with original command*
  6. Press ENTER key
  7. Now press the b key to boot the Linux kernel into single user mode
  8. type "passwd" command to reset password:

My boot loader is LILO

At LILO boot loader type linux single and press [ENTER] key:
Boot: linux single
When you get the # prompt you will need to type passwd root to reset password:
# passwd
Reboot system:
# sync
# reboot



Reference: http://www.cyberciti.biz/faq/linux-reset-forgotten-root-password/

2012年6月19日 星期二

[Cadence] ICFB Installation Script Template

http://gvitalie.blogspot.hk/2009/10/setting-cadence-environment-variables.html
https://intranet.ece.cornell.edu/computing/kb_articles/kba_detail.cfm?article_id=53

Cadence內Virtuso的Hotkey list




[Cadence] "cds_alias" can't be resolved

Issues:
While using AMS with verilog, it may involve component "basic:cds_alias".
You may not find "basic" library during Simulation and cause error like:
"... cds_alias ... can't be resolved..." or " ... basic ... illegal"

Solution:
First of all, make a soft link to "basic" library in your icfb directory


ln -s /vlsi/cadence/IC5141USR5/tools/dfII/etc/cdslib/basic .

lrwxrwxrwx  1 khwong khwong   52 2012-06-18 15:16 basic -> /vlsi/cadence/IC5141USR5/tools/dfII/etc/cdslib/basic

and modify your cds.lib as follow:

#   DEFINE basic $CDS_INST_DIR/tools/dfII/etc/cdslib/basic
define basic /your_icfb_dir/basic #soft link to "basic"

[UMC130] AMS Simulation Error with umc130mmrf after Extraction

Issue:
After Layout and RCX with "UMC 130nm MMRF", they will use the cell: "pcapacitor" & "presistor" to represent parasitic components.
By default, they will be represented by "umc13mmrf:presistor" & "sample:pcapacitor"
(As CDS sample library also got "pcapacitor)

They are alright with Spectre Simulation (Pure Analog)
Unfortunately, these components don't have AMS (Mixed-Signal) Simulation Source and report:
... presistor ... can't be resolved


Solution:

Use default resistors and capacitor model provided by "analogLib". This can be done according to the setting below:
Corrected Setting
Make sure you don't have components called "res/cap" in other library. (Although I don't suppose someone will do so.)

[Cadence] Library error on 64-bit System

Cadence Tools default you are using 32-bit system.
They can't allocate 64-bit library and cause creepy Errors.
Usually they Generate Error with

" ELF64 " or " * ELF *"

You can force Cadence to Use 64-Bit Library object by adding follow to
~/.cshrc or ~/.bashrc

csh: setenv CDS_AUTO_64BIT ALL
bash: export CDS_AUTO_64BIT=ALL