2012年11月26日 星期一

[Analog] TI Experiment Kits Manual

If you are new to analog circuits design, this manual may helps you a lot.
The Document is prepared by TI which act as a part of educations.
Different Circuit Tech and Structures are included.

http://www.mikroe.com/downloads/get/1741/analog_system_lab_pro_manual.pdf

2012年11月21日 星期三

[Hspice] Import Hspice simulation result into Matlab

In order to import thoseHspice simulation result into Matlab, HspiceToolbox can be used. details can be found from the links below:

http://www.edaboard.com/thread115394.html


n short, enter command "addpath ('C:\Users\Davison Mui\Documents\MATLAB\HspiceToolbox')" to include the Toolbox.

Second, enter command " x = loadsig('C:\Hspice\Circuit\Study\Charge pump\Simple Charge pump\simple charge pump.tr0')" to import the data.

That's all~~

Sample Matlab Code:

clear all
close all
clc;

addpath ('C:\Users\Davison Mui\Documents\MATLAB\HspiceToolbox')
x = loadsig('C:\Hspice\Circuit\Study\Charge pump\Simple Charge pump\simple charge pump.tr0')
% plot(x(10,1).data,'DisplayName','x(10,1).data','YDataSource','x(10,1).data');figure(gcf)
lssig(x)
figure;
plotsig(x, 'i_mp4');
hold on;

% % combin the value to a sum of vector
% http://www.mathworks.com/help/matlab/ref/timeseries.resample.html
i_mp4 = timeseries(evalsig(x, 'i_mp4'),evalsig(x, 'TIME'),'Name','sec');
i_mp4.time
i_mp4.data
i_mp4.getinterpmethod

% res_mp4=resample(i_mp4,[1:1e-6:max(evalsig(x, 'TIME'))]);
res_mp4=resample(i_mp4,[0:1e-9:max(evalsig(x, 'TIME'))]);
% figure;
plot(res_mp4, 'green');

2012年11月17日 星期六

[Cadence] Virtuoso/ICFB 615 Simultaion and working with Assura

Previously we have transported the UMC 65nm Design Kit from ICFB 514 to ICFB 615 and performed simulations successfully. The writer continued to explore different usage of Virtuoso.

A. Simulation with ADE GXL other than using Traditional ADE L
Traditional ADE L environment provide basic simulation function and parametric sweeping analysis.
While consider a pile of simulations as a single job, ADE GXL provide job managing to archive parallel simulation and systematic performance simulation including Monte Carl and Yield Analysis.
In simple wordings, it can simulate 8 parametric settings at the same time instead of doing them 1 by 1 to provide 8 times performance improvement.

However, this process involves VNC and Cadence provided VNC may crash and keep pending the jobs.

Solution:
Make sure you have your Xvnc and vncserver installed on your workstation.

1. Switch to the IC615 tools bin folder
$ cd $CDSHOME/tools/bin

2. Backup cdsXvnc and cdsXvncd
$ mv cdsXvnc cdsXvnc.bak
$ mv cdsXvncd cdsXvncd.bak

3. Make a symbolic link to Xvnc and vncserver
$ ln -s /usr/bin/Xvnc cdsXvnc
$ ln -s /usr/bin/vncserver cdsXvncd

Enjoy your ADE GXL with advanced simulation process

TO BE CONTINUED...