Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Scroll pdf ignore

Table of contents

Table of Contents
outlinetrue

Overview

Firmware for PCB RFSoC module CPLD with designator U31. Second CPLD Device in Chain: LCMX02-640HC

Feature Summary

  • Firmware
  • Power Management
  • JTAG routing
  • Boot Mode
  • User IO
  • LED

Firmware Revision and supported PCB Revision

...

Product Specification

Port Description

Name / opt. VHD NameDirectionPinBank PowerDescription
MIO13
PWR_STATUSout361.8V_CPLDOutput
to drive gate of MOSFET transistor
for Status-LED (After successful configuration of FPGA is connected automatically with FPGA_IO0)
MODE0out351.8V_CPLDZynqMP boot mode pin 0
PG_VCCRFin341.8V_CPLDPower Good input from PWR_PRE
SRST_Bout331.8V_CPLDFPGA external system reset  / currently_not_used
PROG_Bout321.8V_CPLDFPGA reset PL configuration logic / currently_not_used
PG_GR2in311.8V_CPLDPower control input from PWR_PS and PWR_DDR
MIO28_UART1_TXout291.8V_CPLDUART Transmition pin / currently_not_used
MIO28_UART1_RXin281.8V_CPLDUART Receive pin / currently_not_used
FPGA_IO0
inout
out271.8V_CPLDFPGA
GPIO / currently_not_used
GPIO  / User LED
FPGA_IO1inout261.8V_CPLDFPGA GPIO /
currently_not_used
User dip switch interface
EN_PS_PLout143.3V_CPLDPower enable for PWR_CORE , PWR_PS and PWR_GT
EN_GR1out153.3V_CPLDPower enable for PWR_GT and PWR_PS
EN_RF_ADCout163.3V_CPLDPower enable for PWR_ADC
PG_RF_DACin173.3V_CPLDPower control input from PWR_DAC
EN_VCCRFout183.3V_CPLDPower enable for PWR_PRE
EN_GR2out193.3V_CPLDPower enable for PWR_DDR , PWR_GT and PWR_PS
PG_PS_PLin203.3V_CPLDpower control input from PWR_CORE , PWR_GT and PWR_PS
PG_GR1in213.3V_CPLDPower control input from PWR_GT and PWR_PS
PG_RF_ADCin233.3V_CPLDPower control input from PWR_ADC
EN_RF_DACout243.3V_CPLDPower enable for PWR_DAC
MODE2out21.8V_CPLDZynqMP boot mode pin 2
MODE1out31.8V_CPLDZynqMP boot mode pin 1
POR_Bout41.8V_CPLDPower-On reset signal
MODE3out51.8V_CPLDZynqMP boot mode pin 3
INIT_Bin71.8V_CPLDFPGA PL initialization activity and configuration error signal / currently_not_used
F_TDIout81.8V_CPLDJTAG ZynqMP
F_TMSout91.8V_CPLDJTAG ZynqMP
F_TCKout101.8V_CPLDJTAG ZynqMP
F_TDOin111.8V_CPLDJTAG ZynqMP
DONEin121.8V_CPLDFPGA PL configuration done indicator
/ currently_not_used
JTAG_TDOout483.3V_CPLDJTAG_B2B
JTAG_TDIin473.3V_CPLDJTAG_B2B
JTAG_TCKin453.3V_CPLDJTAG_B2B
JTAG_TMSin443.3V_CPLDJTAG_B2B
CPLD_IO0in433.3V_CPLDBOOT Mode input pin 0
CPLD_IO1in423.3V_CPLDBOOT Mode input pin 1
CPLD_JTAGENin413.3V_CPLDEnable JTAG access to CPLD for Firmware update (zero: JTAG routed to module, one: CPLD access)
CPLD_IO2
inout
in403.3V_CPLDCPLD IO
/ currently_not_used
to B2B / Used as dip switch interface on the carrier board (After successful configuration of  FPGA is connected automatically with FPGA_IO1)
CPLD_IO3
inout
out383.3V_CPLDCPLD IO
/ currently_not_used
to B2B/ Used as power good, can be used to enable carrier periphery power
RESETNin373.3V_CPLDReset pin
of CPLD
(Active low)


Functional Description

JTAG

JTAG signals routed directly through the CPLD to FPGA. Access between CPLD and FPGA can be multiplexed via JTAGEN (logical one for CPLD, logical zero for FPGA) on B2B. In the carrier board TEB0835 can be activated this pin with S1-4 dip switch.

