Home
QL92010M IDE Controller Core
Contents
1. IDE Controller Core 32 Bit System Bus AMBA Secondary Slave IRQ Control 4 i APB 16K Slave 3 SRAM Low Speed Peripherals PCI 32 bit MIPS Memory 16 bit UART Controller 4Kc Controller Timer ICU X2 x4 Ca 16K 16K D Cache l Cache PCI 32 66 SDRAM SRAM www quicklogic com 2005 QuickLogic Corporation QL92010M QuickMIPS IDE Controller Core Data Sheet Rev B Figure 2 shows a detailed block diagram of the IDE controller core The sub blocks of the core are also shown including the Fabric slave control IDE control and secondary IRQ control blocks Figure 2 IDE Controller Core Block Diagram External IDE Device Off Chip ATA Signals Fabric Fabric Slave Signals Interface Fabric Slave Control t R W W ATA Sector Registers Buffers Secondary IRQ R Control IDE Controller Core ATA Signals IDE Control Secondary IRQ Signals Datapath Control v v t System Bus Interface AHB Slave v To Fabric gt Interrupt 2005 QuickLogic Corporation www quicklogic com QL92010M QuickMIPS IDE Controller Core Data Sheet Rev B Interface Ports Table 1 describes the Fabric accessible interface ports for the IDE controller core Some
2. 2005 QuickLogic Corporation QL92010M QuickMIPS IDE Controller Core Data Sheet Rev B Table 1 IDE Controller Port Descriptions Continued Port 1 0 Function When high indicates that the Fabric slave when inserting wait states with the ahb_sl_wait signal intends to do so indefinitely When low the transaction is automatically completed after a maximum of 16 cycles regardless of the ahb_sl_wait signal ahb_sl_ign_ws l Secondary IRQ Signals sirq_in 4 1 I Secondary interrupt controller input signals a Interface direction is specified with respect to the ASSP portion of the device designates an input to the ASSP and O designates an output from the ASSP Table 2 shows the IDE Controller ATA interface ports and the corresponding Fabric pin names and locations The pin locations in Table 2 indicate the default location for using the QL92010M device in the QuickMIPS Development Platform QDP when using the IDE VGA daughter card Alternatively designers can choose other pin locations for their specific target system Table 2 ATA Interface Signals and Recommended Fabric IO Pin Locations ATA Interface ATA Interface Signal Direction Fabric Pin Signal Fabric Pin Type Fabric Pin Location ata_addr 0 O ata_addr 0 O D20 ata_addr 1 O ata_addr 1 O E17 ata_addr 2 O ata_addr 2 O D17 ata_cs1_n O ata_cs1_n O A21 ata_cs0_n O ata_c
3. is also implemented in this section based upon control from the ATA Timing Control section Management of read and write data to from the sector buffers is also handled by the datapath control logic Ordering Information QL 92010M 175 2 PS544 Cc QuickLogic Device i Operating Range Part Number C Commercial 92010M Industrial Processor Speed 175 MHz 200 MHz Fabric Speed 2 Faster Package Lead Count PS544 544 ball BGA 1 0 mm www quicklogic com 2005 QuickLogic Corporation QL92010M QuickMIPS IDE Controller Core Data Sheet Rev B QuickLogic Contact Information Phone 408 990 4000 US 416 497 8884 Canada 44 1932 57 9011 Europe except Germany Benelux 49 89 930 86 170 Germany Benelux 86 21 6867 0273 Asia except Japan 81 45 470 5525 Japan E mail info quicklogic com Sales www quicklogic com sales Support www quicklogic com support Internet www quicklogic com Revision History Revision Date Originator and Comments Judd Heape Richard Meester and Kathleen Murchek Revision A November 2004 General reformat and edit Combined Quest IDE Controller IP and IRQ Controller IP data sheets Judd Heape and Kathleen Murchek Revision B March 2005 Removed ata_dma_req and ata_dma_ack interface signals Updated number of logic cells available for Fabric designs Copyright and Trademark Information Copyright 2005 QuickLogic C
4. ports must be connected directly to Fabric I O pins while other ports provide Fabric design connection to the System bus AMBA internal to the device All signals beginning with ata_ should be routed directly to Fabric I O pins on the QL92010M device The design database included in the QuickWorks software for the QL92010M device also includes a top level VHDL or Verilog file showing an example of tying these signals to Fabric I O pins All other signals in Table 1 can be used by the designer s specific Fabric design e g Fabric slaves or interrupt sources Table 1 IDE Controller Port Descriptions Port 1 0 Function ATA Interface Signals ata_addr 2 0 O ATA address lines Addresses registers contained in the external device ata_csi_n O ATA chip select 1 Chip select for the externally connected device ata_csO_n O ATA chip select 0 Chip select for the externally connected device ata_data_in 15 0 ATA data input Read data from the externally connected device ata_data_out 15 0 O ATA data output Write data to the externally connected device ata_data_oe O ATA data output enable When high ata_data_out is driven to the external device ata_io_rd_n O ATA I O read When low a read is performed from the externally connected device ata_io_wr_n O ATA I O write When low a write is performed to the externally connected device ata_intr ATA interrupt input Interrupt from the externally conn
5. registers for PIO modes e Compact flash PCMCIA card compatible in TRUE IDE ATA mode e SIRQ control block supports level or edge interrupts e Maximum of four interrupt sources available for Fabric design e SIRQ enable and status registers e Selectable interrupt input polarity e 1 695 logic cells available for Fabric designs e 32 RAM blocks available for Fabric designs Applications The QL92010M device can be used in e Set top boxes e DVD players e PDAs e Industrial control Embedded systems e Laptops 2005 QuickLogic Corporation www quicklogic com QL92010M QuickMIPS IDE Controller Core Data Sheet Rev B QL92010M IDE Controller Core This section describes the functionality of the IDE controller core For detailed information relating to the IDE controller registers see the QL90xM QuickMIPS User Manual Appendix B For detailed information about interfacing to the Fabric slave port in this device see the QL90xM QuickMIPS User Manual Appendix A Figure 1 shows a block diagram of the QL92010M device including the IDE controller core Figure 1 QL92010M Block Diagram J i I i 18 ECU Blocks 8x8 Multiply 16 bit carry add ViaLink Programmable Fabric 32 RAM Blocks 128x18 and 256x9 frn f ATA 10 100 Ethernet 10 100 Ethernet Master Fabric AHB IDE Control Control
6. time the IDE disk must be setup so that data can be transferred The controller transfers the data to the internal buffers After the transfer is completed the busy flag is cleared and the software or bus master can try again and the action will succeed NOTE Do not access any other IDE disk register during the polling process as this will cause data corruption 2005 QuickLogic Corporation www quicklogic com 7 QL92010M QuickMIPS IDE Controller Core Data Sheet Rev B e The buffer registers are the destination for the write accesses After the last word written the controller automatically transfers the data to the IDE disk The disk must be set up correctly and ready to accept data The sector buffers can accept two types of data 16 bit or 32 bit 32 bit mode is supported only when the controller is in back to back mode In 32 bit mode the IDE data is transferred into the sector buffers 32 bits at a time and transferred to the external IDE disk in 16 bit accesses Regardless of the selected data mode when accessing the external IDE disk registers only the lower 8 bits are used the rest of the bits are discarded Datapath Control The IDE control block contains a datapath control section that manages the ATA_ signal ports in the Fabric of the QL92010M device The datapath control section is responsible for reading and writing of external ATA data including accesses to external ATA device registers All ATA signal timing
7. QL92010M QuickMIPS IDE x Controller Core Data Sheet KLO ee eee QuickMIPS Embedded Standard Products ESP Family Introduction This data sheet describes the QL92010M QuickMIPS Integrated Drive Electronics IDE controller core and how to use it in applications This document also defines the core s capabilities and functionality NOTE This data sheet only covers the IDE controller core see the QL902M data sheet for information regarding the remainder of the QuickMIPS device The IDE controller core consists of three blocks these blocks are the IDE control Fabric slave and secondary interrupt request SIRQ control The SIRQ control block manages IDE and Fabric based interrupts which are forwarded to the MIPS CPU The Fabric slave block provides a simplified System bus style interface available for designers to connect their Fabric designs Features The IDE controller core has the following features e PIO Mode 0 to PIO Mode 4 support e Fabric accessible slave bus interface running at up to 100 MHz One slave can be connected by the Fabric designer e AHB and Fabric slave interfaces support bursting e Internal IDE sector buffering for increased performance back to back sector transfer e Controller performance close to maximum PIO mode performance in back to back mode at 100 MHz 32 bit mode running up to 15 25 MBps excluding OS overhead e 32 bit data transfers supported e Internal ATA timing
8. dy l ata_io_rdy l B19 ata_reset_n O ata_reset_n O B20 a ATA Interface direction is specified with respect to the ASSP portion of the device designates an input to the ASSP and O designates an output from the ASSP NOTE The ATA data signals ata_data_in 15 0 and ata_data_out 15 0 are unidirectional interface ports on the IDE Controller core These signals must be connected along with the ata_data_oe signal to the bipad_25um macro Instantiating this macro is required for each of the 16 ATA data signals to connect them to bidirectional Fabric I O pins Fabric Slave Control Block The Fabric slave interface is closely related to the System bus AMBA AHB However the Fabric interface has been simplified which also simplifies the design of slave devices saves logic cells and pipelines the design to reduce high fanout signals The Fabric slave interface supports one slave that the designer can implement in the Fabric design The slave responds to a certain address range in the QL92010M memory map For detailed information about the Fabric slave interface in this device see the QL90xM QuickMIPS User Manual Appendix A Secondary IRQ Control Block The secondary IRQ control block is responsible for consolidating four Fabric interrupt sources and the IDE interrupt from the IDE control block and forwarding these interrupts to the CPU The Fabric interrupts are available for connection to the fabric logic created by the de
9. ected device ata_io_rdy I ATA I O ready When high indicates that the external device is ready for access ata_reset_n O ATA reset Active low reset output to the externally connected device Fabric Slave Interface nals o amp helk O Fabric slave interface clock This clock is synchronous to the System bus AMBA clock hreseti O Fabric slave active low reset This signal can be used to reset all Fabric logic implemented by the designer ahb_sl_sel O Indicates that the Fabric slave is selected for the current transaction ahb_sl_addr 31 0 O Fabric slave address ahb_sl_wdata 31 0 O Fabric slave write data ahb_sl_rdata 31 0 Fabric slave read data ahb_sl_we O Indicates that the current Fabric slave transaction is a write operation ahb_sl_re O Indicates that the current Fabric slave transaction is a read operation ahb_sl_hsize 2 0 O Indicates the size of the current Fabric slave transfer 8 16 or 32 bits ahb_sl_burst 2 0 o Indicates the burst type and length of the current Fabric slave transfer SINGLE INCR WRAP4 INCR4 WRAP8 INCR8 WRAP 16 or INCR16 ahb_sl_burst_start O Indicates that the Fabric slave is starting a burst transaction ahb_sl_burst_cont O Indicates that the Fabric slave is continuing a burst transaction When high indicates that the Fabric slave intends to insert wait states to the current ahb_sl_wait transfer www quicklogic com
10. meet the PIO mode timings will result in operating failure and could cause data corruption For a detailed description of PIO Mode timing see the ATA ATAPI 5 specification document ANSI NCITS 340 2000 Sector Buffers The IDE control block has two sector buffers which can hold 512 bytes of information each One buffer is used for reading and one for writing The IDE control block can operate in two modes of operation normal and back to back modes When operating in normal mode the sector buffers are bypassed In back to back mode the sector buffers are also bypassed when accessing IDE disk control registers However in back to back mode when transferring data the internal buffers are filled first and then the data is transferred to the IDE disk at the rate defined by the PIO mode timing registers Software must not access any IDE disk registers when transferring data to or from the IDE disk in back to back mode because this can cause data corruption Most standard IDE disk drivers avoid this as a normal practice The actual start of reading or writing is triggered automatically by the controller when in back to back mode e The first read access to the data register is flagged to the bus interface as if the controller is busy The software or hardware bus master keeps trying until it succeeds To accomplish this the busy bit in the IDE ATA_CTRL register is continuously polled While polling the CPU can also perform other tasks During this
11. orporation All Rights Reserved The information contained in this document is protected by copyright All rights are reserved by QuickLogic Corporation QuickLogic Corporation reserves the right to modify this document without any obligation to notify any person or entity of such revision Copying duplicating selling or otherwise distributing any part of this product without the prior written consent of an authorized representative of QuickLogic is prohibited QuickLogic and the QuickLogic logo pASIC ViaLink DeskFab QuickKRAM QuickPCI and QuickWorks are registered trademarks of QuickLogic Corporation Eclipse EclipsePlus Eclipse II QuickFC QuickDSP QuickDR QuickSD QuickTools QuickCore QuickPro SpDE WebASIC and WebESP are trademarks of QuickLogic Corporation 2005 QuickLogic Corporation www quicklogic com 9
12. s0_n O D21 ata_data_in 0 l ata_data 0 VO J24 ata_data_out 0 O ata_data_in 1 ata_data 1 1 0 G22 ata_data_out 1 O ata_data_in 2 ata_data 2 VO J23 ata_data_out 2 O ata_data_in 3 l ata_data 3 VO F22 ata_data_out 3 O ata_data_in 4 ata_data 4 VO E22 ata_data_out 4 O ata_data_in 5 l ata_data 5 VO G23 ata_data_out 5 O ata_data_in 6 l ata_data 6 VO E23 ata_data_out 6 O ata_data_in 7 ata_data 7 1 0 G24 ata_data_out 7 O ata_data_in 8 l ata_data 8 VO H23 ata_data_out 8 O ata_data_in 9 l ata_data 9 VO D19 ata_data_out 9 O 2005 QuickLogic Corporation www quicklogic com QL92010M QuickMIPS IDE Controller Core Data Sheet Rev B Table 2 ATA Interface Signals and Recommended Fabric IO Pin Locations Continued ATA Interface ATA Interface Signal Direction Fabric Pin Signal Fabric Pin Type Fabric Pin Location ata_data_in 10 l ata_data 10 VO E19 ata_data_out 10 O ata_data_in 11 ata_data 11 1 0 D18 ata_data_out 11 O ata_data_in 12 ata_data 12 VO E18 ata_data_out 12 O ata_data_in 13 l ata_data 13 VO E20 ata_data_out 13 O ata_data_in 14 l ata_data 14 VO E21 ata_data_out 14 O ata_data_in 15 l ata_data 15 1 0 D22 ata_data_out 15 O ata_data_oe O NA N A NA ata_io_rd_n O ata_io_rd_n O C16 ata_io_wr_n O ata_io_wr_n O C20 ata_intr l ata_intr l A25 ata_io_r
13. signer These interrupts are highly configurable and can be controlled and monitored by the CPU For a detailed description of how to use the secondary IRQ signals see the QL90xM QuickMIPS User Manual Appendix B www quicklogic com 2005 QuickLogic Corporation QL92010M QuickMIPS IDE Controller Core Data Sheet Rev B IDE Control Block The IDE control block can be used to control any device supporting PIO modes 0 through 4 The IDE control block consists of the following logic sections e ATA Registers e ATA Timing Control e Sector Buffers e Datapath Control ATA Registers The IDE control block in the QL92010M device has several registers used for setting the controller mode indicating the state machine status and setting the PIO mode timings related to the chosen System bus AMBA clock frequency All registers are memory mapped and the external device IDE registers are combined with the ATA registers present in the IDE control block core See the QL90xM QuickMIPS User Manual Appendix B for a detailed description of the IDE control and ATA registers ATA Timing Control PIO mode timing is determined from the PIO mode timing registers ATA_T1_REG through ATA_T4_REG and ATA_TIORDY_REG All timing is based upon the frequency of the System bus AMBA clock See the QL90xM QuickMIPS User Manual Appendix B for a detailed description of the PIO mode timing registers NOTE Setting a value in a register that does not
Download Pdf Manuals
Related Search
Related Contents
Snapper LE User's Manual 606529 Reloj patron Sigma H Garmin GDU 370 GPS Receiver User Manual QIAGEN GeneRead Panel Analysis Plugin Luxor ET38E-B 90, rue de la Pointe Langlois Tel. bureau : 450-937 TNo.099/TB-900 電動ジェンティー Duracell myGrid’s 2,01MB - fujitsu general T7 Parts Manual - One Stop Rental Copyright © All rights reserved.
Failed to retrieve file