Thursday, June 24, 2021

design procedure for ADPLL parameter determination

System design procedure for Type-II second-order ADPLL 

Reading the following reference, learn how to analyze the ADPLL. There is an error in calculating the resistor of the loop filter. It was corrected in the matlab code.

[1]
V. Kratyuk, P. K. Hanumolu, U.-K. Moon, and K. Mayaram, “A Design Procedure for All-Digital    Phase-Locked Loops Based on a Charge-Pump Phase-Locked-Loop Analogy,” IEEE Transactions on Circuits and Systems II: Express Briefs, vol. 54, no. 3, pp. 247–251, Mar. 2007, doi: 10.1109/TCSII.2006.889443.

For better learning and understanding the publication, I created a mindmap reference and matlab code. 

  • Mindmap Reference and Matlab code: Download Link (send email to me to ask for the password)


PFD gain calculation

image-20210706104130460

 

image-20210706104145548

Monday, June 7, 2021

Simulink model of Scrambler and Descrambler

Scrambler often referred as randomizer basically removes long stream of zeros and ones from the data. It is used in wireless transmitter and receiver chain. Descrambler is the reverse operation.

image-20210607220054668

Link: https://wwr.lanzoui.com/iwlVxpxtk6d

Zip file is password protected. Please send an email to asic at asicedu.com for asking.

Thursday, June 3, 2021

HSCPIE Files Explanation

HSPICE Major Files Explanation

Input files:

  1. netlist source: filename.sp
  2. initialization: hspice.ini
  3. design configuration: filename.cfg

Output files:

  • run status: filename.st0
  • output listing: filename.lis
  • graph data files
gRAPH DATAANALYSIS RESULT
*.tr0transient
*.sw2dc
*.ac1ac

in general, you only need to know about some of these files: source file, output listing, and graph data.


source file (.sp)

The source file contains your circuit description and all options and analysis setup.

image-20210603122255308

 

For example:

image-20210603122319480

Output listing(.lis)

This is one of the most important files in HSPICE as this file lists all results obtained from the simulation. This file contains (in order of listing in the file):

  • HSPICE licensing information
  • Listing of the circuit
  • Results form the analysis of the circuit (.op, .print, .plot, .measure, .ac, and .tran in order of their appearance in the source file)

reference: Files (columbia.edu)