Home
FastPack Products FP-DFLEX-10K Customizable FLEX10K I/O
Contents
1. 1 2 2 3 3 OxOE Installed Memory Mn SRAM 0x00 none 0x01 16K x 16 0x03 64K x 16 OxOF Installed I O 00 PIO Fx FIO N 24 N where x N 4 Example FIO 0 48 OxFO FIO 24 0 OxF6 Future revisions of the FP DFLEX 10K will have different data in the revision field and may include a non zero driver ID The manufacturer ID and model number will remain as shown above k Tekmicro Page 18 FP DFLEX 10K User s Manual The exact values of ID bytes 12 through 15 for each of the current FP DFLEX 10K models is shown in the table below ID Data Bytes 12 15 ID Data Bytes 12 15 FP DFLEX 10K50E PIO 45 03 03 00 FP DFLEX 10K70 FIO 20 8 27 03 03 F5 FP DFLEX 10K70 FIO 24 0 27 03 03 F6 FP DFLEX 10K130E FIO 24 0 4D 03 03 F6 b Tekmicro Page 19 FP DFLEX 10K User s Manual I O Space Controller The FP DFLEX 10K implements the registers shown below when the EPLD controller has control of the IP bus Ad ress Name Se Descnpion 0x00 D 7 0 iD 8 ID register ooroo REV 8 Revision regs vozoro on 8 _ intazaton ConrolRegiter 0020170 sR 8 intazaton Status Regier oxoa 0170 R 8 intazaton Data Regier The EPLD controller implements the D 7 0 portion of the IP bus Host software accessing the EPLD controller I O space should observe the following rules e 8 bit bus cycles to D 7 0 are valid e 8 bit bus cycles to D 15 8 are invalid but will be acknowled
2. le B B B B Signa CONF dedicate CONF DONE dedicated ion nCS CLKFAST function nWS Unused input Pin yo MA2 Output MA4 Output MA6 Output Output Output Output Output i OD Ww o jaja a a a Bidir Bidir Bidir Bidir Output Output w Q TMS pulled high DCLK pulled high DATAO follows IP DO nSTATUS dedicated 60 239 236 RDYnBSY Unused output Output CS IP Bus Enable Input function nRS User O DO 13 236 Input Note nRS is pulled high and used as DO 13 after FPGA initialization Dedicated signals nCONFIG nSTATUS and CONF_DONE are not required to be listed in user FPGA program k Tekmicro Page 32 FP DFLEX 10K User s Manual I O Interface DO1 DO2 DO3 DO4 DO5 DO7 DO8 rie 66 Bdr DE 9 ouput b Tekmicro Page 33 FP DFLEX 10K User s Manual Signa Pm nm en oupa gs 6 O Optional Accessories The FP DFLEX 10K is supported by the following optional accessories 13530 3 Cable Assembly FastPack I O to D50S 3 feet 13534 3 Cable Assembly FastPack I O to D50P 3 feet Software drivers and sample application software may be requested from TEK s technical support department k Tekmicro Page 34 FP DFLEX 10K User s Manual Appendix A Clock Synthesizer Programming The FP DFLEX 10K generates one of the possible FPGA global clocks using a Cypress ICD2053BSC cl
3. 24 Clock Interface liana bas aa bad gaya Ge aaa iaia 26 BS INCETIACE m ywe lepre dada A E sad dik bu TA iaia 0e ip ora d v pu alia 27 Memory Interface ioca ad pwi ao Rr da apa lia 28 Initialization Interface e ai eke sen ad ak kw a ae sok de Seki an ad kilo rore Ia kap kwak ko kw de sek nt De kanse ae kasab din 28 TO Mine aCe RC aan 30 Signal Pin Assignments aw seswa ap ay kosyon pos oaay ky ou day e ete ep ekzak mayo io bale y po aqu denda uo yan kiyes bade 31 Optlonal Accessotles mae 34 b Tekmicro FP DFLEX 10K User s Manual Appendix A Clock Synthesizer Programming eee 35 Appendix B Non Standard IP Clock Frequencies sss 39 Appendix C Data ShEetSs Juri 40 b Tekmicro FP DFLEX 10K User s Manual Product Description Overview The FP FLEX family of I O modules provides a customizable FPGA based logic function within an IndustryPack compatible IP module All of the members of the FP FLEX product family share some key features e Downloadable FPGA programs All members of the FP FLEX family can be initialized over the IP bus without requiring any special programming hardware software or cabling e Common I O architecture All members of the FP FLEX family have a compatible I O pinout and feature set to allow FPGA programs to be ported from one model to another The FP DFLEX 10K module provides
4. 485 selection nS485 x must always equal the negation of S485 x TR_CLK From FPGA MAX335 serial clock Termination resistors serial clock TR_DATA From FPGA MAX335 serial data Termination resistors serial data in TR_nCS From FPGA MAX335 chip select Termination resistors serial input chip select The function and timing requirements of the I O signals are described in the I O Interface Signal Functions section on page 8 k Tekmicro Page 30 FP DFLEX 10K User s Manual Signal Pin Assignments The signal pin assignments for the RC240 version of FP DFLEX 10K are shown in the tables below These pin assignments apply to hardware revisions D and later For earlier hardware revisions please refer to manual TM250A This information is also contained in the Altera ACF files for FPGA demonstration programs which are available from TEK s support department Clock Interface GCLK1 IP clock S CLK to ICD2053 98 Output Sew j S DATA to ICD2053 99 Output SYNCLK from ICD2053 Note GCLK2OUT is connected to GCLK2 Bus Interface all signals defined in ANSI VITA 4 1995 specification nIDSel Input nintSel Input nintReq1 Output nDMAReg1 Output nDMAend Bidir k Tekmicro Page 31 FP DFLEX 10K User s Manual Memory Interface all signals connected to IDT71016 Pin VO MA1 Output MAS3 Output MA5 Output Output Output Output 196 B Bidir Bidir Output w 2
5. I O Interface DO 1 24 DE 1 24 RI 1 24 S485 1 6 nS485 1 6 TR CLK TR DATA TR nCS Page 25 FP DFLEX 10K User s Manual Clock Interface The Clock interface consists of the following signals Signal Direction Connection Description GCLK1 To FPGA IP bus clock PLL regenerated version of IP clock 8 or 32 MHz REFCLK To FPGA From EPLD 4 MHz reference clock generated from IP clock by EPLD Used as reference clock input to ICD2053 clock synthesizer S CLK From FPGA ICD2053 SCLK Serial clock to ICD2053 for programming SYNCLK frequency S DATA From FPGA ICD2053 DATA Serial data to ICD2053 for programming SYNCLK frequency SYNCLK To FPGA ICD2053 CLKOUT PLL synthesized clock from ICD2053 GCLK2OUT From FPGA Loopback to GCLK2 FPGA output GCLK2 To FPGA Loopback from FPGA global clock input GCLK2OUT The clock interface is designed to support two architectures For user FPGA programs that have all functions synchronous to the IP clock the GCLKI clock may be used for all timing functions In this case the ICD2053 can be left unprogrammed and the SYNCLK input ignored For user FPGA programs that operate a portion of internal logic at an arbitrary clock frequency the ICD2053 can be programmed to generate the desired clock rate and SYNCLK output on GCLK2OUT This results in one global clock from the IP bus clock and a second global clock at the clock synthesizer frequency providing improved i
6. NULL return FAIL if fph gt ioptr NULL return FAIL if freq 391000 return FAIL if freq 90000000 return FAIL fph H PARM INTCLK REQ FREQ freq Calculate f vco and M such that f vco 2 M f out gt 40000000 f vco fph 5H PARM INTCLK REQ FREO for M 0 f vco 50000000 M f vco 2 Find appropriate index I corresponding to f vco if f vco gt 80000000 I 8 else I 0 Find best P and Q such that error is reduced where f vco 2 f ref P Q e e best f vco Start with Q trial at min Q that has f ref Q 1 MHz Try Q values up to the case where f ref Q lt 200 KHz for Q trial refclk 999999 1000000 Q trial 129 Q trial if refclk Q trial 200000 break for P trial 4 P trial 130 P trial f_trial 2 refclk P trial f trial Q trial e f_vco gt f_trial f_vco f_trial f trial f vco if e e best e best e P P_trial Q Q trial Compute actual frequency fph gt H_PARM_INTCLK_ACT_FREQ 2 refclk P fph gt H_PARM_INTCLK_ACT_FREQ Q fph gt H_PARM_INTCLK_ACT_FREQ 1 lt lt M Construct control word W fph gt H_PARM_INTCLK_ICD2053_CTL P 3 lt lt 15 fph gt H_PARM_INTCLK_ICD2053_CTL M lt lt 11 fph gt H_PARM_INTCLK_ICD2053_CTL Q 2 lt l
7. Pinout ae ana t kaa wt a da tk vs a ae ka Ra i e 6 Signal Configurations spia 7 Signal PUNCUOMS yes sioe oerte san rio ti AIR Re bokote kon bk RATS RS ae 8 Signal T rminatiotis eie diete tore k nea kak pa k ee es kaa pa e eka eka ia init 10 IP Logic IMteriace eee ina oi aka a n kl n a ei ek n po n n kn n n pe kak e a ana ka ia 12 Operating Modes oue rtc lira 12 Compliant FPGA Programs eet tete ttis De sane dL etae a 13 Configuration Option Ssss a ilaele 14 Download Sequence Compliant FPGA Programs e 16 Download Sequence Non Compliant FPGA Programs eee 17 ID Space Controller ui iride iaia alia 18 VO Space Controller iiec ence eet tec eee ee REL ia 20 ID Register Offset 0x00 D 7 0 i 20 Revision Register Offset 0x01 D 7 0 i 21 Initialization Control Register Offset 0x02 D 7 0 eee 21 Initialization Status Register Offset 0x03 D 7 0 seen 22 Initialization Data Register Offset 0x04 D 7 0 eese 22 VO Space FPGA T M 23 Interrupt jore P 23 DMA VO Space X EEY 23 Memory Spaces siii aa 23 Error ConditiOfls 1 2 2 2 2 612 Rina RN ai neue ea ae ola kado 23 Internal Architecture ic k r k ik kk n n ka e n e n n iii 24 OVerVIe W os cis ves a O a kisa kale b ke IE ak a Le es tinal DR o ka A a ewa ai kaka Deua
8. The No Clear FPGA bit is the only bit which is always optional 4 Set the ICR 1 0 bits to Config mode 01b Be sure to maintain the desired state of ICR 7 2 5 Read the Initialization Status Register ISR and verify that nS TATUS ISR 1 is high If nSTATUS is low report an error 6 Poll the Initialization Status Register ISR until RDYnBSY ISR 3 is high If the RDYnBSY bit is not high within 100 polls report an error 7 Write a byte of the FPGA program image to the Initialization Data Register 8 Repeat steps 5 through 7 until all bits have been downloaded 9 The EPLD controller should now be in User mode and the FPGA should have control of the IP bus Perform whatever power up checks are valid for the FPGA program b Tekmicro Page 17 FP DFLEX 10K User s Manual ID Space Controller The FP DFLEX 10K EPLD controller generated ID space contains the following information at the addresses shown Manufacturer ID 0x33 TEK Microsystems Model Number 0x50 FP DFLEX 0x06 0x00 Revision 0x00 for Type cards 0x01 for Type Il rev B cards Reserved set to 0x00 Driver ID low byte currently 0x00 Driver ID high byte currently 0x00 Number of bytes used currently 16 CRC of ID information bytes 0x00 through OxOF Ox0C Installed FPGA type 0x11 6016 0x22 10K20 0x25 10K50 0x27 10K70 0x33 10K30A 0x35 10K50V 0x45 10K50E Ox4A 10K100E 0x4D 10K130E oxD InstalledFPGAspeed 1
9. gt clkr_cr reg b h spin some more CLKR_ICD2053_SDATA CLKR ICD2053 SCLK This is pretty brute force s required setup hold for any CPU based on fastest ioreg gt clkr_cr reg b h amp CLKR ICD2053 SCLK ioreg gt clkr_cr reg b h ioreg gt clkr_cr reg b h ioreg gt clkr_cr reg b h ioreg gt clkr_cr reg b h ioreg gt clkr_cr reg b h ioreg gt clkr_cr reg b h ioreg gt clkr_cr reg b h ioreg gt clkr_cr reg b h Shift value for next bit value gt gt 1 return OK b Tekmicro Page 36 FP DFLEX 10K User s Manual The second function configures the ICD2053 with the computed program word and sets the control word to generate CLKINT using the specified program word This function performs all of the required steps to disable program and enable the ICD2053 This routine downloads the ICD2053 program word contained in fph 5H PARM INTCLK ICD2053 CTL to the FastPack static RESULT tekfp flex icd2053 cfg TEKFP HANDLE fph TEKFP FLEX IOREG ioreg WORD32 cvalue int i biti count if fph NULL return FAIL if fph gt ioptr NULL return FAIL ioreg fph gt ioptr cvalue fph gt H_PARM_INTCLK_ICD2053_CTL ioreg gt clkr_cr reg b h amp CLKR ICD2053 SCLK Send control word 00100101 binary tekfp_flex_icd2053_cfg_bits fph 8 0x25 Send control word flag 011110 binary tekfp flex icd2053 cfg bits
10. ioreg_fpga gt crl reg w amp FPGA CRI1 TR DATA ioreg fpga return gt crl reg w OK k Tekmicro FPGA CRI TR nCS Page 11 FP DFLEX 10K User s Manual IP Logic Interface Operating Modes The FP DFLEX 10K controller has four operating modes which determine the configuration state of the FPGA and whether the EPLD controller or the FPGA responds to IP bus cycles The operating modes are Reset This is the mode after power up initialization and is usually the mode after an IP bus reset In Reset mode the EPLD controller has control of the IP bus and the FPGA is held in the uninitialized condition nCONFIG asserted low All external I O signals are tristated The host typically uses Reset mode to restart the FPGA and then switches to Config mode to download an FPGA program image to the FPGA Config In Config mode the EPLD controller has control of the IP bus and the FPGA is ready to accept programming information from the IP bus The host uses Config mode to download an FPGA program image to the FPGA When the download is completed the FPGA will assert CONF DONE and the EPLD controller will automatically switch to either Idle or User mode depending on the state of the Auto User Start configuration bit ICR 02 Idle In Idle mode the EPLD controller has control of the IP bus and the FPGA is configured and running Idle mode is only supported with a compliant FPGA program the definition of a complian
11. selected by the user provided that the 0x0080 bit is not set Most of these functions are built into TEK s IP bus interface macrofunction user FPGA programs which use TEK s macrofunction for the IP bus interface are automatically compliant FPGA programs k Tekmicro Page 13 FP DFLEX 10K User s Manual Configuration Options The FP DFLEX 10K EPLD controller has several configuration control bits which determine how the EPLD controller interacts with the FPGA and the IP bus The control bits are designed to accommodate the widest possible range of user FPGA programs including legacy designs from other applications Through configuration options the host can configure how the FP DFLEX 10K handles reset conditions whether the EPLD or FPGA responds to ID cycles and whether to enable a back door to return control of the IP bus to the EPLD All of the configuration control bits must be configured by the host before the FP DFLEX 10K enters User mode Once the module is in User mode the EPLD ICR register is no longer directly accessible because the FPGA has control of the IP bus The configuration options are e Auto User Start ICR 2 The EPLD controller automatically leaves Config mode when a rising edge on CONF DONE is detected which happens after the last byte of FPGA configuration information is written by the host The mode that the EPLD controller changes to is controlled by the Auto User Start bit if the bit is set
12. the EPLD controller will change to User mode and if the bit is cleared the EPLD controller will change to Idle mode If the FPGA is compliant it will monitor the CS signal and ignore IP bus cycles and tristate IP bus control signals if CS is low A compliant FPGA is compatible with both Idle and User modes because it allows the EPLD controller through the CS signal to dynamically enable or disable FPGA control of the IP bus If the FPGA is not compliant it is not required to monitor the CS signal and may assume that it always has control of the IP bus after initialization Because a non compliant FPGA provides no mechanism to arbitrate control of the IP bus the EPLD controller must transition from Config to User mode to avoid bus contention between the FPGA program and the EPLD controller This bit should be set if the FPGA program is non compliant e No Clear FPGA ICR 3 If this bit is cleared the EPLD controller enters the Reset mode after an IP bus reset This has the side effect of asserting the FPGA nCONFIG signal which places the FPGA device into initialization mode clearing the existing FPGA program image and tristating all I O signals If this bit is set the EPLD controller enters either Idle or User mode after an IP bus reset Typically the host will always reinitialize all hardware and reload the FPGA program image after a system or IP bus reset If this bit is set the FPGA program will continue running after an IP bus re
13. the I O signals The second type of I O function Fixed I O is configured at the factory for either EIA 485 or TTL operation in blocks of 8 lines The EIA 485 interfaces are completely compatible with all EIA 485 requirements including common mode voltage range All EIA 485 receivers have 100 Q nominal termination resistors that can be dynamically connected or disconnected under FPGA or host control The supported ordering codes are shown below Sufix Deseripton O Programmable I O Each 4 pair group of the 24 A B pairs may be configured by the FPGA as four bidirectional differential signals or as eight bidirectional single ended TTL signals FIO 0 48 Fixed I O No EIA 485 signals 48 bidirectional TTL signals FIO 4 40 Fixed l O 4 bidirectional EIA 485 signals 40 bidirectional TTL signals Fixed I O 8 bidirectional EIA 485 signals 32 bidirectional TTL signals Fixed I O 12 bidirectional EIA 485 signals 24 bidirectional TTL signals Fixed I O 16 bidirectional EIA 485 signals 16 bidirectional TTL signals Fixed I O 20 bidirectional EIA 485 signals 8 bidirectional TTL signals FIO 24 0 Fixed I O 24 bidirectional EIA 485 signals no TTL signals k Tekmicro Page 7 FP DFLEX 10K User s Manual Signal Functions The FP DFLEX 10K I O signals consist of 24 external signal pairs designated A 1 24 and B 1 24 The I O functions are controlled by three signals DE DO and RI for each A B signal pai
14. C240 3 obsolete 10K50 EPF10K50RC240 3 obsolete 10K70 EPF10K70RC240 3 obsolete 10K30A EPF10K30AQC240 3 10K50V EPF10K50VRC240 3 10K50E EPF10K50EQC240 3 10K100E EPF10K100EQC240 3 10K130E EPF10K130EQC240 3 10K200S EPF10K200SRC240 3 alternate speed grades available by special order k Tekmicro Page 2 FP DFLEX 10K User s Manual Organization This User s Manual is divided into the following sections Specifications and Warranty Support Information This section outlines the FP DFLEX 10K specifications and provides information about the warranty and technical support programs I O Interface This section defines the I O interface for the FP DFLEX 10K FP DFLEX 10K models may be ordered with either the Programmable I O PIO or Fixed I O FIO architecture Both architectures have compatible I O pinouts with different I O interface capabilities The FPGA device program determines the functions performed by the I O signals IP Logic Interface and Programming Information This section defines the generic control and status registers that are present in all FP DFLEX 10K models This includes information about how to download a logic program to the FPGA device Internal Architecture This section defines the internal clock and control signal architecture This section is primarily of interest if you are developing a custom logic program for a FP DFLEX 10K module Each off the shelf FPGA program includes documentation that de
15. a customizable ANSI VITA 4 IP module which allows the user to develop custom logic in a small form factor Each module supports a mix of up to 24 EIA 485 interfaces or 48 TTL interfaces selectable under software control The FP DFLEX 10K is well suited for any application which requires application specific logic at hardware speeds in an Industry Pack compatible package FP DFLEX 10K modules have been used for pattern generators pulse generators edge detection and measurement and various serial and parallel custom interfaces A block diagram of the FP DFLEX 10K is shown in the figure below FELD PROGRAMMABLE GATE ARRAY JO TRANSCEIVERS enmieuzen EN STATIC RAM a i LX UD CONTROLLER 64K x 16 i IPSO UP TO 24 ELAS gt INTERFACE OR AATTL FLEX TOKIO FLEX TORSO FLEX 10K100 gt k Tekmicro Page 1 FP DFLEX 10K User s Manual Product Options The FP DFLEX 10K product family includes several different ordering options All of the options listed below are supported but only a subset of available options PIO FIO 0 48 and FIO 24 0 are typically available from stock FP DFLEX device i o PIO Programmable I O FIO 0 48 Fixed I O 0 EIA 485 48 TTL FIO 4 40 Fixed I O 4 EIA 485 40 TTL FIO 8 32 Fixed I O 8 EIA 485 32 TTL FIO 12 24 Fixed I O 12 EIA 485 24 TTL FIO 16 16 Fixed I O 16 EIA 485 16 TTL FIO 20 8 Fixed I O 20 EIA 485 8 TTL FIO 24 0 Fixed I O 24 EIA 485 0 TTL 10K20 EPF10K20R
16. b Tekmicro FastPack Products FP DFLEX 10K Customizable FLEX10K I O Module User s Manual TEK TM 250B September 2001 FP DFLEX 10K User s Manual TEK Microsystems has made every effort to ensure that this manual is accurate and complete However TEK reserves the right to make changes and improvements to the products described in this manual at any time and without notice This product is covered by a limited warranty which is described in the manual Other than the stated limited warranty TEK disclaims all other warranties including the warranties of merchantability and of fitness for a particular purpose In the event of a failure of the hardware or software described in this manual TEK s obligation is limited to repair or replacement of the defective item or if the item cannot be repaired or replaced a refund of the purchase price for the item TEK assumes no liability arising out of the application or use of the hardware or software and assumes no responsibility for direct indirect incidental or consequential damages of any kind The electronic equipment described in this manual generates uses and can radiate radio frequency energy Operation of this equipment in a residential area is likely to cause radio interference in which case the user at his own expense will be required to take whatever measures may be required to correct the interference TEK Microsystems products are not authorized for use as critical components
17. face provides four bidirectional differential signals with EIA 485 characteristics In this case the DO x y signals are connected to the EIA 485 drivers the RI x y signals are connected to the EIA 485 receivers and the DE x y signals enable the EIA 485 drivers The DO x y signals are outputs from the FPGA the state of each DO x y signal is only significant if the associated DE signal is high enabling the EIA 485 driver The RI x y signals are inputs to the FPGA the state of each RI x y signal reflects the current EIA 485 input state of the associated A B signal pair regardless of the state of DE The six S485 signals are mapped to signal groups as follows Sab Description S485 1 Controls A 1 4 and B 1 4 S485 2 Controls A 5 8 and B 5 8 b Tekmicro Page 9 FP DFLEX 10K User s Manual In all configurations the FPGA is responsible for controlling the S485 1 6 and nS485 1 6 signals In the Programmable I O PIO configuration the FPGA may configure the signals as desired for the application s I O interface In the Fixed I O FIO configuration the FPGA should always drive the S485 1 6 signals as shown in the table below Mode Eimas Signal TTI Signals ssm PO Programmable Programmable Programmable Signal Terminations The FP DFLEX 10K I O signal pairs have a programmable termination resistor between each A B pair The termination resistor should be turned on for EIA 485 signa
18. fines the programming interface to the FPGA and the functions of the various I O signals k Tekmicro Page 3 FP DFLEX 10K User s Manual Specifications amp Support Information Performance Specifications Clock Speed 8 or 32 MHz wait states determined by FPGA ID Space Supported per ANSI VITA 4 1995 specification Format I I O Space Byte and word accesses supported per ANSI VITA 4 1995 specification Memory Space Byte and word accesses supported per ANSI VITA 4 1995 specification Interrupt Capability Interrupt requests O and 1 supported function determined by FPGA DMA Capability DMA request levels 0 and 1 supported function determined by FPGA Mechanical Type IP module per ANSI VITA 4 1995 specification Operating Temperature 0 to 70 degrees C Storage Temperature 40 to 85 degrees C k Tekmicro Page 4 FP DFLEX 10K User s Manual Warranty Information The FP DFLEX 10K is warranted against defects in material or workmanship for a period of three years from the original date of purchase If a failure occurs within the warranty period TEK will repair or replace the product at no cost to the user For warranty repair please contact TEK as described below and obtain an RMA number and return shipping instructions Contact Information If technical support or repair assistance is required please contact TEK through one of the following methods Internet http www tekmicro com Email support tekmicr
19. fph 6 Ox1E Send program word bitl count 0 for i 0 i lt 22 i tekfp flex icd2053 cfg bits fph 1 cvalue amp l if cvalue amp 1 bitl count else bitl_count 0 if bitl count 3 tekfp flex icd2053 cfg bits fph 1 0 bitl count 0 cvalue gt gt 1 Send control word 00100100 binary tekfp_flex_icd2053_cfg_bits fph 8 0x24 Send control word flag 011110 binary tekfp flex icd2053 cfg bits fph 6 Ox1E for i 0 i lt 25000 i ioreg gt clkr_cr reg b h Send control word 00100000 binary tekfp_flex_icd2053_cfg_bits fph 8 0x20 Send control word flag 011110 binary tekfp flex icd2053 cfg bits fph 6 Ox1E ioreg gt clkr_cr reg b h amp CLKR ICD2053 SDATA return OK k Tekmicro Page 37 FP DFLEX 10K User s Manual This function is intended to implement an algorithm equivalent to the Cypress BitCalc program The function accepts a desired frequency and based on the FP DFLEX 10K reference frequency of 4 MHz generates the corresponding ICD2053 program word that is closest to the desired frequency The function also computes the actual output frequency Internal function Set ICD2051 to specific frequency static RESULT tekfp flex icd2053 compute TEKFP HANDLE fph int freq WORD32 mask I P M Q WORD32 Q trial P trial f vco f trial e best e int refclk 4000000 if fph
20. ged Read cycles will return indeterminate data and write cycles will write spurious data to D 7 0 and therefore should not be performed e 16 bit bus cycles to D 15 0 are valid the D 15 8 data is indeterminate when read and should be set to zero when written Accesses to reserved registers should be avoided for compatibility with future versions of the FP DFLEX 10K In the current version of the FP DFLEX 10K the controller I O space registers are mapped to both 0x00 Ox1F and 0x20 0x3F but this may be changed in future versions ID Register Offset 0x00 D 7 0 The ID Register ID provides the following function ame access oerip OOOO ID 7 0 EPLD controller ID value currently OxFA The ID register indicates the type of EPLD controller installed in the FP DFLEX 10K k Tekmicro Page 20 FP DFLEX 10K User s Manual Revision Register Offset 0x01 D 7 0 The Revision Register REV provides the following functions Dame Ace DewWphon REVI7 R O Always set to one Compliant FPGAs are required to have this bit set to zero allowing host software to determine whether the FPGA or EPLD has control of the IP bus by examining this bit REV 6 0 EPLD controller revision value currently OxOC The REV register indicates the specific revision of EPLD controller installed in the FP DFLEX 10K Initialization Control Register Offset 0x02 D 7 0 The Initialization Control Register ICR provides the foll
21. gram does not implement IP memory accesses IP memory cycles may be not acknowledged and may generate a bus error Error Conditions Generally accesses to I O space which are undefined are acknowledged without effect while accesses which would result in loss of data are not acknowledged i e will cause a bus timeout The specific undefined invalid accesses are listed below Read from reserved Cycle is acknowledged normally but data is indeterminate I O address Write to reserved I O Cycle is acknowledged normally with an undefined result address Writes to reserved addresses invoke undefined behavior and should not be performed Read from Action depends on FPGA program The recommended unimplemented approach is to acknowledge the cycle but return indeterminate FPGA register or zero data Write to Action depends on FPGA program The recommended unimplemented approach is to acknowledge the cycle without any effect on FPGA register FPGA operation b Tekmicro Page 23 FP DFLEX 10K User s Manual Internal Architecture Overview The FP DFLEX 10K internal architecture provides a consistent set of interfaces to the FPGA device for all FP DFLEX 10K models The internal interfaces to the FPGA are divided into the following areas e Clock Interface The FP DFLEX 10K provides a number of possible global clock sources which are configured by the user FPGA program e Bus Interface The FP DFLEX 10K provides a direct connection t
22. he FP DFLEX 10K module and download the user FPGA program when the program is compliant 1 10 11 12 13 14 15 Start with either IP bus reset or power up reset Steps 2 through 4 may be deleted for power up resets and if the host never sets the No Clear FPGA configuration bit Read the revision register offset 1 If the 0x80 bit is set the EPLD controller has control of the bus proceed to step 5 If the 0x80 bit is not set the FPGA has control of the bus Write the value 0x4A to the ID register offset 0 If the Disable Back Door bit is cleared this will relinquish control of the IP bus back to the EPLD controller Read the revision register offset 1 If the 0x80 bit is set the EPLD controller has control of the bus proceed to the next step If the 0x80 bit is not set the back door is not enabled or a hardware failure has occurred stop and report an error Set the Initialization Control Register ICR to zero Set the ICR 6 2 bits to the desired operating configuration Because the FPGA is compliant the No Clear FPGA bit is the only optional bit Set the ICR 1 0 bits to Config mode 01b Be sure to maintain the desired state of ICR 7 2 Read the Initialization Status Register ISR and verify that nSTATUS ISR 1 is high IfnSTATUS is low stop and report an error Poll the Initialization Status Register ISR until RDYnBSY ISR 3 is high If the RDYnBSY bit is not high within 35 polls stop and repo
23. ice A copy of the IDT71016 data sheet is included in Appendix C Initialization Interface The Initialization interface for FLEX10K devices consists of the following signals Static signals Sia Direction Connection Description INIT_DONE From FPGA User I O DE 6 Not supported by FP DFLEX 10K user FPGA program should disable this feature DEV_OE To FPGA User I O MD 11 Not supported by FP DFLEX 10K user FPGA program should disable this feature ani Sn sione To Preston FPGA nCONFIG input Configuration start Asserted low by EPLD controller in Reset mode To FPGA FPGAnCS Driven low by EPLD controller in Reset or Config modes Provides CLKFAST function in Idle and User modes k Tekmicro Page 28 FP DFLEX 10K User s Manual Signal Direction Connection Description ToFPGA FPGACS nSTATUS From FPGA FPGA nSTATUS RDYnBSY From FPGA FPGA RDYnBSY CONF DONE From FPGA FPGA CONF DONE ToFPGA FPGAnWS DATA 7 1 To FPGA FPGA DATA 7 1 DATA 0 To FPGA FPGA DATA 0 nRESET To FPGA FPGA nDEV_CLR Driven high by EPLD controller in Reset or Config modes Provides IP Bus Enable function in Idle and User modes Configuration Status Indicates that FPGA configuration is in process Tested by host in ISR 1 Configuration Status Indicates that FPGA is busy processing last byte of data Tested by host in ISR 3 Configuration Done Indicates that FPGA configuration is c
24. in life support devices or systems without the express written agreement of an officer of TEK Microsystems This manual is Copyright 1997 2001 TEK Microsystems Incorporated All Rights Reserved FastPack is a trademarks of TEK Microsystems Incorporated IndustryPack is a registered trademark of GreenSpring Computers Inc Altera MAX Plus II and FLEX10K are trademarks of Altera Corporation Other trademarks and registered trademarks used are owned by their respective manufacturers Revision Information This manual describes hardware revisions D and later of the FP DFLEX 10K For earlier hardware revisions please refer to manual TM250A Document ordering code and release information URL http www tekmicro com tm250b pdf TEK TM 250B Released September 2001 b Tekmicro FP DFLEX 10K User s Manual Table of Contents Product DescriptiOi ET D ki 1 Sinai 1 Product Options urina einen e EET A e SESS OL EST 2 Sirac a rai es entita 3 Specifications amp Support Information essere nnns 4 Performance SpecifICatlOTis irte seyank idyo Ee eerte ERU ev an pese kase de e e n asyo Tes Ue a ena ed 4 Warranty InfONrMAQ ON E 5 Contact In ormai oi celsesi li ia afe ab n sevetudduessncadcdestuddncdoated eaten 5 VOU AOU koki ret en a e ee n n n e a n n e ka e n n ko beke 6 VO
25. ls that are at the endpoint of the signal cabling and turned off otherwise The termination resistors are implemented using Maxim MAX335 switches which have an on resistance between 100 and 150 Ohms The termination resistors are controlled using a three wire serial interface consisting of TR_CLK clock TR_DATA data and TR_nCS chip select The termination resistor interface is directly controlled by the FPGA making the details of the interface up to the user FPGA program The simplest method of control is for the user FPGA program to provide three control bits in a control register and to use a software routine to download the 24 bit value to the MAX335s If the user would like a more automated method TEK has a macrofunction available which accepts a clock 24 bit value and a start signal and downloads the value The termination resistors are connected to the A B pairs in an arbitrary order to optimize trace lengths on the printed circuit board If the termination resistors are being configured under software control the user will need to rearrange the bit sequence as the 24 bits are downloaded to the MAX335s The software routine shown on the following page demonstrates the download algorithm and the required bit order If the software routine is called with a value argument of 0x000001 the result would be to turn on the A 1 to B 1 termination resistor and turn all others off a value argument of 0x800000 would turn
26. n 1 and 25 MHz Wait state performance of FPGA based registers may be affected by non standard IP bus clock frequencies If the FPGA program requires wait states and the IP bus clock frequencies are not known the recommended approach is to have the FPGA program assume 32 MHz operation and therefore generate sufficient wait states for any lower clock frequency b Tekmicro Page 39 FP DFLEX 10K User s Manual Appendix C Data Sheets This Appendix provides copies of the manufacturer s data sheets for the devices listed below In each case a URL for the Adobe Acrobat PDF data from the manufacturer s Web page is provided the URLs were current as of the date of this manual Altera Application Note 59 Configuring FLEX 10K Devices The FP DFLEX 10K uses Passive Parallel Asynchronous configuration URL http www altera com document an an059 01 pdf Cypress single channel PLL clock synthesizer p n ICD2053BSC The FP DFLEX 10K uses an ICD2053 to generate the alternate FPGA global clock URL ICD2053 http www cypress com pub datasheets icd2053b pdf URL BitCalc http www cypress com pub software bc_3e exe IDT 64K x 16 static RAM p n IDT71016L15PH The 71016 is used to provide local static RAM memory for the FPGA URL http www idt com docs 3210 pdf IDT Octal Bus Switch p n IDT74FST3245 The 3245 is used to switch TTL signals between the A B external I O signals and the DO RI FPGA signals URL http www idt com d
27. nternal timing over using SYNCLK directly Because SYNCLK has no timing relationship to other signals the logic delay through the FPGA is not significant If the user requires an extremely low clock frequency to reduce power for example the user FPGA program can divide SYNCLK and generate a lower frequency output on GCLK2OUT The algorithm for programming the ICD2053 is described in Appendix A The function and timing requirements of the ICD2053 signals are described in the ICD2053 data sheet included in Appendix C k Tekmicro Page 26 FP DFLEX 10K User s Manual Bus Interface The Bus interface consists of the following signals Signal Direction Connection Description D 15 0 To From P1 connector IP data bus FPGA nDMAend IP DMA end of transfer indicator FPGA nStrobe To From P1 connector IP Strobe FPGA The function and timing requirements of all signals are specified in the ANSI VITA 4 1995 specification Copies of ANSI VITA 4 1995 are available from VITA http www vita com k Tekmicro Page 27 FP DFLEX 10K User s Manual Memory Interface The Memory interface consists of the following signals Signal Direction Connection Description MA 16 1 From FPGA IDT71016 A 15 0 Memory address bus MD 15 0 To From IDT71016 D 15 0 Memory data bus FPGA From FPGA IDT71016 nCS Memory Chip Select The function and timing requirements of all signals are determined by the memory dev
28. o all of the IP Logic bus signals The bus interface therefore supports all IP bus cycles including I O Memory Interrupt Acknowledge and DMA Acknowledge cycles The user s FPGA program may use a macrofunction provided by TEK for the IP bus interface or the user may supply their own IP bus program e Memory Interface All of the FP DFLEX 10K models include a 64K x 16 local memory accessible from the FPGA e Initialization Interface The FP DFLEX 10K supports Passive Parallel Asynchronous download to the FLEX10K FPGA device Download is performed by the host processor through the controller s Control Register CR and Status Register SR e I O Interface The FP DFLEX 10K provides an I O interface which is common across all members of the FP FLEX family An interface diagram for the FPGA device is shown below k Tekmicro Page 24 Clock Interface GCLK1 REFCLK SCLK SDATA SYNCLK GCLK2OUT GCLK2 Bus Interface nRESET D 15 0 A 6 1 nBS 1 0 RnW nlDSel nlOSel nMemSel nintSel nDMAck nDMAend nACK nintReq 1 0 nDMAReq 1 0 nError nStrobe Init Interface VCC VCC GND VCC nCONFIG nes CS nSTATUS RDYnBSY CONF DONE nWS nDEV CLR DATA 7 0 FPGA EPF10K20RC240 EPF10K50RC240 EPF10K70RC240 MSEL1 MSELO nCE nRS nCONFIG nes CS nSTATUS RDYnBSY CONF DONE nwS b Tekmicro FP DFLEX 10K User s Manual Memory Interface MA 16 1 MD 15 0 M nCS nOE nWE nBHE nBLE
29. o com Telephone 1 781 270 0808 Facsimile 1 781 270 0813 Mail TEK Microsystems Incorporated One North Avenue Burlington MA 01803 3313 k Tekmicro Page 5 FP DFLEX 10K User s Manual I O Interface VO Pinout The FP DFLEX 10K external interface consists of the signals listed below Signal Name I O Pin Signal Name I O Pin A 1 B 13 2 B 1 A 14 A 2 B 14 B 2 A 15 A 3 B 15 B 3 A 16 A 4 B 16 B 4 A 17 A 5 B 17 B 5 A 18 A 6 B 18 A 19 A 7 B 10 B 7 A 20 A 8 B 20 B 8 A 21 A 9 B 21 A 22 A 10 B 22 B 10 A 23 A 11 B 23 B 11 A 24 A 12 B 24 B 12 Reserved A 13 GND The I O Pin column shows the pin numbers on the IP I O connector These pin numbers typically correspond directly to the IP carrier s external interface connector pin numbers For example a Motorola MVME162 VMEbus carrier maps each IP module s 50 I O pins to a 2x25 header connector with the same pin numbering as the IP I O connector k Tekmicro Page 6 FP DFLEX 10K User s Manual Signal Configurations FP DFLEX 10K modules are available with two different types of I O functions The first type of function Programmable VO may be configured for single ended or differential operation under FPGA control The Programmable I O functions use EIA 485 transceivers but are not compatible with the full common mode voltage range of EIA 485 due to the presence of the programmable single ended circuitry on
30. ock synthesizer The ICD2053 is programmed through two control signals SCLK and SDATA which are under control of the FPGA Configuration of the ICD2053 requires two separate operations 1 Generate a program word based on the reference frequency and desired output frequency 2 Download the program word to the ICD2053 The first step is most easily performed using Cypress s BitCalc software BitCalc is a free Windows based program which generates ICD2053 program words based on the reference frequency and desired output frequency BitCalc is available on Cypress s Web site at http www cypress com The second step is performed by toggling the appropriate FPGA control register bits to control the ICD2053 SDATA and SCLK inputs respectively The ICD2053 accepts and processes serial control data on the SDATA input for each rising edge of the SCLK input The programming sequence requires downloading the following bits in sequence e CD2053 8 bit control word to switch to REFCLK output e CD2053 6 bit control word flag e CD2053 22 bit program word with bit stuffing e CD2053 8 bit control word to accept program word e CD2053 6 bit control word flag e CD2053 8 bit control word to switch to clock synthesizer output e CD2053 6 bit control word flag The FP DFLEX 10K software drivers include C language functions to generate ICD2053 program words and to download the program word to the FP DFLEX 10K The ICD2053 specific portions of
31. ocs 3256 pdf Maxim Serial Controlled 8 Channel SPST Switch p n MAX335 The MAX335 is used to provide programmable termination resistors for the EIA 485 signal pairs Web page http www maxim ic com URL http 209 1 238 250 arpdf 1077 pdf Maxim EIA 485 Transceiver p n MAX1484 The MAX1484 is used to interface with external EIA 485 signals Web page http www maxim ic com URL http 209 1 238 250 arpdf 1790 pdf k Tekmicro Page 40
32. omplete Tested by host in ISR 2 Asserted low by EPLD controller in Config mode when writes are performed to the FPGA data register Connected to IP bus D 7 1 This supports PPA download in Config mode when writes are performed to the Initialization Data Register Connected to controller s DATA 0 This supports PPA download in Config mode when writes are performed to the Initialization Data Register Connected to IP bus reset User FPGA program may enable or disable DEV CLRn function based on user s requirements The function and timing requirements of all signals are determined by the Altera FLEX10K configuration requirements in Passive Parallel Asynchronous mode A copy of Altera Application Note 59 Configuring FLEX 10K Devices is included in Appendix C k Tekmicro Page 29 FP DFLEX 10K User s Manual VO Interface The I O interface consists of the following signals Signs Direction Connection Descripon DO 1 24 To From I O blocks 1 24 Driver Output Connected to A 1 24 FPGA in TTL mode EIA 485 transceiver data input in EIA 485 mode DE 1 24 From FPGA I O blocks 1 24 Driver Enable Connected to EIA 485 transceiver driver enable RI 1 24 To From I O blocks 1 24 Receiver Input Connected to B 1 24 FPGA in TTL mode EIA 485 transceiver data output in EIA 485 mode S485 1 6 From FPGA I O blocks 1 24 TTL vs EIA 485 selection nS485 1 6 From FPGA I O blocks 1 24 TTL vs EIA
33. on the A 24 to B 24 termination resistor and turn all others off k Tekmicro Page 10 FP DFLEX 10K User s Manual TEK s hardware macrofunction for configuration of the termination resistors performs the bit sequence rearrangement automatically as a part of the download function Upon power up the MAX335s are guaranteed to be in the off condition static R ESULT tekfp_dflex10k_set_term TEKFP HANDLE fph WORD32 value TEKFP_DFLEX10K_GENERIC_IOREG ioreg_fpga static const int term_lookup 11 12 9 8 23 21 18 10 16 3 20 2 0 l 15 13 22 Vp 17 6 4 14 5 19 ki int i if fph NULL return FAIL if fph gt ioptr NULL return FAIL ioreg fpga fph gt ioptr if ioreg_fpga gt rev reg w amp CTLR REV IS EPLD return FAIL ioreg_fpga gt crl reg w amp FPGA CRI1 TR DATA ioreg_fpga gt crl reg w amp FPGA CR1 TR CLK ioreg_fpga gt crl reg w amp FPGA CR1 TR ncs for i 0 i 24 i if value amp 1 lt lt term lookup i ioreg_fpga gt crl reg w FPGA CR1 TR DATA lse ioreg_fpga gt crl reg w amp FPGA CRI TR DATA ioreg fpga crl reg w ioreg fpga crl reg w ioreg fpga crl reg w ioreg_fpga gt crl reg w FPGA CR1 TR CLK ioreg fpga crl reg w ioreg fpga crl reg w ioreg fpga crl reg w ioreg fpga crl reg w amp FPGA CR1 TR CLK
34. owing functions Deme Access Descr pen Donn mo frenon 00000000000 ICR 6 Disable Back Door configuration bit See Configuration Options for more information ICR 5 Disable ID Space configuration bit See Configuration Options for more information ICR 4 R W No Set Idle configuration bit See Configuration Options for more information ICR 3 R W No Clear FPGA configuration bit See Configuration Options for more information ICR 2 R W Auto User Mode configuration bit See Configuration Options for more information ICR 1 0 Current mode 00 Reset 01 Config 10 Idle 11 User The Initialization Control Register is cleared upon power up reset of the FP DFLEX 10K but is not modified by IP bus reset except as noted in Configuration Options k Tekmicro Page 21 FP DFLEX 10K User s Manual Initialization Status Register Offset 0x03 D 7 0 The Initialization Status Register ISR provides the following functions Name ems Demon ISR 4 R O FPGA program ready This bit is set by a rising edge of CONF DONE and reset when CONF DONE is cleared ISR 3 R O FPGA pin RDYnBSY 1 FPGA can accept another byte of data 0 FPGA is busy with previous byte of data SR 2 FPGA pin CONF_DONE 1 FPGA has been successfully programmed 0 FPGA has not been programmed yet SR 1 FPGA pin nSTATUS During configuration this bit is high if configuration is proceeding normally and low if an error occurs SR 0 Fre
35. quency of IP clock 0 8 MHz 1 32 MHz For a detailed definition of the meaning of the FPGA initialization pins refer to Altera Application Note AN 59 a copy of which is included in Appendix C Initialization Data Register Offset 0x04 D 7 0 The Initialization Data Register IDR provides the following functions Name access Desio IDR 7 0 W O FPGA initialization data In Config mode each byte of data written to IDR 7 0 is downloaded to the FPGA using Passive Parallel Asynchronous PPA download This register cannot be read k Tekmicro Page 22 FP DFLEX 10K User s Manual I O Space FPGA When the FP DFLEX 10K is in User mode the FPGA program has control of the IP bus All I O space interfaces to the FP DFLEX 10K are defined by the FPGA program Interrupt Space The FP DFLEX 10K supports FPGA generated interrupt requests on both levels 0 and 1 The meaning of each interrupt request and the vector returned during the interrupt acknowledge cycle are determined by the FPGA program and or the host DMA I O Space The FP DFLEX 10K supports FPGA generated DMA requests on both levels 0 and 1 The meaning of each DMA request and the data access performed during DMA acknowledge cycles are determined by the FPGA program Memory Space The FP DFLEX 10K supports IP memory cycles by forwarding the cycles to the FPGA The definition of the memory address space is determined by the FPGA program If the FPGA pro
36. r and a S485 signal for each group of four A B pairs A block diagram of a single A B pair is shown below MAX1484 AD EXTERNAL I O Bix TERMINATION CONTROL L IDT74FST3245 MAX335 Each S485 signal has a corresponding nS485 signal which must always be set as the inversion of the S485 signal The I O functions are implemented with the following devices e Maxim EIA 485 Transceiver p n MAX1484 used for EIA 485 interfacing e Maxim Octal SPST Switch p n MAX335 used for EIA 485 termination e IDT Octal Bus Switch p n IDT74FST3245 used for TTL signal connections Copies of the data sheets for the above devices are included in Appendix C b Tekmicro Page 8 FP DFLEX 10K User s Manual The I O control logic is as follows If the S485 signal for a signal group x y is low the signal group is configured as eight bidirectional TTL signals In this case the DO x y signals are connected to A x y the RI x y signals are connected to B x y and the DE x y signals should be low The switching between A B and DO RI is performed using bidirectional bus switches so the FPGA program may configure DO x y and RI x y as any combination of input or output signals with output signals being either standard TTL open drain open source or tristated depending on the FPGA program If the S485 signal for a signal group x y is high the inter
37. rt an error Write a byte of the FPGA program image to the Initialization Data Register Repeat steps 8 through 10 until all bits have been downloaded Read the ICR and verify that the EPLD controller has entered Idle mode ICR 1 0 equals 10b Read the ISR and verify that nSTATUS is high and CONF DONE ISR 2 is high Set ICR 1 0 to User mode 11b Be sure to maintain the desired state of ICR 7 2 Read the ID and revision registers of the FPGA and verify that the correct values are reported k Tekmicro Page 16 FP DFLEX 10K User s Manual Download Sequence Non Compliant FPGA Programs The following download sequence may be used to initialize the FP DFLEX 10K module and download the user FPGA program when the FPGA program is non compliant 1 Start with either IP bus reset or power up reset With a non compliant FPGA there is no guaranteed method of confirming that the EPLD controller has control of the IP bus This procedure assumes that the No Clear FPGA configuration bit is not set and that the EPLD controller therefore has control of the IP bus 2 Setthe Initialization Control Register ICR to zero 3 Set the ICR 6 2 bits to the desired operating configuration Because the FPGA is non compliant the Auto User Mode No Set Idle Disable ID Space and Disable Back Door bits should be set Depending on the specific features of the non compliant FPGA program the host may be able to leave some of these bits cleared
38. set This is provided for applications that either need to continue operation after an IP bus reset or which need to perform a controlled shutdown under FPGA control b Tekmicro Page 14 FP DFLEX 10K User s Manual No Set Idle ICR 4 This bit is only significant if the No Clear FPGA is set If the No Clear FPGA bit is set and the No Set Idle bit is set the EPLD controller will remain in the current mode after an IP bus reset If the No Clear FPGA bit is set and the No Set Idle bit is cleared the EPLD controller will enter Idle mode after an IP bus reset This bit should be set if the FPGA program is non compliant Disable ID Space ICR 5 This bit controls whether the EPLD controller or the FPGA responds to ID cycles in User mode The EPLD controller always responds to ID cycles in non User modes If this bit is cleared the EPLD controller monitors the IP bus and dynamically switches from FPGA to EPLD control of the IP bus to respond to ID cycles This allows the FPGA program to avoid the need for supporting ID cycles and also ensures that a consistent set of ID data is provided before and after FPGA initialization If this bit is set the EPLD controller ignores ID cycles in User mode The FPGA may or may not respond to ID cycles depending on the user s application requirements This bit should be set if the FPGA program is non compliant Disable Back Door ICR 6 This bit controls whether a write to I O register zero with a
39. t 4 fph gt H_PARM_INTCLK_ICD2053_CTL I Download program word to the ICD2053 if tekfp flex icd2053 cfg fph OK return FAIL return OK b Tekmicro Page 38 FP DFLEX 10K User s Manual Appendix B Non Standard IP Clock Frequencies The ANSI VITA 4 1995 specification allows the IP clock signal to operate at either 8 or 32 MHz Some carrier cards have the ability to operate at other clock frequencies For example the Motorola MVME162 4xx series has a 25 MHz 68040 processor and the IP interface controller can operate at either 8 or 25 MHz Operation at 25 MHz does not conform to the IP specification but may be desirable if the user assesses the risks involved This Appendix discusses the performance of the FP DFLEX 10K when using a non standard IP clock frequency These performance characteristics may be changed with future revisions of the card There is one implementation area where the FP DFLEX 10K is affected by the IP clock frequency e The ICD2053 reference clock divisor is determined by the ISR 0 status bit which is in turn determined by a precision time delay circuit which discriminates between 8 and 32 MHz The automatic setting of ISR 0 is only valid at IP clock frequencies of 8 and 32 MHz If a non standard IP clock frequency is being used the user should read ISR 0 after reset to determine the divisor being used to generate the 4 MHz reference clock and verify that the resulting clock is betwee
40. t FPGA is outlined below If the FPGA is compliant the host will typically not use the Auto User Start bit and allow the EPLD controller to switch to Idle mode after the FPGA program image has been downloaded The host can then verify that CONF DONE is asserted and that nSTATUS is not asserted configure any desired modes in the ICR register and then switch to User mode under host control User In User mode the EPLD controller has relinquished control of the IP bus to the FPGA and the user FPGA program is configured and running k Tekmicro Page 12 FP DFLEX 10K User s Manual The current mode determines the state of several internal signals as shown in the table IP Bus Cycles nCONFIG CS below Mode dde All cycles under EPLD control Low CLKFAST User All cycles under FPGA control High High CLKFAST ID cycles handled by EPLD if Disable ID Cycles configuration bit is low CLKFAST Low for 8 MHz IP clock high for 32 MHz IP clock Compliant FPGA Programs To be considered compliant for the purposes of the discussion in the manual an FPGA program is required to e Monitor the CS input and disable IP bus cycles and tristate all IP bus control outputs when the CS input is low e Implement a read only ID register at offset zero The ID register may contain any value selected by the user e Implement a read only or read write revision register at offset one The revision register may contain any value
41. the software drivers are shown for reference on the following pages The current release of the FP DFLEX 10K software drivers are available from TEK s technical support department b Tekmicro Page 35 FP DFLEX 10K User s Manual The first function is used to download the specified number of bits from the specified value LSB first This function is used by the higher level functions to download control words control word flags and program words This is the only function that actually accesses the FP DFLEX 10K hardware This routine downloads count the FastPack defined by the handle bits from fph value to the ICD2053 in static RESULT tekfp flex icd2053 cfg bits TEKFP HANDLE fph TEKFP FLEX IOREG ioreg if fph NULL return FAIL if fph gt ioptr NULL return FAIL ioreg fph gt ioptr while count Update the SDATA output bit int count WORD32 value ioreg gt clkr_cr reg b h amp CLKR ICD2053 SDATA if value amp 1 Generate a rising edge on SCLK ioreg clkr cr reg b h Make sure that we meet setup hold it guarant possible IP cycle time ioreg clkr cr reg b h ioreg clkr cr reg b h ioreg gt clkr_cr reg b h ioreg gt clkr_cr reg b h ioreg gt clkr_cr reg b h ioreg gt clkr_cr reg b h ioreg gt clkr_cr reg b h ioreg gt clkr_cr reg b h Deassert SCLK and ioreg
42. value of OXXX4A causes the EPLD controller to switch from User to Idle mode This back door may be used to regain control from the FPGA program after entering User mode If this bit is cleared the EPLD controller monitors the IP bus and switches from User to Idle mode when an IP I O write cycle is detected to address zero with D 7 0 equal to Ox4A If this bit is set the EPLD controller never switches from User to Idle mode except possibly through an IP bus reset If the user FPGA program is compliant register zero contains a read only ID value for the FPGA This makes a write to register zero a safe back door because the host would have no reason to perform this operation If the user FPGA program uses register zero as a read write register or if otherwise non compliant this bit should be set to disable the back door function All of the configuration bits are controlled through the ICR register The ICR register is guaranteed to power up in the cleared state but is not modified by an IP bus reset The host software should set the ICR register to the desired state as a part of module initialization Note that if the No Clear FPGA No Set Idle and Disable Back Door bits are all set there is no method to leave User mode other than powering down the FP DFLEX 10K module k Tekmicro Page 15 FP DFLEX 10K User s Manual Download Sequence Compliant FPGA Programs The following download sequence may be used to initialize t
Download Pdf Manuals
Related Search
Related Contents
Kolcraft RF002 User's Manual Manuale - Tramsoft Bedienungsanleitung Sony-Ericsson W350i ANEXO A MANUAL DEL USUARIO 2015 Application Smart Music Control Mode d`emploi Samsung HW-C700 Benutzerhandbuch Superstar Nudge - J-h Philips AJ5300D TITAN EXE-MINI M0S06246_I - Servizio Assistenza Tecnica Polti Copyright © All rights reserved.
Failed to retrieve file