CPLD_JTAGEN (B2B J1-30)S1-4 on TEB0835 Carrier BoardDescription
0OFFFPGA access
1ONCPLD access

Power

In this module the CPLD is responsible for controlling the power of the module. There are different power regulators or DC/DC converters whose outputs can be controlled by an enable signal. At the same time the outputs can also be monitored by power-good signals.

Enable Signal
Direction
Power Good Signal
DirectionDescription
Schematic pageNetDomainRegulator/ DC-DC Converter
Spannung in
 in/out
NetDomain
Voltage
EN_PS_PL
out
PG_PS_PL
in

PWR_CORE

PWR_PS

PWR_GT

LTM4662EY

LTM4644EY

TPS82085

5V/0.835V

5V/0.85V

5V/0.9V

VCCINT, VCINT_IO, VCCBRAM

PSINTLP/PSINTFP,PSINTFP_DDR

MGTAVCC

PL

PS_LP/PS_FP

GTH

LTM4662EY

LTM4644EY

TPS82085

5V/0.835V

5V/0.85V

5V/0.9V

EN_GR1
out
PG_GR1
in

PWR_PS

PWR_GT

PWR_GT

TPS82085

EP53A7LQI

EN6347QI

5V/1.8V

5V/0.85V

5V/1.2V

PSAUX,PSADC,PSIO/VCCAUX,VCCAUX_IO/PS_DDR_PLL

PSMGTRAVCC/MGTVCCAUX

PSPLL/MGTAVTT

PS_LP/PL/PS_FP

PS_FP/GTH

PS_LP/GTH

TPS82085

EP53A7LQI

EN6347QI

5V/1.8V

5V/0.85V

5V/1.2V

EN_GR2
out
PG_GR2
in

PWR_PS

PWR_GT

PWR_DDR

PWR_DDR

VCC_B88_HD

PS_MGTRAVTT

DDR_2V5

DDR_1V2

PS_LP

PS_FP

DDR

DDR

TPS82085

EP53A7HQI

TPS82085

TPS82085

5V/3.3V

5V/1.8V

5V/2.5V

5V/1.2V

VCC_B88_HD

PS_MGTRAVTT

PS_LP

PS_FP

DDR

DDR

EN_VCCRF
out
PG_VCCRF
in
PWR_PREVCCINT_AMS, APRE_1V15, APRE_3V3ADC and DACLTM4644EY5V/0.8534V,1.15V,3.3V
VCCINT_AMS/Input for PWR_ADC and PWR_DACADC and DAC
EN_RF_ADC
out
PG_RF_ADC
in

PWR_ADC

PWR_ADC

ADC_AVCC

PWR

ADC_AVCCAUX

ADC

ADC

TPS74401

TPS74401

1.15V/0.925V

3.3V/1.8V

ADC_AVCC

ADC_AVCCAUX

ADC

ADC

EN_RF_DAC
out
PG_RF_DAC
in

PWR_DAC

PWR_DAC

PWR_DAC

PWR_

DAC_AVCC

DAC_AVCCAUX

DAC_AVTT

DAC

DAC

DAC

TPS74801

TPS74801

TPS74801

5V/0.925V

5V/1.8V

5V/2.5V

DAC_AVCC

DAC_AVCCAUX

DAC_AVTT

DAC

DAC

DAC

Power-on Sequencing

Boot Mode

Power-on Sequencing

According to the Xilinx instructions the power regulator or DC-DC converter must be switched on or off in a certain order. This is called power-on or power-off sequencing.To implement power-on sequencing correctly, a state machine must be running there. In the following you can see the State Machine Diagram.


draw.io Diagram
bordertrue
diagramNameState Machine Diagram 2
simpleViewerfalse
width1200
linksauto
tbstyletop
diagramDisplayName
lboxtrue
diagramWidth1170
revision35


StageControlVoltage DomainsSignal Monitoring to change stage
IDLE------RESETN
STAGE1EN_PS_PL enabled (High)0.853V, 0.85V, 0.9VPG_PS_PL
STAGE2EN_GR1  enabled (High)1.8V, 0.85V, 1.2VPG_GR1
STAGE3EN_GR2 enabled (High)3.3V, 1.8VPG_GR2
STAGE4EN_VCCRF enabled (High)0.8534V, 1.158V, 3.3VPG_VCCRF
STAGE5

EN_RF_ADC enabled (High)

EN_RF_DAC enabled (High)

0.925V, 1.8V

0.925V, 1.8V, 2.5V 

PG_RF_ADC

PG_RF_DAC

WAIT_RDY---------
RDY

por enabled (High)

