Motorola MSC8101 ADS User Manual Page 101

  • Download
  • Add to my manuals
  • Print
  • Page
    / 119
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 100
C-100 MSC8101ADS RevB User’s Manual MOTOROLA
C•1•2 Second Include file
%*********************ResetEnsure.tdf ******************************%
% TITLE “MSC8101 ADS Board Control and Status Register.”; %
% Written by Yehuda Palchan - February , 2000 %
% This file defines the Reset Ensure State Machine %
%*******************************************************************%
SubDesign Reset_Ensure
(
Clk: INPUT;
Reset: INPUT;
PushBtn : INPUT;
Rst_True: OUTPUT;
)
Variable
RstEnsureMachine: MACHINE WITH STATES (Start, Rst1, Rst2, Rst3);
Begin
RstEnsureMachine.clk= Clk;-- Initialize
RstEnsureMachine.reset= Reset;
CASE RstEnsureMachine IS
When Start =>-- Poreset State
Rst_True= GND;
if PushBtn == 1 then
RstEnsureMachine= Start;
else
RstEnsureMachine= Rst1;-- PushButton Pressed
end if;
When Rst1=>-- First check of PushButton Succeded
Rst_True= GND;
if PushBtn== 1 then
RstEnsureMachine= Start;
else
RstEnsureMachine= Rst2;
end if;
When Rst2=>-- Second check of PushButton Succeded
Rst_True= GND;
if PushBtn== 1 then
RstEnsureMachine= Start;
else
RstEnsureMachine= Rst3;
end if;
When Rst3=>-- Third check of PushButton Succeded
Rst_True= VCC;
if PushBtn== 1 then
RstEnsureMachine= Start;
else
RstEnsureMachine= Rst3;
end if;
end case;
End;
Frees
cale Semiconductor,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Page view 100
1 ... 100 101 102 ... 119

Comments to this Manuals

No comments