1 / 29

Verilog -A models of building blocks

Verilog -A models of building blocks. E . Atkin , Y. Bocharov , A. Gumenjuk , A.Kluev , A . Simakov (MEPHI) , A.Voronin (SINP MSU). Outline (part 1). ADC Verilog models: Basic model features Designed models Simulation time “Black-box” model Behavioral model Model test setup

jatin
Download Presentation

Verilog -A models of building blocks

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Verilog-A models of building blocks E. Atkin, Y. Bocharov, A. Gumenjuk, A.Kluev, A. Simakov (MEPHI),A.Voronin (SINP MSU)

  2. Outline (part 1) • ADCVerilog models: • Basic model features • Designed models • Simulation time • “Black-box” model • Behavioral model • Model test setup • Model test examples 11th CBM collaboration meeting, 26.02.08, GSI, Darmstadt

  3. Outline (part 2) • CSA • Background • CSA macromodel • Frequency domain (AC) model – small signal one • Noise model • Input transistor • Time domain (TRAN) model – large signal one • Leakage current compensation • Both polarities of input pulses • Summary 11th CBM collaboration meeting, 26.02.08, GSI, Darmstadt

  4. ADC models (part 1) A. Gumenjuk, Y. Bocharov, A. Simakov The two pipelined 9 bit ADC Verilog models are presented

  5. The basic model features • Range of accuracy– how does model performance satisfy the reality? • Detailing degree – how many parameters are taken into account? • Used description tools – what simulators are needed to perform model analysis? • Required machine resources – how much time is needed to simulate the model? 11th CBM collaboration meeting, 26.02.08, GSI, Darmstadt

  6. The designed models 11th CBM collaboration meeting, 26.02.08, GSI, Darmstadt

  7. Required simulation time ADC models have been simulated on a 3.2 GHz 1Gb RAM Pentium 4 processor for receiving 4096 FFT points 11th CBM collaboration meeting, 26.02.08, GSI, Darmstadt

  8. The “black-box” model ADC is modeled as “black box”, that demonstrates the same functionality as a real one • The ideal sampling and quantization ADC functions • The actual conversion latency We describe only: 11th CBM collaboration meeting, 26.02.08, GSI, Darmstadt

  9. The “black-box” model (cont) ADC is modeled as “black box”, that demonstrates the same functionality as a real one • The model is very simple and fast for simulation • The model is very useful for early system simulation • The model is ideal and doesn’t take into account the real ADC performance The model features: 11th CBM collaboration meeting, 26.02.08, GSI, Darmstadt

  10. Verilog-A as an extension of Spice* * D.FitzPatrick, I.Miller. Analog_Behavioral_Modeling_With The_Verilog-A_Language. Kluwer Academic Publisher, 2003 11th CBM collaboration meeting, 26.02.08, GSI, Darmstadt

  11. The behavioral model ADC is modeled using a set of Verilog-A and Verilog blocks 2-bit flash ADC 1.5-bit stages Sample-and-Hold circuit Verilog-A Verilog-A Digital delay and RSD Verilog-A Verilog 11th CBM Collaboration Meeting, 26.02.08, GSI, Darmstadt

  12. The behavioral model (cont) The model takes into account a set of static block parameters and inaccuracy of ADC stage, such as: • OpAmp performance (dc gain, bandwidth, offset) • Comparator performance (resolution, offset) • Stage capacitor mismatches • Reference voltage inaccuracy 11th CBM collaboration meeting, 26.02.08, GSI, Darmstadt

  13. The model test setup Verilog-A The ADC model 9 bit digital output Ideal 9 bit DAC analog equivalent of ADC result Differential sine voltage source 11th CBM collaboration meeting, 26.02.08, GSI, Darmstadt

  14. The model test example 1 The simulated output spectrum of a 9-bit 20 MSps ADC model at Nyquist input frequency 9.77MHz input signal SNR = 56.0 dB SFDR = 68.3 dB ENOB = 9.0 bit 11th CBM collaboration meeting, 26.02.08, GSI, Darmstadt

  15. The model test example 2 The simulated output spectrum with a normally distributed capacitor mismatch SNDR = 55.4 dB SFDR = 67.6 dB ENOB = 8.9 bit SNDR = 35.7 dB SFDR = 36.0 dB ENOB = 5.6 bit σ=0.1% σ=10% 11th CBM collaboration meeting, 26.02.08, GSI, Darmstadt

  16. CSA models E. Atkin, A. Kluev (MEPHI),A.Voronin (SINP MSU)

  17. Starting point and background • CSA prototype of 2005 (UMC 0.18, IC 5.1.41 CDBA) • All we have shifted into IC 6.1 OA, but… • At the moment there are two general problems: • Officially UMC 0.18 um DKs can not be used with Cadence OA • No MonteCarlo models for 0.18 um technology 11th CBM collaboration meeting, 26.02.08, GSI, Darmstadt

  18. Prototype CSA versus CBM-XYTER specs 11th CBM collaboration meeting, 26.02.08, GSI, Darmstadt

  19. 2 reasons of the need for higher levels of abstraction to describe analog circuits 1. A need for higher-level models, describing the pin-to-pin behaviour of the circuits, rather than the internal structural implementation 2. A need to allow a full simulation of the entire mixed-signal design, being usually a computationally too complex

  20. Different Analog Hardware Description Levels G.Gielen, R. Rutenbar Computer-Aided Design of Analog and Mixed-Signal Integrated Circuits Proc. of IEEE, vol.88, no.12, 2000 11th CBM collaboration meeting, 26.02.08, GSI, Darmstadt

  21. Description Analyses Large-signal module definition Time domain – main type DC transfer curve AC small-signal Other…

  22. Parameters of interest Gain Integral Noise Large signal non-linearity DC accuracy Power consumption External interfaces to detector and back-end Crosstalks Detailed noise (1/f, parallel, serial) Programmability (peaking time, biasing) Detailed substitution circuit for multistrip (including double sided) detector interface

  23. Model elaboration flow Transistor circuit Qualification of parameters and characteristics Higher Lower Yes Functional modelling No Yes Simulation time / complexity Behaivioralmodelling Type of model Abstraction level No Yes Macro modelling Lower Higher No

  24. Feedback splitting Gain=800 F-3db=1e5 rmsNoise=400e-6 Gm=1uA/V F-3db=1

  25. AC small-signal model(simplified example) `include "discipline.h" `include "constants.h" module vccs(iout_p, iout_n, vin_p, vin_n); input vin_p, vin_n; output iout_n, iout_p; electrical iout_n, iout_p, vin_p, vin_n; parameter real gm = 3.8m; analog I(iout_p, iout_n) <+ gm*V(vin_p, vin_n); endmodule module vcvs(vout_p, vout_n, vin_p, vin_n); input vin_p, vin_n; output vout_p, vout_n; electrical vout_p, vout_n, vin_p, vin_n; parameter real gain = 0.79; analog V(vout_p, vout_n) <+ gain*V(vin_p, vin_n); Endmodule module res1(vp, vn); inoutvp, vn; electrical vp, vn; parameter real r = 270K; analog V(vp, vn) <+ r*I(vp, vn); endmodule module cap1(vp, vn); inoutvp, vn; electrical vp, vn; parameter real c = 3p; analog I(vp, vn) <+ ddt(c*V(vp, vn)); endmodule module res2(vp, vn); inoutvp, vn; electrical vp, vn; parameter real r = 1G; analog V(vp, vn) <+ r*I(vp, vn); endmodule module cap2(vp, vn); inoutvp, vn; electrical vp, vn; parameter real c = 200f; analog I(vp, vn) <+ ddt(c*V(vp, vn)); endmodule module preamp(in,out,gnd); input in; output out; inoutgnd; electrical in, out, gnd; vccsVCCS(.vin_p(in),.vin_n(gnd),.iout_p(net_inter),.iout_n(gnd)); res1 R1(.vp(net_inter),.vn(gnd)); cap1 C1(.vp(net_inter),.vn(gnd)); vcvsVCVS(.vin_p(net_inter),.vin_n(gnd),.vout_p(out),.vout_n(gnd)); res2 R2(.vp(out),.vn(in)); cap2 C2(.vp(out),.vn(in)); endmodule 11th CBM collaboration meeting, 26.02.08, GSI, Darmstadt

  26. AC Noise model (simplified) • E1noise – sum of leakage currents, existing on the preamp input ~eI (shot noise) • E1noise serial noise 1/F+4kTReq • Enoise of R13 4kTR13 • I2noise shot parallel noise of FB (1/F?) • Enoise_fb noise of active FB 1/F^n+4rTRact • Isig – signal source 11th CBM collaboration meeting, 26.02.08, GSI, Darmstadt

  27. Large signal model (example) Modeled are: Gain, Small-signal AC response Pos. and neg. clamps, Consumption 11th CBM collaboration meeting, 26.02.08, GSI, Darmstadt

  28. Required simulation time CSA models have been simulated on a 2.4 GHz 1.5Gb RAM Pentium 4 processor for passing 1us TRAN analysis 11th CBM collaboration meeting, 26.02.08, GSI, Darmstadt

  29. Summary and Outlook • Written are, but not shown here, Veilog-A code for relevant blocks (CSA and ADC) • Designed are very simple Verilog-A ADC and CSA models for fast System simulation • Also designed are behavioral ADC and CSA models, taking into account some static inaccuracies • It is planed to advance the models for raising their accuracy (e.g. considering the dynamic ADC nonlinearity, CSA large signal behavior and detailed noise modeling) • Also it is planed to prototype the ADC. GDSII file is ready and waiting for the MPW (miniASIC) chance. 11th CBM collaboration meeting, 26.02.08, GSI, Darmstadt

More Related