FORCE Computers SYS68K/ISCSI-1 — SYS68K/ISCSI-1 User's Manual

---------------------------------- HD68450, HD68450Y 7 6 5 4 3 2 o CP (CHANNEL PRIORITY) 00 Priority level 0 o I Priority level I COC BTC NOT ERR ACT o PCT PCS 10 Priority level 2 II Priority level 3 Bit 7 through 2 Not Used COC (CHANNEL OPERATION COMPLETE) o Channel operation incomplete I Channel operation complete BTC (BLOCK TRANSFER COMPLETE) o Block transfer incomplete I Block transfer complete NDT (NORMAL DEVICE TERMINATION) o No normal device termination by DONE input I Device terminated operation normally by DONE input ERR (ERROR BIT) o No errors I Error as coded in CER ACT (CHANNEL ACTIVE) o Channel not active I Channel active PCT (pCL TRANSITION) o No PCL transition occurred I PCL transition occurred PCS (THE STATE OF THE PCL INPUT LINE) o PCL "Low" I PCL "High" Bit::!

Not Used General Control Register (GCR) The GCR is used to define what portion of the bus cycles is available to the DMAC for limited rate auto-request generation. GCR is also used to specify the hold time for cycle steal mode with hold. 7 6 5 4 3 2 o o o o o BT BR BT (BURST TIME) The number of DMA clock cycles per burst that the DMAC allows in the auto-request at a limited rate of transfer is COII- trolled by these two bits. The number is 2(BT+4) (two to the BT+4 power). BR (BANDWIDTH RATIO) The amount of the bandwidth utilized by the auto-request at a limited rate transfer is controlled by these two bits. The ratio is 2(BR+I) (two to the BR+I power).

The hold time for cycle steal mode with hold is defined to be minimum of I sample interval and maximum of 2 sample intervals. A sample interval is defined to be 2(BT+BR+5) (two to the BT+BR+5 power) clock cycles. Channel Error Register (CER) The CER is an error condition status register. The ERR bit of CSR indicates if there is an error or not. Bits 0-4 indicate what type of error occurred. Bits 7 through 4 Not Used 7 6 5 4 3 2 o Address Registers (MAR, DAR, BAR) Three 32-bit registers are utilized to implement the Memory Address Register, Device Address Register, and the Base Address Register. Only the least significant twenty-four bits are con- nected to the address output pins.

The content of the MAR is outputted when the memory is accessed in single or dual adress- ing mode. The content of the DAR is outputted when the peripheral device is accessed. The contents of the BAR is out- putted when reading chain information from memory in the Array Chaining Mode or the Linked Array Chaining Mode. It is also used to set the top address of the next block transfer in Continue mode.

o o o ERROR CODE Error Code 00000 No error 0000 I Configuration error 00010 Operation timing error 00 101 Address error in MAR 00110 Address error in DAR 00 II I Address error in BAR 0100 I Bus error in MAR 01010 Bus error in DAR 010 II Bus error in BAR 01101 Count error in MTC 01111 Count error in BTC 10000 External abort 1000 I Software abort Bits 7,6, 5 Not Used Function Code Registers (MFC, DFC, BFC) The DMAC has three function code registers per channel: the Memory Function Code Register (MFC), Device Function Code Register (DFC), and the Base Function Code Register (BFC).

The contents of these registers are outputted from FC o through FC 2 lines when an address is outputted from MAR, DAR, or BAR, respectively. The BFC is also used to set the MFC for the transfer of the next data block in the Continue mode. 7 6 5 4 3 2 o Channel Priority Register (CPR) The CPR is used to define the priority level of the channel. Priority level 0 is the highest and priority level 3 is the lowest priority. o o FC2 FC1 FCO Bits 3 through 7 Not Used Transfer Count Registers (MTC, BTC) o o o o o o CP Each channel has two 16-bit counters: the Memory Transfer Counter (MTC) and the Base Transfer Counter (BTC). The MTC 7 6 5 4 3 2 o HITACHI 15