2 internal scripts ram, Internal scripts ram – Avago Technologies LSI53C1010R User Manual
Page 50

2-20
Functional Description
Version 2.2
Copyright © 2000–2003 by LSI Logic Corporation. All rights reserved.
The Phase Mismatch Jump logic is disabled at power-up. To enable the
phase mismatch jump logic, set the Phase Mismatch Jump Enable bit
(ENPMJ, bit 7 in the
register). Utilizing the
information supplied in the Phase Mismatch Jump Address registers
allows all overhead involved in a disconnect/reselect sequence to be
handled with a modest amount of SCRIPTS instructions. These registers
are described in detail in
2.2.2 Internal SCRIPTS RAM
The LSI53C1010R has 8 Kbytes (2048 x 32 bits) of internal, general
purpose RAM for each SCSI function. The RAM is designed for
SCRIPTS program storage, but is not limited to this type of information.
When the chip fetches SCRIPTS instructions or Table Indirect
information from the internal RAM, these fetches remain internal to the
chip and do not use the PCI bus. In addition, any SCRIPTS instruction
that contains a source or destination address residing in SCRIPTS RAM
memory space remains internal to the chip and does not generate PCI
cycles. SCRIPTS instructions able to access SCRIPTS RAM memory
space in this manner include Memory-to-Memory Moves, Load/Stores,
and Block Moves. While an internal cycle is occurring, any external PCI
slave cycle is retried on the PCI bus. Setting the DISRC (Disable Internal
SCRIPTS RAM Cycles) bit in the
register
disables this feature.
SCRIPTS RAM should be initialized before it is read. Reading SCRIPTS
RAM before initialization sets the SCRIPTS RAM parity bit, bit 7, in the
register.
PCI system BIOS can relocate the RAM anywhere in the 64-bit address
space.
Base Address Register Three (BAR3) (SCRIPTS RAM)
and
Base Address Register Four (BAR4) (SCRIPTS RAM)
, in the PCI
configuration space, contain the base address of the internal RAM. To
simplify SCRIPTS instruction loading, the base address of the RAM
appears in the
register when bit 3 of the
register is set. The upper 32 bits of a 64-bit base
address are in the
register. The RAM is byte
accessible from the PCI bus and is visible to any bus mastering device on
the bus. External, CPU accesses to the RAM follow the same timing
sequence as a standard slave register access, except that the required