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 […]

OCEAN Script – 1 : MOS Transistor Characterization

This post provides a sample OCEAN script for MOS transistor characterization. The script is divided into Simulation setup and Run commands and Data access commands. In general Simulation setup and Run commands are common for most of the scripts with minimal deviations, whereas are Data access commands are design or […]

OCEAN Scripting : Basic SKILL Functions

Following are some of the basic SKILL functions, that are extensively used during scripting. ocnWaveformTool() Sets the specified tool as the waveform tool for the current session Syntax: ocnWaveformTool(s_waveformTool) s_waveformTool: awd or wavescan Example: ocnWaveformTool(‘awd)   simulator() Starts an OCEAN session and sets the simulator for that session Syntax: simulator(s_simulator) […]

OCEAN Scripting : Getting Started

OCEAN is an acronym for Open Command Environment for ANalysis Uses the Cadence SKILL language to configure the design environment When to use OCEAN? The basic settings required to perform initial simulations can be done through GUI of Analog Design Environment(ADE). OCEAN scripting is quite useful, when Running simulation across […]

Extract pages from or merge files into a pdf file in Ubuntu

Using pdftops and ps2pdf To convert pdf to eps file pdftops -eps filename.pdf Converts filename.pdf to filename.eps if there is only one page To extract few pages from a pdf file pdftops -f fpn -l lpn filename.pdf – | ps2pdf – filename_ext.pdf Extract pages from fpn to lpn in the […]

Environment variable in bash or tcsh

The syntax for setting an environment variable under UNIX/Linux depend on the shell that you are using. The syntax for bash/sh shell is export <variable name> = <variable name>:<new value1>:<new value2> For tcsh/csh shell set <variable name> = (<variable name> <new value1> <new value2>) You can set the environment variable […]

Handling graphic files from a common directory in LaTeX

I always prefer to place all graphic files under a common directory, for example GraphicsDir, because it is the easy way to manage graphic files at one location and can be reused in multiple reports. But in latex documents we use includegraphics command to include images in the document. The […]