Managing Power Sequencing for the LatticeSC FPGA

advertisement
MANAGING POWER SEQUENCING
FOR THE LatticeSC FPGA
A Lattice Semiconductor White Paper
February 2007
Lattice Semiconductor
5555 Northeast Moore Ct.
Hillsboro, Oregon 97124 USA
Telephone: (503) 268-8000
www.latticesemi.com
1
Managing Power Sequencing for the LatticeSC FPGA
A Lattice Semiconductor White Paper
Introduction to the LatticeSC FPGA and
Lattice Power Manager II Families
The LatticeSC (System Chip) FPGA family combines a high-performance FPGA
fabric, 3.8Gbps SERDES and PCS, high-performance I/Os, large embedded
RAM and embedded ASIC blocks in a single architecture. Because this device
can interface with a number of logic standards, most designs require that multiple
power supply voltages power up its I/O channels. The LatticeSC device also
requires multiple power supply voltages to power its core, PLL, etc.
The Lattice Power Manager II family consists of in-system programmable mixedsignal devices that combine both programmable analog and programmable
digital circuitry to provide a cost effective, flexible and programmable solution for
integrating all board-level power supply management functions: power supply
sequencing, voltage supervision, reset generation, hot-swap control, watchdog
timer and power supply margining.
This white paper examines a Power Manager II device that provides safe turn-on
for a LatticeSC FPGA across a wide range of applications, limiting current in-rush
as well as monitoring and controlling the sequencing of multiple power supplies.
For a detailed description of the LatticeSC power sequencing requirements and
power supply trip point levels, please refer to the document TN (Technical Note)
1101 – “Power Calculations and Considerations for LatticeSC Devices,” available
at http://www.latticesemi.com/documents/tn1101.pdf
A brief introduction to the LatticeSC and Power Manager architectures is
provided to facilitate understanding of the LatticeSC FPGA power supply
sequencing implementation using the Lattice Power Manager device.
2
Managing Power Sequencing for the LatticeSC FPGA
A Lattice Semiconductor White Paper
LatticeSC FPGA Architecture
The LatticeSC FPGA is manufactured on Fujitsu’s 90nm CMOS process
technology which, combined with an optimized logic block and ample routing,
yields an FPGA fabric easily capable of 500MHz performance (e.g., 64-bit
address decode). The basic logic element of the array is the Programmable
Function Unit (PFU), which can be configured for logic, arithmetic and distributed
RAM/ROM functions. PFUs are divided into four slices, each containing two 4input SRAM Look-up Tables (LUTs) plus registers. Slices are individually
configurable and can be cascaded, as can the PFUs for larger functions.
Densities in the family span 15K to 115K LUTs.
LatticeSC devices offer 1 to 7.8 Mbit embedded block RAM (EBR) capable of
500HMz operation. Each 18Kb sysMEM EBR block can implement single port,
true dual port and pseudo-dual port or FIFO memories. Dedicated FIFO support
logic allows the LatticeSC devices to efficiently implement FIFOs without
consuming LUTs or routing resources for flag generation.
The LatticeSC FPGA also is packed with hierarchical clocking resources and,
unlike competitive devices, provides both PLL and DLL resources to deliver a nocompromise solution for clock management.
3
Managing Power Sequencing for the LatticeSC FPGA
A Lattice Semiconductor White Paper
Figure 1 – LatticeSC Block Diagram
Power Manager Device Architecture
Figure 2 shows the block diagram of the Lattice Power Manager, a
programmable mixed signal device. It consists of the following blocks
■ Programmable Threshold Comparator – to monitor Power Supply voltages
and feed the logic status to the PLD, which implements power
management algorithms
■ Digital Monitoring Inputs – To monitor digital inputs
■ Programmable Timers – to control power supply sequencing and other
delays as required by the power management algorithm
■ Programmable Digital Outputs, driven by the on-chip PLD or by I2C
interface, to control DC-DC converter enable signals as well as for the
generation of control signals used on the circuit board
■ Programmable MOSFET driver to control power supply feed through
MOSFETs
4
Managing Power Sequencing for the LatticeSC FPGA
A Lattice Semiconductor White Paper
Dual
Threshold
Power
Supply
Monitor
ADC
PLD
Supply
Trimming
Control
DAC
DAC
High Voltage
MOSFET Driver
Digital Input
Monitor
I2C Interface
Programmable
Timer &
Oscillator
Programmable
Digital Output
FIGURE 2 – Power Manager Block Diagram
■ DACs to control power supply output voltages and maintain them within
1% of the preset value
■ PLD based on Lattice Semiconductor’s ispMACH4000 CPLD architecture
to implement the entire power management algorithm
■ ADC to measure the monitored power supply voltage and enable an
external processor to read the measured value through the I2C interface
■ I2C interface to measure the power supply voltages, read digital input and
output status and to enable a microprocessor on the I2C bus to control
power supply algorithm
The power supply management algorithm is implemented using the software tool,
PAC-Designer. The PAC-Designer provides intuitive and user-friendly graphical
user interface. The on-board graphical stimulus editor and the simulator enable
verification of the power management algorithm.
5
Managing Power Sequencing for the LatticeSC FPGA
A Lattice Semiconductor White Paper
A verified design can be easily downloaded into a power manager device on an
evaluation board through the PC Parallel port, for hardware verification.
LatticeSC FPGA Power Supply Sequence Control
Figure 3 illustrates the LatticeSC’s seven power supplies on the right of the block
diagram. They are:
1. Vcc – This is the core voltage this can be 1.0 or 1.2V depending on the
type of FPGA used.
2. Vcc12 – This is a 1.2V power supply powering the analog sections of the
LatticeSC. This supply should be as quiet as possible. Designers can
either use an LDO for this or, if the core voltage is 1.2V, use a passive
filter to get a clean supply. Note: If the Vcc12 is derived from the core
supply, the Vcc must never (even during power up and down) be more
than 300 mV above Vcc12.
3. VccAUX – This is a 2.5V supply. Note that if the device uses I/O power
supplies less than 2.5V, then VccAux should be turned on before those
I/O power supplies.
4. VccJ – This supply powers the JTAG circuitry.
5. VCCIO1 – This is a special I/O power supply. If this supply drops below
its power up trip point, the LatticeSC device is reset.
6. VccIOs > VccAUX – These I/O supplies are 2.5V and above and are
turned on and off differently from the next set of VccIO supplies.
7. VccIOs < VccAUX – These I/O supply voltages are less than 2.5V. These
supplies should be turned on only after VccAUX.
6
Managing Power Sequencing for the LatticeSC FPGA
A Lattice Semiconductor White Paper
ShutDown
Vcc
Vcc12
VccAUX
Vcc
Vcc
Vcc12-EN
Vcc12
Vcc12
VccAUX
_EN
VccAUX
VccAUX
Vcc_EN
Power
Manager II
VccIO1
VccJ
VccIOs >
VccAUX
VccIOs <
VccAUX
VccIO1
_EN
VccJ_
EN
VccIOs >
VccAUX
_EN
VccIOs <
VccAUX
_EN
LatticeSC_
Reset
VccIO1
Lattice
SC
VccIO1
VccJ
VccJ
VccIOs >
VccAux
VccIOs >
VccAUX
VccIOs <
VccAux
VccIOs <
VccAUX
DC-DC
Converters
Figure 3 – LatticeSC Power Supply Sequence Control
All DC-DC converter output voltages are connected to the left side of the Power
Manager II device. These voltages are monitored for preset voltage levels by the
on-chip programmable threshold comparators of the Power Manager II.
Each power supply is controlled by one of the open drain outputs of the Power
Manager II. These open drain outputs are controlled by the logic implemented in
the on-chip PLD. The inputs to this on-chip PLD are derived from the
programmable threshold comparators and the digital input pins.
7
Managing Power Sequencing for the LatticeSC FPGA
A Lattice Semiconductor White Paper
When a power supply voltage crosses its threshold, the on-chip programmable
threshold comparator signals the state machine in the PLD, which in turn controls
the power supply sequence.
Changes to the power sequencing order can be implemented easily by altering
the logic in the state machine.
LatticeSC Power Sequencing Algorithm
Implemented in Power Manager II
1. Turn on VCC12 supply, wait for it to reach Min Trip Point.
2. Simultaneously turn on all other supplies (VCC, VCCAUX, VCCIO1,
VCCJ, VccIOs> VccAUX,).
3. Wait for VccAUX to reach its Min Trip Point and turn on VccIOs<VccAux
supplies.
4. Wait for all supplies to reach their power up Min Trip Point.
5. Wait for all supplies to reach their operating range with a time-out of 75
ms.
6. If 75 ms time-out occurs, jump to power down sequencing.
If all supplies reach their operating values before timeout, continue.
7. Wait for the shutdown request.
8. Turn off VCC, VCC12 and VccIOs<VccAUX.
9. Wait for all three supplies to reach their respective power-down trip point.
10. Turn off all other supplies.
LatticeSC_Reset =
(VCC or VCC12 or VCC Aux, or VCC IO1) < Their respective Power Down Trip
points
8
Managing Power Sequencing for the LatticeSC FPGA
A Lattice Semiconductor White Paper
This logic signal can be used to alert the board management processor for
further palliative action.
A Power Manager II device has up to 12 analog power supply voltage monitoring
inputs, up to 20 control outputs as well as up to 6 digital inputs, and up to a 48Macrocell CPLD. The power supply sequencing circuit uses fewer resources
than those available on the Power1014 chip, one of the smaller members of the
Power Manager II family. These additional programmable resources can be
used to implement other board management functions.
Implementing Board Level Power Management in a POWR1014
Designers have to meet the combined power supply sequencing needs of all
devices, including the LatticeSC FPGA, on the circuit board. Often these
sequencing needs change during the prototype stage and again when one of the
device’s specification changes.
Overall board-level power management includes not only the power supply
sequencing but also monitoring the output voltages of all power supplies for under
and over voltage. Typically, the on-board CPU also requires the generation of a
CPU reset signal.
The following screen shot shows the source code listing of a board-level design
implemented in a Lattice’s Power Manager II ispPAC-POWR1014 device.
The POWR1014 device implements not only the power supply sequencing required
for the LatticeSC FPGA but also the sequencing needed for a CPU. In addition, the
POWR1014 generates the following control signals:
9
-
CPU-Reset – Integrates the function of a Reset Generator IC
-
Supply_Fault_Intr – Integrates a Voltage Supervisor IC
-
WDT_Intr – Integrates a Watchdog timer IC
-
VccCPU_Core_en – Controls the sequencing on-board CPU core supply
Managing Power Sequencing for the LatticeSC FPGA
A Lattice Semiconductor White Paper
Figure 4 shows the source code of the power management algorithm implemented
within the POWR1014 device using the PAC-Designer Software
Tool
Figure 4 – Board Level Power Management Algorithm
Because the entire algorithm is implemented in software, it can be modified
easily to meet changing power management needs. The source code for this
design can be obtained by contacting techsupport@latticesemi.com
10
Managing Power Sequencing for the LatticeSC FPGA
A Lattice Semiconductor White Paper
Summary
POWR1014: The Ideal Power Supply Manager for the LatticeSC
FPGA & Circuit Board
The POWR1014 device is a single-chip solution for power supply sequencing,
CPU-Reset generation, monitoring power supply voltages for fault and watchdog
timer. Because all these functions are implemented in software, the POWR1014
device can be used across a wide variety of circuit boards with software changes
to implement board-specific power management algorithm requirements.
11
Managing Power Sequencing for the LatticeSC FPGA
A Lattice Semiconductor White Paper
Download