Lattice CPLD——ispMACH 4032ZE internal crystal oscillator use and power consumption evaluation

illustrate

Reference: "ispMACH 4000ZE Family"

          《Advanced Features of the ispMACH 4000ZE Family》

          《Power Estimation in ispMACH 4000ZE Devices》

Software tools: isplever classic 2.1

 The maximum output of the internal crystal oscillator is a 5MHz clock; isplever classic 2.1 does not give a power report, but officially provides a calculation formula for estimating the power consumption of the design; this document introduces the method of using the internal crystal oscillator in the design through an example of a frequency divider, and calculates the power consumption of the design based on the generated design report; this design realizes the frequency division output of the internal crystal oscillator clock, and has a reset input signal and a frequency division output signal.

Use of Internal Crystal Oscillator

Structure diagram (TIMER_DIV is the frequency division parameter, the rest are ports)

 

port description

Combined with this figure, it is inferred that the timer is reset when TIMERRES is high, and the timer works when it is low; combined with official code resources, it is inferred that the entire crystal oscillator is disabled when DYNOSCDIS is high, and the crystal oscillator is started when low.

primitive language

 

Instantiate in your own code

 Here the timer is reset, the 5MHz clock of the crystal oscillator is enabled, and the clk_osw is 5MHz

Mapped report

 

Calculation of power consumption

The power consumption calculation uses the formula given in the manual to calculate and evaluate

 

 

 

In this way, the relevant parameters can be given in combination with this design:

A: Device fixed parameter, 0.010 (mA)

B: Device fixed parameter, 0.009 (mA/MHz)

N: device fixed parameters, 32 Macrocells

Fmax: only 5Mhz crystal oscillator clock is used here

AF: 0.125 (the design occupies 4 macrocells, a total of 32 devices, 4/32)

Iccosc:15uA

Fn: The frequency of the output pin, here is 1.25MHz

Cn: take 0.020

Voh-Vol: Check the data sheet, take 1.6V-0.2V=1.4V

m: There is only one output pin here, take 1

Combining parameters and formulas, the calculation can be

ICC  =0.010mA+(0.009*32*5*0.125)mA+(0.020*1.4*1.25)mA+0.015mA

=0.010mA+0.18mA+0.035mA+0.015mA

=0.24mA=240uA

Guess you like

Origin blog.csdn.net/weixin_41895751/article/details/127204536