CRKIT R5 Clock Architecture WINLAB – Rutgers University June 13, 2013 Khanh Le.

Slides:



Advertisements
Similar presentations
Xilinx Virtex-5 FPGA Clocking
Advertisements

Digital RF Stabilization System Based on MicroTCA Technology - Libera LLRF Robert Černe May 2010, RT10, Lisboa
Chapter 9 High Speed Clock Management. Agenda Inside the DCM Inside the DFS Jitter Inside the V5 PLL.
Analog Devices FMCOMMS1-EBZ WINLAB – Rutgers University Date : April 22, 2013 Authors : Prasanthi Maddala,
Reconfigurable Computing - Clocks John Morris Chung-Ang University The University of Auckland ‘Iolanthe’ at 13 knots on Cockburn Sound, Western Australia.
09/06/2015T. Evartson1
IO Controller Module Arbitrates IO from the CCP Physically separable from CCP –Can be used as independent data logger or used in future projects. Implemented.
7-1 Digital Serial Input/Output Two basic approaches  Synchronous shared common clock signal all devices synchronised with the shared clock signal data.
CRKIT R5 Architecture rev 0.1 WINLAB – Rutgers University April 25, 2011 Khanh Le.
NS Training Hardware. System Controller Module.
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
Final presentation Encryption/Decryption on embedded system Supervisor: Ina Rivkin students: Chen Ponchek Liel Shoshan Winter 2013 Part A.
Lecture 22: PLLs and DLLs. CMOS VLSI DesignCMOS VLSI Design 4th Ed. 22: PLLs and DLLs2 Outline  Clock System Architecture  Phase-Locked Loops  Delay-Locked.
MSP432™ MCUs Training Part 5: Digital Peripherals
DSP Techniques for Software Radio DSP Front End Processing Dr. Jamil Ahmad.
3/7/05A. Semenov Batch-by-Batch Intensity Monitor 1 Two-Channel Batch by Batch Intensity Monitor for Main Injector BBI.
TOF Electronics Qi An Fast Electronics Lab, USTC Sept. 16~17, 2002.
CRKit RF Control WINLAB – Rutgers University Date : June Authors : Prasanthi Maddala, Khanh Le,
CRKit RF Control WINLAB – Rutgers University Date : June Authors : Prasanthi Maddala, Khanh Le,
CRKit RF Control WINLAB – Rutgers University Date : June Authors : Prasanthi Maddala, Khanh Le,
Virtex-6 Clocking Resources Basic FPGA Architecture
CRKit RF Control WINLAB – Rutgers University Date : June Authors : Prasanthi Maddala, Khanh Le,
LPC2148 Programming Using BLUEBOARD
The GANDALF Multi-Channel Time-to-Digital Converter (TDC)  GANDALF module  TDC concepts  TDC implementation in the FPGA  measurements.
1.  Why Digital RF?  Digital processors are typically implemented in the latest CMOS process → Take advantages scaling. (e.g. density,performance) 
DLS Digital Controller Tony Dobbing Head of Power Supplies Group.
Lecture 20: Communications Lecturers: Professor John Devlin Mr Robert Ross.
The GNU in RADIO Shravan Rayanchu. SDR Getting the code close to the antenna –Software defines the waveform –Replace analog signal processing with Digital.
FPGA and ASIC Technology Comparison - 1 © 2009 Xilinx, Inc. All Rights Reserved Basic FPGA Architecture (Virtex-6) Clocking Resources.
The World Leader in High-Performance Signal Processing Solutions Design a Clock Distribution for a WCDMA Transceiver System CSNDSP 2006 Session: B.11 Systems.
Computer Organization CT213 – Computing Systems Organization.
Phase-1 Design. i PHC Phase /04/2008 System Overview Clock, JTAG, sync marker and power supply connections Digital output.
Electronic System Design GroupInstrumentation DepartmentR. Halsall, S. Taghavirad et alRutherford Appleton Laboratory5 March 2003 Delay FPGA I/O Clock40.
CRKIT R5 Architecture rev 0.1 WINLAB – Rutgers University April 25, 2011 Khanh Le.
© 2003 Xilinx, Inc. All Rights Reserved Global Timing Constraints FPGA Design Flow Workshop.
Features of the new Alibava firmware: 1. Universal for laboratory use (readout of stand-alone detector via USB interface) and for the telescope readout.
Digital Phase Control System for SSRF LINAC C.X. Yin, D.K. Liu, L.Y. Yu SINAP, China
ATtiny23131 A SEMINAR ON AVR MICROCONTROLLER ATtiny2313.
Digital Phase Control System for SSRF LINAC C.X. Yin, D.K. Liu, L.Y. Yu SINAP, China
PROJECT - ZYNQ Yakir Peretz Idan Homri Semester - winter 2014 Duration - one semester.
CRKIT R5 Architecture rev 0.1 WINLAB – Rutgers University April 25, 2011 Khanh Le.
Alexei SemenovGeneric Digitizer Generic Digitizer 10MHZ 16 bit 6U VME Board.
CRKIT R5 Architecture rev 0.1 WINLAB – Rutgers University April 25, 2013 Khanh Le.
CRKIT R5 Clock Architecture
Chapter 5 Input/Output 5.1 Principles of I/O hardware
CR Framework Simulink Clocking WINLAB – Rutgers University Date : July Authors : Prasanthi Maddala,
Jump, Loop, and Call Instructions
Computer Architecture System Interface Units Iolanthe II in the Bay of Islands.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction Purpose  This course provides an introduction to the peripheral functions.
ESS | FPGA for Dummies | | Maurizio Donna FPGA for Dummies Modern FPGA architecture.
TX Application Architecture WINLAB – Rutgers University Date : July 27th 2009 Authors : Prasanthi Maddala, Khanh.
Clock Networks and PLLs in Altera’s Stratix III Devices VLSI Systems I Fall 2007 Hamid Abbaalizadeh.
OCRP Rx Architecture WINLAB – Rutgers University Date : Feb 2, 2010 Authors : Khanh Le, Prasanthi Maddala,
EE141 Timing Issues 1 Chapter 10 Timing Issues Rev /11/2003 Rev /28/2003 Rev /05/2003.
CRKIT R5 Architecture rev 0.1 WINLAB – Rutgers University April 25, 2011 Khanh Le, and Prasanthi Maddala.
WINLAB Open Cognitive Radio Platform Architecture v1.0 WINLAB – Rutgers University Date : July 27th 2009 Authors : Prasanthi Maddala,
Genova May 2013 Diego Real – David Calvo IFIC (CSIC – Universidad de Valencia) CLBv2 1.
Firmware and Software for the PPM DU S. Anvar, H. Le Provost, Y.Moudden, F. Louis, E.Zonca – CEA Saclay IRFU – Amsterdam/NIKHEF, 2011 March 30.
— Analog Devices Confidential Information — Applications Issues 1.
CRKIT R5 Clock Architecture WINLAB – Rutgers University June 13, 2013 Khanh Le.
Digital Logic Design Alex Bronstein
CRKIT R5 Architecture rev 0.1 WINLAB – Rutgers University
The Control of Phase and Latency in the Xilinx Transceivers
Low Jitter PLL clock frequency multiplier
Hellenic Open University
Simulink Implementation of a Cable Modem
Chapter 10 Timing Issues Rev /11/2003 Rev /28/2003
Interfacing Data Converters with FPGAs
ANALOG TO DIGITAL CONVERTER (ATD).
DARE180U New Analog IPs Laurent Berti AMICSA 2018, LEUVEN.
Presentation transcript:

CRKIT R5 Clock Architecture WINLAB – Rutgers University June 13, 2013 Khanh Le

Zedboard Zynq System Clock Overview PSPL MHz ref clock (IC18, PS_CLK) F7 4 programmable PL clocks 100MHz ref clock (IC17, GCLK) Y9 For portability, use the 100MHz reference clock for PL section (will require one PLL) ref_clk_out (RF ref clock ~30MHz) B19, B20 L18, L19 dac_clk_in (dac ref clock) dac_clk_out (dac source synchronous clock) E19, E20 D18, C19 adc_clk_in (adc source synchronous clock)

Zynq PS System Clocks ARM PLL MHz PS_CLK I/O PLL DDR PLL Mux 6-bit prog. divider 6-bit prog. divider 6-bit prog. divider Mux Clock Ratio Generator cpu_6x4x cpu_3x2x cpu_2x cpu_1x CPU, SCU OCM AXI Interconnect ddr_3x ddr_2x Sync Async 6-bit prog. divider I/O Peripherals USB, Ethernet SDIO, SMC SPI, QSPI, UART CAN, I2C PL PL Clocks Check the clocks on EDK tool !! (REVISIT)

RF Interface dac_data_out[15:0] dac_clk_out dac_frame_out (unused) Not used for word-level, only for Byte- or Nibble-level AD9122 DAC AD9548 Clock Sync AD9523 Clock Gen AD9643 ADC dac_clk_in ref_clk_out(~30MHz) Jitter clean up adc_data_in[13:0] adc_clk_in adc_or_in I Q 1 0 LVDS CMT PLL ODDR (SAME_EDGE Mode) clock feedback DAC Interface RF Reference Clock ADC Interface I2C CMT MMCM CTL REG Programmable ref. clock (ug472) 100MHz Rx Baseband D1 D2 Q D1 D2 Q By default, +Rising edge = I +Falling edge = Q +Twos complement Anti-aliasing filter -> Nyquist sampling I Q Q1 Q2 D IDDR (SAME_EDGE_PIPELINED Mode) CMT clock feedback scl sdata I2C -> SPI PCORE INT Sampling Rate Down Conversion Clock domain crossing. Must support fractional synchronization e.g. 125MHz -> 20MHz Tx Baseband Sampling Rate Up Conversion By default, +Rising edge = I +Falling edge = Q +Twos complement + ~1ns skew between data and DCO (DCO delay vs For fractional clock divider CLKOUT1 sys_clk M=3, D=2, O1=5 M=3, D=2, O0=1.5 CLKOUT1 CLKOUT0 NOT NEEDED (no clock deskew) CLKOUT0 REVISIT : do we need interpolation in the framework ? Or use the DAC for interpolation ? Answer – interpolation within Framework. (Up/Down conversion not critical at this point)

ODDR Timing

IDDR Timing

DAC Timing DAC Register Map Default Data bus sampling point is nominally 350ps after each edge of DCI signal, with uncertainty of +/- 300 ps. Data interface timing can be verified using the Sample Error Detection (SED) circuitry (reg 0x07, 0x67-0x73). Reference : AD9122_DAC.pdf

ADC Timing ADC Register Map Interleaved IQ channels : Chan A = I Chan B = Q Reference : AD9643_ADC.pdf ~1ns skew between data and DCO For parallel interleaved mode

Xilinx 7-series Clock Management Tile (CMT) Mixed-mode clock manager Phased-lock loop, subset of MMCM functions 1 CMT = 1 MMCM + 1 PLL Zynq Z-7020 PL clock resources : + 4 CMTs e.g. 4 MMCMs & 4 PLLs + 4 programmable clocks from PS CLKIN only Applications : + clock network deskew + frequency synthesis + jitter reduction

CMT - MMCM Programming port (ug472 + xapp888) Integer counter Independent clock control Fractional counter With Fclkin = 100MHz, M=1, D=1 : Integer divide : O0 = 1 : Fout = 100MHz O1 = 2 : Fout = 50MHz O2 = 3 : Fout = 33.33MHz O3 = 4 : Fout = 25MHz O4 = 5 : Fout = 20MHz O5 = 6 : Fout = 16.66MHz Fout = 80MHz, then O0 = Fclkin/Fout = 100/80 = 10/8 = 1.25 (fractional divide). Fout = 30MHz, O0 = 100/30 = … Alternative, M=3, D=2, O1=5 : CLKOUT1 = 30MHz (rf ref clock) M=3, D=2, O0=1.5 : CLKOUT0 = 100MHz (system clock) With Fclkin = 125MHz (ADC sync clock), M=1, D=1 : Fout = 80MHz, O0 = 125/80 = Fout = 20MHz, O0 = 125/20 = 6.25 Attributes : M = CLKFBOUT_MULT_F D = DIVCLK_DIVIDE O = CLKOUT_DIVIDE (ug472, page 79)

CMT - PLL Integer only counter Programming port Attributes : M = CLKFBOUT_MULT_F D = DIVCLK_DIVIDE O = CLKOUT_DIVIDE

MMCM and PLL Use Models (ug472, page 87) Requires two BUFGs Requires only one BUFG + jitter filtering + frequency synthesis + no phase requirement between Fin and Fout Off-chip compensation Input buffers must be in same bank. Use COREGEN to get additional settings information.

Clock Network Deskew Restrictions Restrictions for feedback : F in F out F FB Example 1 : F in = 166MHz, D = 1, M = 6, O = 2  F VCO = M x F FB = M x (F IN / D)  F VCO = 6 x 166MHz = 996MHz and F OUT = F VCO / O = 996MHz / 2 = 498 MHz F in F out F FB 30 4 Example 2 : F in = 66.66MHz, D = 2, M = 30, O = 4 F VCO = M x F FB = M x (F IN / D) = 30 x (66.66MHz / 2) = 999.9MHz ~ 1000MHz and F OUT = F VCO / O = 1000MHz / 4 = 250 MHz 2

ADC Network Deskew Restrictions for feedback : F in F out0 -> rcv baseband clock F FB Example 1 : Given F in = 125MHz, wants F OUT0 = 20MHz, F OUT1 = 125MHz What are the appropriate values for D, M, O0 and O1 ? (note, O0 = fraction, O1 = integer) F OUT0 = F VCO / O0 = 20MHz -> O0 = F VCO / F OUT0 F OUT1 = F VCO / O1 = 125MHz -> O1 = F VCO / F OUT1 F VCO ?  F VCO = M x F FB = M x (F IN / D) +Assuming D = 1, M = 2 => F VCO = 2 x F IN = 2 x 125 = 250 MHz And O0 = F VCO / F OUT0 = 250 / 20 = 12.5 O1 = F VCO / F OUT1 = 250 / 125 = 2 +Assuming D = 1, M = 4 => F VCO = 4 x F IN = 4 x 125 = 500 MHz And O0 = F VCO / F OUT0 = 500 / 20 = 25 O1 = F VCO / F OUT1 = 500 / 125 = 4 ? ? ? F out1 -> adc interface clock e.g. decimation… Example 2 : Given F in = 125MHz, wants F OUT0 = 80MHz, F OUT1 = 125MHz +Assuming D = 1, M = 2 => F VCO = 2 x F IN = 2 x 125 = 250 MHz And, O0 = F VCO / F OUT0 = 250 / 80 = O1 = F VCO / F OUT1 = 250 / 125 = 2 +Assuming D = 1, M = 4 (doubles) => F VCO = 2 x F IN = 4 x 125 = 500 MHz And, O0 = F VCO / F OUT0 = 500 / 80 = 6.25 (doubles) O1 = F VCO / F OUT1 = 500 / 125 = 4 (doubles) ?

Clock Distribution e.g. Zedboard Zynq how many APP can be supported ?

Interpolation/Decimation – Rational Sampling Rate Converters SAVE FOR LATER ! NOT CRITICAL AT THIS POINT

Clock Domain Abstraction Layers MOVE TO SEPARATE DESIGN DOCUMENT !