en1 enabled (High) if DONE is High.

---pg_all
  • pg_all <= PG_PS_PL & PG_GR1 & PG_GR2 & PG_VCCRF & PG_RF_ADC & PG_RF_DAC
  • If por is high then POR_B (power-on reset signal) will be deactivated.


LED

StatesBlink SequenceComment
IDLEooooooooooooooooooo*Power Sequencing can not start. RESETN is active.
Stage 1ooooooooooooooooo*o*The correct voltage in one of the following nets are failed: VCCINT, VCINT_IO, VCCBRAM, PSINTLP, PSINTFP, PSINTFP_DDR, MGTAVCC
Stage 2ooooooooooooooo*o*o*The correct voltage in one of the following nets are failed: PSAUX, PSADC, PSIO, VCCAUX, VCCAUX_IO, PS_DDR_PLL, PSMGTRAVCC, MGTVCCAUX, PSPLL, MGTAVTT
Stage 3ooooooooooooo*o*o*o*The correct voltage in one of the following nets are failed: VCC_B88_HD, PS_MGTRAVTT, DDR_2V5 , DDR_1V2
Stage 4ooooooooooo*o*o*o*o*The correct voltage in one of the following nets are failed: VCCINT_AMS, APRE_1V15, APRE_3V3
Stage 5ooooooooo*o*o*o*o*o*The correct voltage in one of the following nets are failed: ADC_AVCC, ADC_AVCCAUX, DAC_AVCC, DAC_AVCCAUX, DAC_AVTT
WAIT_RDY / RDY and DONE='0'ooooooo*o*o*o*o*o*o*Power is ok. But the FPGA is not yet configured.
pg_all = '0'ooooo*o*o*o*o*o*o*o*An unknown error has occurred. The power supply must be switched off.
USR (RDY and DONE='1')User definedPower is ok and the FPGA is configured successfully. LED can be controlled by user, when Power is OK and FPGA part is programmed (DONE signal is high)
  • The period for erery blink (*o) is 0.5sec.

User IO

  • FPGA_IO1 (AE16 of RFSoC) is connected with CPLD_IO2 (S1-3 Dip switch on the carrier board) when the FPGA is programmed correctly otherweise this pin is high impedance. After configuration of the FPGA can user use this pin as input.
  • FPGA_IO0 (AE18 of RFSOC) is connected with LED on the RFSoC module  (D1) if the FPGA is programmed completely otherweise this LED (D1) blinks according to the state of the power-on sequencing. After configuration of the FPGA can be controlled this LED (D1) by user.

If the FPGA correctly programmed (DONE signal is high) and  the power-on sequencing state is RDY then the User IOs can be shown in the following table:

FunctionInterfaceSchematicFPGA PinNote
USER signalB2B (J1-32)FPGA_IO1AE16source by  TEB0835 Dip Switch S1-3, in case FPGA is programmed
LED (D1)--FPGA_IO0AE18controls LED, in case FPGA is programmed

Boot Mode

Boot Modes can be selected via B2B Pin Mode.

B2B Pin J1-28 (CPLD IO1)B2B Pin J1-26 (CPLD IO0)
CPLD IO1CPLD IO0S1-2 on TEB0835 Carrier BoardS1-1 on TEB0835 Carrier Board
Boot Mode
00
ONON
Boot from PS JTAG
01
ONOFF
Boot from QSPI
11
OFFOFF
Boot from SD Card

Appx. A: Change History and Legal Notices

Revision Changes

  • REV00 to REV01
    • transfer verilog to vhdl
    • power stagemachine, add power down cyclus on error state
    • bugfix: Power Good(CPLD_IO3) depends now on module power sequencing
    • LED status changed
    • LED controllable by USR after power up
    • CPLD_IO2 connected to FPGA IO (can be controlled by user)
    • constrains and buffer changes for JTAG

Document Change History

To get content of older revision  got to "Change History"  of this page and select older document revision number.

...

2017-06-0719Initial release
DateDocument RevisionCPLD Firmware RevisionSupported PCB RevisionAuthorsDescription

Page info
modified-date
modified-date
dateFormatyyyy-MM-dd

Page info
current-version
current-version
prefixv.

REV01REV02, REV01

Page info
modified-user
modified-user

Work in progress


  • REV01 release (firmware release 2020-10-27)
2020-08-18v.4
Page info
REV00REV01 Ivan Girshchenko / Mohsen Chamanbaz
  • REV00 release (firmware release 2019-12-18)
created-usercreated-user

All

Page info
modified-users
modified-users


...