Separate password for each VNC server

The command vncpasswd allows us to set the VNC password of a VNC session used to access remote desktops. By default the password is saved in $home/.vnc/passwd file. Generally we create vncserver with the following syntax vncserver -depth 24 -geometry 1280×768 New ‘sun:1 (sam)’ desktop is sun:1 Starting applications specified […]

Installing LaTeX Packages in Local or Home Directory

A package is a file or collection of files, which provide add-on features for . Most of installations come with pre-installated packages, which are sufficient for catering the majority of our requirements. packages are stored under texmf tree, i.e., in subdirectories of texmf/tex/latex named after each package. CTAN has more […]

Cadence lockfiles

If cadence is not properly exited, it results in edit locks on cadence files that were open at the time of exiting. The lock files have extension ‘.cdslck’. After restarting cadence, we have to remove edit locks to continue further work on those files. We have two options to remove […]

Misc. Links

How To: Convert a Cadence Virtuoso Layout to an SVG / PDF / PNG image file. Creating Logos on Chips

Changing the resolution / geometry of a VNC session

You can switch your VNC session screen geometry or resolution on the fly by listing all the possible geometries of the screens you want to use in future while creating vncserver. The syntax for declaring two geometries 1280×768 and 1920×1080 is sam@sun:~$ vncserver -depth 24 -geometry 1280×768 -geometry 1920×1080 You […]

VNC Viewer or VNC Client

VNCViewer is a client viewer for Virtual Network Computing (VNC). VNC provides remote access and control of software in computers for a mix of OS like Windows, Mac, UNIX and Linux. Basically it is cross-platform tool with peer-to-peer architecture, and no agents or centralized servers in between. All most all […]

Subfigures in LaTeX

In documents we refer to figures by using “label” and “\ref” commands. If a figure is comprised of many subfigures, declare label to each subfigure and then we can refer to the subfigure labels. The main figure is referred using the label defined outside the subfigure environment. In the following […]

OCEAN Script – 2 : CMOS Inverter

This post describes how to write a ocean script to run transient analysis and save simulation results to a data file. In this example script, transient analysis is performed on a CMOS inverter. The capacitive load on the inverter is swept over a range and inverter characteristics like rise time, […]

Inset figure in MatLab 2

This post explains how to plot data in main-inset figure. In inset figure a portion of main figure data is plotted in close-up. Some people referred to it as figure-within-figure or figure-inside-figure. To plot main-inset figure, follow the steps here: Create a handle to main figure Plot the data of […]