Freescale Semiconductor MPC8272ADS User Manual page 131

Table of Contents

Advertisement

"* ATM UNI Declarations.
"******************************************************************************
"******************************************************************************
"* Reset Declarations.
"******************************************************************************
HARD_RESET_ACTIVE = 0 ;
SOFT_RESET_ACTIVE = 0 ;
HARD_RESET_ASSERTED = (SyncHardReset_B.fb == HARD_RESET_ACTIVE) ;
"******************************************************************************
"* data buffers enable.
"******************************************************************************
BUFFER_DISABLED = 1 ;
BUFFER_ENABLED = !BUFFER_DISABLED ;
BUFFER_HOLD_OFF = (HoldOffCnt.fb != 0) ; " the delay is required for read as well
" since a fast device (eg bcsr) may
" content with the flash/eeprom
END_OF_FLASH_EEPROM_READ = !DVal_B & (!Cs0_B # !Cs4_B) & !R_B_W & DSyncHardReset_B.fb ;
" end of flash/eeprom read cycle.
" not during hard reset config
END_OF_PCI_INT_CONT_READ = !DVal_B & !IntContCs_B & !R_B_W ;
" end of PCI Interrupt Controller read cycle.
END_OF_ATM_READ = !DVal_B & !AtmUniCsIn_B & !R_B_W ; " end of atm uni m/p i/f read cycle
END_OF_OTHER_CYCLE = (!DVal_B & Cs0_B & Cs4_B & AtmUniCsIn_B & IntContCs_B #
!DVal_B & !AtmUniCsIn_B & R_B_W #
!DVal_B & !ToolCs1_B & R_B_W #
!DVal_B & !ToolCs2_B & R_B_W #
!DVal_B & (!Cs0_B # !Cs4_B) & R_B_W #
!DVal_B & !IntContCs_B & R_B_W) ;
" another access or atm uni write or tool 1 write or tool 2 write or
" flash/eeprom write PCI int cont write
"******************************************************************************
"* Hard Reset Configuration Logic
"******************************************************************************
HRESET_CFG_IN_BCSR = (bcsrConfEn == 1); " HRESET Conf Word in BCSR
HRESET_BOOT_IN_FLASH = ((bcsrConfEn == 0) & (boot_device_B == 0));
" HRESET Conf Word and Boot Code in FLASH
BOOT_IN_FLASH = ((bcsrConfEn == 1) & (boot_device_B == 0));
" HRESET Conf Word in BCSR and Boot Code in FLASH
HRESET_BOOT_IN_EEPROM = ((bcsrConfEn == 0) & (boot_device_B == 1));
" HRESET Conf Word and Boot Code in EEPROM
BOOT_IN_EEPROM = ((bcsrConfEn == 1) & (boot_device_B == 1));
" HRESET Conf Word in BCSR and Boot Code in EEPROM
HARD_RESET_ASSERTION = ( (HardReset_B == 0) & (SyncHardReset_B.fb == 0) &
(DSyncHardReset_B.fb == 1) );
CS0_ASSERTED = (Cs0_B == 0);
CS4_ASSERTED = (Cs4_B == 0);
FIRST_CFG_BYTE_READ = (CS0_ASSERTED & !DSyncHardReset_B.fb & (ConfAdd == 0) &
HRESET_CFG_IN_BCSR & !R_B_W);
Chapter 8. Support
Programmable Logic Equations

Advertisement

Table of Contents
loading

Table of Contents