Freescale Semiconductor MPC8272ADS User Manual page 151

Table of Contents

Advertisement

Programmable Logic Equations
PowerOn = 0 ;
PowerOff = 1 ;
"******************************************************************************
"* Equations, state diagrams.
*
"******************************************************************************
"******************************************************************************
"******************************************************************************
equations
"******************************************************************************
"******************************************************************************
"* Generating PowerOn signal to the ATX Power Supply.
"******************************************************************************
"******************************************************************************
equations
inv1 = !inv5.com ;" generating internal clock oscilator
inv2 = !inv1.com ;
inv3 = !inv2.com ;
inv4 = !inv3.com ;
inv5 = !inv4.com ;
counter.ar = 0 ;
counter.ap = 0 ;
counter.clk = !inv5.com ;
when ( counter.fb == 255 ) then counter := 0 else counter := counter + 1 ;
countera.ar = 0 ;
countera.ap = 0 ;
countera.clk = ( counter.fb == 0 ) ;
when ( countera.fb == 255 ) then countera := 0 else countera := countera + 1 ;
counterb.ar = 0 ;
counterb.ap = 0 ;
counterb.clk = ( countera.fb == 0 ) ;
when ( counterb.fb == 255 ) then counterb := 0 else counterb := counterb + 1 ;
Power_Buffer.ar = 0 ;
Power_Buffer.ap = 0 ;
Power_Buffer.clk = ( counterb.fb == 0 ) ;
Power_Buffer := ChasisPowerIn_B ;
PowerOn_B.oe = H ;
PowerOn_B.ar = 0 ;
PowerOn_B.ap = 0 ;
PowerOn_B.clk = ( counterb.fb == 0 ) ;
PowerOn_B := !Power_Buffer.fb ;
"******************************************************************************
"******************************************************************************
@ifdef SIMULATION {
}
END
Chapter 8. Support

Advertisement

Table of Contents
loading

Table of Contents