Hardware Reference Guide
SST-DN3-PCI-1 and SST-DN3-PCI-2
36
Hardware
Register
Details
©2004 Woodhead Software & Electronics, Division of Woodhead Canada Limited
Document Edition: 1.1, Document #: 715-0083, Template Edition: 1.1, Template #: QMS-06-045
Use, duplication or disclosure of this document or any of the information contained herein is subject to the restrictions on page ii of this document.
Bit and Value
Window Size and Bank Number
BA19 BA18 BA17 BA16 BA15 BA14 BA13 BA12
8k
16k
32k
64k
128k
256k
x x 1 1 0 0 1 x 25 12 6 3 1 0
x x 1 1 0 1 0 x 26 13 6 3 1 0
x x 1 1 0 1 1 x 27 13
6 3 1 0
x x 1 1 1 0 0 x 28 14 7 3 1 0
x x 1 1 1 0 1 x 29 14 7 3 1 0
x x 1 1 1 1 0 x 30 15
7 3 1 0
x x 1 1 1 1 1 x 31 15 7 3 1 0
* x = don’t care
Table 11: Bank Address Register Bit Descriptions
Bit Name
Description
BA17-13
Each channel has 256k of memory accessible to the host. The Bank Address bits select which bank
of memory the host can access. For example, in 16k mode, the bank number may be 0 through 15
(or 0x0 - 0xf).
•
BA17-BA13 represent the bank address
•
Bank numbers depend on the window size, selected using the WinSize bits. Refer to
Table 13:
BankSize Register Values
, for more information.
To access any flat address of memory, “ADDR” in any window size, set the Bank Address bits
to bits 19-12 of the address. In C, you would write:
outport( BankSelect, addr>>12);
offset= addr & ((inport( WinSize ) <<12 ) | 0x3FFF);
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com