![Transmeta Crusoe TM5500 Скачать руководство пользователя страница 127](http://html1.mh-extra.com/html/transmeta/crusoe-tm5500/crusoe-tm5500_system-design-manual_1152433127.webp)
July 17, 2002
127
Serial Write-protection PLD Data
SEQUENCE [Q1..0]
{
PRESENT BIT7
IF !DIN
NEXT NO_PAT_MATCH;
/* No write or erase opcode */
/*
has bit 7=0 */
IF
DIN & !SEL NEXT PAT_MATCH;
/* For Atmel, bit 7=1 means a */
/*
write or erase */
IF
DIN &
SEL NEXT BIT6;
/* For Macronix, need to keep */
/*
checking */
PRESENT BIT6
IF
DIN NEXT PAT_MATCH;
/* Must be F1h or F2h */
IF !DIN NEXT NO_PAT_MATCH;
/* Can't be F1h or F2h */
PRESENT PAT_MATCH
NEXT PAT_MATCH;
/* Only way out is reset */
PRESENT NO_PAT_MATCH
NEXT NO_PAT_MATCH;
/* Only way out is reset */
}
/*
*
Output equations
*
*
Each chip select is copied from input to output unless the current
*
state is PAT_MATCH and the WP input is asserted.
In that case,
*
both chip selects are negated.
If WPNEG is asserted, the sense of
*
WP is reversed.
*
*
For the unusual case of WP being asserted after a write or erase
*
opcode but before the end of the bus cycle, both chip selects will
*
immediately negate.
*/
CS0OUT = CS0IN & !((WP $ WPNEG) & Q1 & !Q0);
CS1OUT = CS1IN & !((WP $ WPNEG) & Q1 & !Q0);
/*
^-- $ is the XOR operator in CUPL */
Figure 26:
Write Protection TSSOP-24 CUPL Source Code (Continued)
Содержание Crusoe TM5500
Страница 1: ...TM5500 TM5800 System Design Guide July 17 2002...
Страница 6: ...July 17 2002 6 List of Tables...
Страница 8: ...July 17 2002 8 List of Figures...
Страница 50: ...July 17 2002 50 Processor Power Supplies and Power Management...
Страница 110: ...July 17 2002 110 System Design Considerations...
Страница 122: ...July 17 2002 122 System Design Checklists...
Страница 128: ...July 17 2002 128 Serial Write protection PLD Data...
Страница 130: ...July 17 2002 130 Index...