Functional Description (Continued)
The bus monitor operates by monitoring the state of the
DEN signal. Should it be asserted for longer than the pro-
grammed Bus Time Out value in configuration register 7,
Ready is asserted if configuration bit 63 is set. If configura-
tion bit 62 is set, BERR is also asserted. The BERR signal
behaves much like the timer interrupt in that it can be pro-
grammed to produce a pulse or a level state.
If level state operation is selected, (configuration bit 61 e
1), BERR will only be deasserted when configuration regis-
ter 7 is accessed in a read cycle. If configuration bit 61 is
cleared to zero, a two cycle pulse is produced on time-out.
By providing both modes of operation, the BERR signal may
be connected directly to the processor, or to an external
WATCHDOGTM circuit.
OPERATION CONTROL FIELD
Byte 0 of the configuration register contains three fields.
The first field (from LSB) is reserved for test purposes and
must be zero for proper in-circuit operation. The second
field is the operation control field which is used to control
the state of the page cache, timer, interrupts and bus error
signal. The third field is the Iow two bits of the refresh rate.
The NSBMC096 has been designed such that if any of the
bits in the operation control field is written with a ‘‘1’’, ac-
cess to the other two fields is disabled and the previous
value is retained. If all bits in the operation control field are
‘‘0’’, the reserved and refresh rate fields are updated from
the current input.
Since the control register is accessed as a byte, automatic
masking of the non-control field bits simplifies programming
of the control parameters. AII parameters in this field may
be modified on-the-fly, and all functions are disabled by re-
set. The operational controls have been encoded such that
any access to the register will only modify one parameter.
Bit Control
7 654321 0 Function
DD0000DDUpdate Bits 0, 1, 6 and 7 with data D
XX0100XXInstruction Access Page Cache Disable
(Default)
XX0110XXInstruction Access Page Cache Enable
XX0101XXData Access Page Cache Disable (Default)
XX0111XXData Access Page Cache Enable
XX1000XXAcknowledge Timer Interrupt
XX1010XXEnable Timer Output for Level Sense
Interrupt
XX1100XXDisable All Timer Interrupts
XX1110XXEnable Timer Output for Edge Sense
Interrupt
PAGE CACHE MANAGEMENT
The Page Cache management implemented by the
NSBMC096 incorporates a mechanism whereby advantage
can be taken of the page access mode of DRAMs, not only
for burst access, but also for non-sequential data and in-
struction access. The mechanism relies on the fact that as
long as RAS is asserted, access to the selected row can be
gained by simply asserting a column address and the CAS
strobe. The resulting access is slower than a burst only by
the amount of time required to ensure that the desired ad-
dress is in the same row as was previously selected.
The benefits of this type of access are obvious, however,
there can be drawbacks. If the required address does not
reside in the same page as that selected, the currently se-
lected row must be released and the new row selected be-
fore the access can proceed. The process of de-selecting a
row and selecting a new one requires that the RAS pre-
charge time be allowed to expire before the selection of a
new row can begin. This pre-charge time can require up to
two additional cycles over a standard access startup.
The efficiency of this type of cache (PCache) is related to a
large extent on the locality of reference of the datum being
accessed. For systems that have mixed Instruction and
Data memory systems, PCache efficiency is very dependent
on the behavior of the program being executed as related to
the ‘‘run-length’’ of data and instruction access, the proces-
sor internal cache utilization, and the locality of data and
instruction references. Since throughput is lowered by
cache misses, the page cache can be dynamically enabled/
disabled for instruction and/or data access. In this manner
the programmer can apply the mechanism judiciously in or-
der to maximize throughput.
For systems in which Instruction and data spaces are con-
trolled by independent NSBMC096s, the page cache man-
agement can be used to greater effect as data and instruc-
tion ‘‘run length’’ ceases to be a factor in determining per-
formance. In this type of configuration cache efficiency is
simply a function of locality of reference and a control strat-
egy for the page cache mechanism is much simpler to de-
rive and implement. PCache management is independently
controlled for instruction and data access. A recommended
starting strategy for improving performance of mixed in-
struction/data systems is to rely on the burst mechanism
and the internal cache for instruction fetching, and enable
PCache for Data access only. This general rule of thumb
can be improved on, once program behavior is bench-
marked.
9