r> [\ /\ PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET 4 PMC-1990445 ISSUE FRAME ENGINE AND DATA LINK MANAGER 84P672 PM7384 FREEDM-84P672 FRAME ENGINE AND DATALINK MANAGER 84P672 DATASHEET PROPRIETARY AND CONFIDENTIAL ISSUE 4: JULY 2000 PMC-Sierra, inc. 105 - 8555 Baxter Place Burnaby, BC Canada V5A 4V7 604.415.6000 PMCSS00239r? [\ fi PMC-Sierra, Inc. PM7384 FREEDM-84P672 RR DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 CONTENTS 1 FEATURES 1.00... ceecceeeeseseecsseeseeeeeeeeaaaaneecesssaeeeceneseseseascncepeneeeseseeeeesseeees 1 2 APPLICATIONS ........ eee cesceeeseceteeceetereeeeeeecesaaeeesaeeecaeseaeseasenesesersaeereenaeees 3 3 REFERENCES. ...00.......ceecssceeseceseeeeceeneanecaeeessaeseesaeeesaesessesseeeeeeeeeeeeeteessanees 4 4 APPLICATION EXAMPLES ....00...... eee eceecreee seen seceeeeesenesnaeeeteeeaetesenenens 5 5 BLOCK DIAGRAM ............::cccecseeeeeteceeeeeceneeeteesennesteeeesaneceneentaeeeeeteteesenees 6 6 DESCRIPTION ......0.:.eceeseccseeeeeesseneesaneneeseseeeeeesseessessaeesasseteeeeseetteeeeaeees 7 7 PIN DIAGRAM... cece eee cece eee e scene eee cesagsaeseneenecesaescaeeesnneseseneneneaeetene 9 8 PIN DESCRIPTION...0000....eec cess cece cee neeecepeseeeeecesesaeeesaeepsaetesnaseaaeenenanaaes 10 9 FUNCTIONAL DESCRIPTION. ..0..... cece sce cesseeeesseeseeeseeteseneeeeeteeenereeesaes 33 9.1 SCALEABLE BANDWIDTH INTERCONNECT (SBI) NERA CE 9.2 HIGH-LEVEL DATALINK CONTROL (HDLC) PROTOCOL ........ 34 9.3. SBI EXTRACTER AND PISO...........eeeeccceeeeeeeseeseeeeseeeenaeeaeseennaes 35 9.4 RECEIVE CHANNEL ASSIGNER ...00... cece eenereneeeeeeteees 35 9.4.1 LINE INTERFACE. ......... cee eee ceseereeenseneeeeeeenteanees 37 9.4.2 PRIORITY ENCODER .............cceecseceseeeeeeeeeeeeeeeneees 38 9.4.3 CHANNELASSIGNER......00..... cece ceeteesseteetereeees 38 944 LOOPBACK CONTROLLER... eeeeeeeee rere 38 9.5 RECEIVE HDLC PROCESSOR / PARTIAL PACKET BUFFER... 38 9.5.1 HDLC PROCESSOR ..........c ccc eee eeeeeneneaees 39 9.5.2 PARTIAL PACKET BUFFER PROCESSOR ................. 39 9.6 RECEIVE DMA CONTROLLER ........0..... cc ecesceseeeesseneeaeeeeesenees 41 9.6.4 DATA STRUCTURES. .........0ecc ce ceeeesse cent teseeeeeeeeseenees 42 PROPRIETARY AND CONFIDENTIAL ir ~ [\ fi \ PMC-Sierra, inc. PM7384 FREEDM-84P672 EE DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 9.6.2 DMATRANSACTION CONTROLLER ...........cc:ccccceeees 52 9.6.3. WRITE DATA PIPELINE/MUX ........0..0...c:ccccceseeeeeseneeees 52 9.6.4 DESCRIPTOR INFORMATION CACHE ................000 52 9.6.5 FREE QUEUE CACHE .....0. cc cceeseeseseeeeesesseeeeees 53 9.7 PCICONTROLLER....... cece cecceseeeeeeecaeeeeeeetereeesersieeesessanteaee 53 9.7.1 MASTER MACHINE.............ccecceceeeceeeseeeeteseeeseeessaneeeeans 54 9.7.2 MASTER LOCAL BUS INTERFACE .....00..... cece 56 9.7.3 TARGET MACHINE ..00... ee eeeeeeeeeeeecereesereeeseeeees 57 9.7.4 CBI BUS INTERFACE .0.0... ee eeeceeeeeerteeeeeeeneees 59 9.7.5 ERROR/ BUS CONTROL ...00o. eee eeeeeeeeeeeeeenes 59 9.8 TRANSMIT DMA CONTROLLER. ...00.....cccececcsceeceeeeeeeseeseneeeeens 59 9.8.1 DATA STRUCTURES. ..........eeeceecesseceeeeeeeeeeeeeeseeteneeeeses 60 9.8.2 TASK PRIORITIES 0.00... eee seeceeeeeeeeeeeesteeneenesseeees 72 9.8.3 DMATRANSACTION CONTROLLER .....0...... cee 72 9.8.4 READ DATAPIPELINE ..........0 eee eeeeeeeeeeeeeeeeeenenes 72 9.8.5 DESCRIPTOR INFORMATION CACHE ....0 ee 72 9.8.6 FREE QUEUE CACHE ...... eee eenerenneeeeeeeees 73 9.9 TRANSMIT HDLC CONTROLLER / PARTIAL PACKET BUFFER73 9.9.1 TRANSMIT HDLC PROCESSOR ........ eee ceeeeseeeeeneeees 73 9.9.2 TRANSMIT PARTIAL PACKET BUFFER PROCESSOR74 9.10 TRANSMIT CHANNELASSIGNER......000 ee eee eeeeneeeeeeeeeeenees 76 9.10.1 LINE INTERFACE uo... eee ssseeseseeeteeetseneeeteseneeeees 78 9.10.2 PRIORITY ENCODER . 00... eee eee eeeereeteneteerenees 79 9.10.3 CHANNEL ASSIGNER...000. ee eeeeceeeeeeeeeeseneeeenenees 19 PROPRIETARY AND CONFIDENTIAL ii[ Mc PMC-Sierra, Inc. PM7384 FREEDM-84P672 eee DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 9.11 SBI INSERTER AND SIPO........ ee ceceeeceeeeeeeeeeceeeeeteneeeteeessenes 79 9.12 PERFORMANCE MONITOR....000.... cc eceeeeeeeeeeeeeeenneeeeseteeseaeeeeees 80 9.13 JTAG TEST ACCESS PORT INTERFACE ..........::::::cceesreeteeeeee 80 9.14 PCI HOST INTERFACE ...000.....c.eecceeceeeseeeeeeeeeeeeeeeeeseseeeesetnneeas 80 10 NORMAL MODE REGISTER DESCRIPTION ........... ce eeeeeeeeeerereenees 87 10.1 PCl HOST ACCESSIBLE REGISTERS ......... ec eeseeeeeeeeeeteeee 87 11 PC] CONFIGURATION REGISTER DESCRIPTION ........... eee 284 11.1 PC] CONFIGURATION REGISTERS. ....0..... ce. cccseeeeseseeeeseeeeeeees 284 12 TEST FEATURES DESCRIPTION Qo... cee cceeeeeseneeereesenesetnetstens 295 12.1 TEST MODE REGISTERS... ee ceeceeeeeeeeeeeeeeesseeeereneeeseeees 295 12.2 JTAG TEST PORT 00.0... cece ceeeee esse ceseseneeseeeeeeaneeeeseseeeseaeensnetanenes 297 12.2.1 IDENTIFICATION REGISTER ........... cc eeeeeeeeeeees 297 12.2.2 BOUNDARY SCAN REGISTER......... eee 298 13 OPERATIONS Wun... eece cece nec eeeneeceeeeeseseeseeteeeeenaaaugeseaeeseenseuereneeny 314 13.1 JTAG SUPPORT .......... ce cce eee cce eens cece cece eeseee a eee neeeeseseeeeernerenens 314 14. FUNCTIONAL TIMING... cece cece seeecesesesenereeeeaaesaeeeanenseueseneeneeee 321 14.1. SBI DROP BUS INTERFACE TIMING ....... eee eee cceeseeeeeenene 321 14.2 SBIADD BUS INTERFACE TIMING ...W eee eee ee te teres 322 14.3 RECEIVE LINK TIMING .... 0. eee c cece ences eeneanaeaeeeenneseeaae 322 14.4 TRANSMIT LINK TIMING ..00... ce cceeeceeeeeeeeeeseeeseseneereneeas 323 14.5 PCILINTERFACE ue ccec ce ceeseeeeseeseneeeeeeeeuseeeeceesseeeeesneesenns 323 15 ABSOLUTE MAXIMUM RATINGS 1.000... cece cee eeesssereereeeeeeeeneeereees 333 16 D.C. CHARACTERISTICS 0... c reese eeaaeesaeeeeeenereeeenereneee 334 17 FREEDM-84P672 TIMING CHARACTERISTICS ...........: cc ceeeseeeeeeees 336 PROPRIETARY AND CONFIDENTIAL iir- [\ /| PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 18 ORDERING AND THERMAL INFORMATION. ............0...:::::ceeteeenenes 344 19 MECHANICAL INFORMATION ...000......ecceeeseeeeccecseecceeeeceeeeeeesteseceeeeseeees 345 PROPRIETARY AND CONFIDENTIAL ivr ~ [\ /| q PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 LIST OF FIGURES FIGURE 1 HDLC FRAME... cece ccccecsee cece seeessaeereaeaaaeaaeeseseneesneneneeeeees 34 FIGURE 2 CRC GENERATOR ....0 occ eccceeesseeeeceseeenaeeseneeeseaueneeessaneseeseeeeaees 35 FIGURE 3 PARTIAL PACKET BUFFER STRUCTURE .....0... ee eeseeeeeeteee 40 FIGURE 4 RECEIVE PACKET DESCRIPTOR... ee eeeeeeeeeeeeeeeeeeeteeetaees 42 FIGURE 5 RECEIVE PACKET DESCRIPTOR TABLE ............::::ceseceeseeeereees 45 FIGURE 6 RPDRF AND RPDRR QUEUES... ieee eeceseseeerteereeereeneeees 48 FIGURE 7 RPDRR QUEUE OPERATION ....00.... ec eeceeeeeeeeeeeseeeeetseeeeeeteeeenees 50 FIGURE 8 RECEIVE CHANNEL DESCRIPTOR REFERENCE TABLE......... 51 FIGURE 9 GPIC ADDRESS MAP.........cc cece cee seeeseneeseeeesneasaneeseseesenneeerees 58 FIGURE 10 TRANSMIT DESCRIPTOR... ees eceeeseesesseeeuerereteeeteeteees 60 FIGURE 11 TRANSMIT DESCRIPTOR TABLE.............ceeseeseeceeseeneeeenetseenanes 64 FIGURE 12 TDRR AND TDRF QUEUES 0... ec cee eeeeneeeeeeneesteeeeeeenees 66 FIGURE 13 - TRANSMIT CHANNEL DESCRIPTOR REFERENCE TABLE.... 68 FIGURE 14 TD LINKING ooo eee cere re eet ee eeneenenereaeseseersateeetags 71 FIGURE 15 PARTIAL PACKET BUFFER STRUCTURE ......0. ee 75 FIGURE 16 INPUT OBSERVATION CELL (IN_CELL) ........ ee 311 FIGURE 17 OUTPUT CELL (OUT_CELL)...... eee cceesesreeeecrenaereetenens 312 FIGURE 18 BI-DIRECTIONAL CELL (IO_CELL).......0. cece eeeseeceeeseeseseeeeeees 312 FIGURE 19 - LAYOUT OF OUTPUT ENABLE AND BI-DIRECTIONAL CELLS 3 FIGURE 20 BOUNDARY SCAN ARCHITECTURE ........ eee eee eeeeeseeeeeeeeeens 315 FIGURE 21 TAP CONTROLLER FINITE STATE MACHINE ...........0. eee 317 FIGURE 22 T1/E1 DROP BUS FUNCTIONAL TIMING ........... ec eeeeeeereees 321 PROPRIETARY AND CONFIDENTIAL vr [\ /I Y PMC-Sierra, Inc. PM7384 FREEDM-84P672 a DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 FIGURE 23 - DS3 DROP BUS FUNCTIONAL TIMING ............ecececeeeseeesseneees 321 FIGURE 24 - DS3 ADD BUS ADJUSTMENT REQUEST FUNCTIONAL TIMING eee an eee eee eee eeeeeceesceeccaeeeseseesaeeseseessesssasaeeseseesecueveaeeseeeseaaasaaaeeeeeseaaagedsenenss 322 FIGURE 25 - RECEIVE LINK TIMING 0... eee ee cecesneetenceeeeecssseeeeeseseessaees 323 FIGURE 26 TRANSMIT LINK TIMING... eee cctcteeeeeeeressssseseeeseseeeseees 323 FIGURE 27 PCI READ CYCLE ooo... eee eeececeeseeseeeeeeereeseesesteeecstaneeneesnees 325 FIGURE 28 PCI WRITE CYCLE... ee eeeeesseceeecneeeeeeeeeeeeeeecesesenseeeceeeees 326 FIGURE 29 PCI TARGET DISCONNECT ....o... eee ee eeeeeeeeeeeseeeeseeerecteeenees 327 FIGURE 30 PCI TARGET ABORT ............eeseeeeeeseeteeeeeteeereeeeeseeetsteeeseeeneas 328 FIGURE 31 PCI BUS REQUEST CYCLE... ecceneeeeeeseteeeessseesteeens 328 FIGURE 32 PCI INITIATOR ABORT TERMINATION .......... ee eeeeeeeeeeteees 329 FIGURE 33 PCI EXCLUSIVE LOCK CYCLE ooo... eee eeeeeeeeteeeeeeteteteenees 330 FIGURE 34 PCI FAST BACK TO BACK... eececeeeeeeeeeceseseeeeseneeenrenaees 332 FIGURE 35 SBI FRAME PULSE TIMING..000... ce eee e eee eeeeeseeeeeanereneeaeees 337 FIGURE 36 SB! DROP BUS TIMING ..... ee eee cee eer eeeeeeeeaeeeteeneeeeeeeeea 338 FIGURE 37 SBI ADD BUS TIMING ...... ee eee eeceene eee eeeeneeeeetneesnreeees 339 FIGURE 38 SBI ADD BUS COLLISION AVOIDANCE TIMING................... 339 FIGURE 39 RECEIVE DATA TIMING... cece tees eeeee eee sereseeeeesenreraeeea 340 FIGURE 40 TRANSMIT DATA TIMING .....00.... 0. eee eee eee eee cee seeaeeeeennaerseeees 340 FIGURE 41 PCI INTERFACE TIMING... cece cece ceeecesaneneeaeeenereaees 342 FIGURE 42 JTAG PORT INTERFACE TIMING Wu... eee eeereeeneneaees 343 FIGURE 43 352 PIN ENHANCED BALL GRID ARRAY (SBGA).................. 345 PROPRIETARY AND CONFIDENTIAL virl A ra" PMC-Sierra, inc. PM7384 FREEDM-84P672 aaa DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 LIST OF TABLES TABLE 1 SBI INTERFACE SIGNALS (30)......... eee eeeecseeceeeeeesieeessensaeeenetees 10 TABLE 2 CLOCK/DATA INTERFACE SIGNALS (15) .......0::eccceesseeeeesettteeees 16 TABLE 3 PC] HOST INTERFACE SIGNALS (52)............:ccccceceeesetetessteeeteees 18 TABLE 4 MISCELLANEOUS INTERFACE SIGNALS (160).............ceeeeeee 27 TABLE 5 PRODUCTION TEST INTERFACE SIGNALS (31)... eee 28 TABLE 6 - POWER AND GROUND SIGNALS (64)....0.......ceeeceeeeeeentetteerees 30 TABLE 7 SBI SPE/TRIBUTARY TO RCAS LINK MAPPING ......... eee 36 TABLE 8 RECEIVE PACKET DESCRIPTOR FIELDS ....00.... ee eeeceeesrereeeeee 43 TABLE 9 RPDRR QUEUE ELEMENT ....0...0.... ce ecsccececeesreeceseeseeeesereeeeeeeees 49 TABLE 10 RECEIVE CHANNEL DESCRIPTOR REFERENCE TABLE rei TABLE 11 TRANSMIT DESCRIPTOR FIELDS......... 0. eeecesececeseeteeeteeeeeeeee 61 TABLE 12 TRANSMIT DESCRIPTOR REFERENCE ............c ee eeseeeeeereeeee 67 TABLE 13 TRANSMIT CHANNEL DESCRIPTOR REFERENCE TABLE FIELDS ooo cece eee e eee ne ee ee aee ste aaa ee seaaaaaaaaeasegseeaeeseceeesseeseeeetees 69 TABLE 14 SBI SPE/TRIBUTARY TO TCAS LINK MAPPING... 77 TABLE 15 NORMAL MODE PCI HOST ACCESSIBLE REGISTER MEMORY MAP. ce ce errr ee errr neneeceee ee ecsaeease aaa eeaaee eee seaeeneesensedsuneetesseeaeeeeaeas 81 TABLE 16 PCI CONFIGURATION REGISTER MEMORY MAP.....0.0........- 85 TABLE 17 SPE TYPE CONFIGURATION .....0........::scsesseeeesseeessseetsseraeeneeaes 118 TABLE 18 FASTCLK FREQUENCY SELECTION. ...000...eccccecceeeeeeereneceeees 119 TABLE 19 SPE TYPE CONFIGURATION ..........ccescesceeesesseeeeeseeesueensetenetenes 121 TABLE 20 FASTCLK FREQUENCY SELECTION... cece eeseeseeeeteeeees 121 TABLE 21 BIG ENDIAN FORMAT ...0000. i eeccee cece cece eee ee ne aeeneenseeseeseeeeneaenaas 123 PROPRIETARY AND CONFIDENTIAL vifr- [\ v/ c" PMC-Sierra, Inc. PM7384 FREEDM-84P672 | DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 TABLE 22 LITTLE ENDIAN FORMAT ......sssscsssessssssssseceesseseveereceeseeesseeeesseee 123 TABLE 23 SBI MODE SPE1 CONFIGURATION .......ccceccccssesesseeessseeeessssseees 132 TABLE 24 SBI MODE SPE2 CONFIGURATION ......scssecscessesesseecessvesessssesens 136 TABLE 25 SBI MODE SPE3 CONFIGURATION .......ccsecccssecscsseeessssecessvsseens 140 TABLE 26 CRC[1:0] SETTINGS ......ccccscceessssssesesssscesssceesecssneeseeeesereessvetessen 150 TABLE 27 RPQ_RDYN[2:0] SETTINGS .....ccccccssssscsssesecesecsseessssesssseresesssssees 161 TABLE 28 RPQ_LFN[1:0] SETTINGS .....cccccccccssssssecsecsceseescsseeesssetecssseseees 162 TABLE 29 RPQ_SFN[1:0] SETTINGS .....csccsssscsssssssecsscesessesssseecerseeesersseees 162 TABLE 30 TDQ_RDYN[2:0] SETTINGS .....ccsccccsscsssessecesessesssseesesseeeessseseees 196 TABLE 31 TDQ_FRN[1:0] SETTINGS .....ccscccccscsssscessseseeseeseeeerecseseecsuvereeeen 196 TABLE 32 CRC[1:0] SETTINGS .....cscecccscessssssssessessssseseresessnesessesessseresssseenen 224 TABLE 33 FLAG[2:0] SETTINGS .o..ccccccssessssssssssssscsssecsecsecsevssssevesssesesssveseess 230 TABLE 34 LEVEL[3:0/ TRANS SETTINGS .....ccccccsscscsscssesssesssseessseeeesssseeeen 232 TABLE 35 SBI MODE SPE1 CONFIGURATION .......-ssesscesssseseeeessetesseeeeeee 248 TABLE 36 SBI MODE SPE2 CONFIGURATION .......cesccccssesssseessetessseeeseeen 252 TABLE 37 SBI MODE SPE3 CONFIGURATION .......c.sccccsssessssseesssseessssseees 256 TABLE 38 TRIB_TYP ENCODING ou.....ccesesssssssssssssssesecssessesesssessseressseeessen 276 TABLE 39 TRIB_TYP ENCODING ou... ecsccessssssssessssssseesecssessesesssesssssessssssseees 283 TABLE 40 TEST MODE REGISTER MEMORY MAP... .sccscsssecssssesssssseeees 296 TABLE 41 INSTRUCTION REGISTER.....ccsccccsssssssecsessesesssetessessssstessseesen 297 TABLE 42 BOUNDARY SCAN CHAIN u...scscccssssssseessseseesseseesssecsssesssseesseen 298 TABLE 43 FREEDM-84P672 ABSOLUTE MAXIMUM RATINGS ....0.......0- 333 TABLE 44 FREEDM-84P672 D.C. CHARACTERISTICS .......esccessseeeceeeeee 334 TABLE 45 CLOCKS AND SBI FRAME PULSE (FIGURE 35).......0:..cec0 336 PROPRIETARY AND CONFIDENTIAL villr- [\ f\ PMC-Sierra, Inc. PM7384 FREEDM-84P672 a DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 TABLE 46 SBI DROP BUS (FIGURE 36) ...000... oe eee eee eeeeeretneeeeeeeeeeeey 337 TABLE 47 SBI ADD BUS (FIGURE 37 TO FIGURE 38)........ cere 338 TABLE 48 CLOCK/DATA INPUT (FIGURE 39)...0...... cece eeeeeeseereeeeeeeeeeee 340 TABLE 49 CLOCK/DATA OUTPUT (FIGURE 40)..0.... 0... ee seeseeeterteeeeeee 340 TABLE 50 PCI INTERFACE (FIGURE 41)... eee ees eee reeeeeeeeeeeen 341 TABLE 51 JTAG PORT INTERFACE (FIGURE 42)........... 0. eeseeeesseeneeeees 342 TABLE 52 FREEDM-84P672 ORDERING INFORMATION... eee 344 TABLE 53 - FREEDM-84P672 THERMAL INFORMATION ....00.... eee 344 PROPRIETARY AND CONFIDENTIALr> [\ /\ PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 1 FEATURES e Single-chip multi-channel HDLC controller with a 66 MHz, 32 bit Peripheral Component Interconnect (PCI) Revision 2.1 bus for configuration, monitoring and transfer of packet data, with an on-chip DMA controller with scatter/ gather capabilities. e Supports up to 672 bi-directional HDLC channels assigned to a maximum of 84 channelised or unchannelised links conveyed via a Scaleable Bandwidth Interconnect (SBI) interface. e Data on the SBI interface is divided into 3 Synchronous Payload Envelopes (SPEs). Each SPE can be configured independently to carry data for either 28 T1/J1 links, 21 E1 links, or 1 unchannelised DS-3 link. e Links in a SPE can be configured individually to operate in a clear channel mode, in which case all framing bit locations are assumed to be carrying HDLC data. e Links in an SPE can be configured individually to operate in channelised mode, in which case, the number of time-slots assigned to an HDLC channel is programmable from 1 to 24 (for T1/J7 links) and from 1 to 31 (for E1 links). e Supports three bi-directional HDLC channels each assigned to an unchannelised link with arbitrary rate link of up to 51.84 MHz when SYSCLK | is running at 45 MHz. Each link may be configured individually to replace one of the SPEs conveyed on the SBI interface. e For each channel, the HDLC receiver supports programmable flag sequence detection, bit de-stuffing and frame check sequence validation. The receiver supports the validation of both CRC-CCITT and CRC-32 frame check sequences. e For each channel, the receiver checks for packet abort sequences, octet aligned packet length and for minimum and maximum packet length. The receiver supports filtering of packets that are larger than a user specified maximum value. e Alternatively, for each channel, the receiver supports a transparent mode where each octet is transferred transparently to host memory. For channelised links, the octets are aligned with the receive time-slots. e For each channel, time-slots are selectable to be in 56 kbits/s format or 64 kbits/s clear channel format. PROPRIETARY AND CONFIDENTIAL 1DATASHEET PMC-1990445 r? [\ fi PMC-Sierra, Inc. PM7384 FREEDM-84P672 ee ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 For each channel, the HDLC transmitter supports programmable flag sequence generation, bit stuffing and frame check sequence generation. The transmitter supports the generation of both CRC-CCITT and CRC-32 frame check sequences. The transmitter also aborts packets under the direction of the host or automatically when the channel underflows. Supports two levels of non-preemptive packet priority on each transmit channel. Low priority packets will not begin transmission until all high priority packets are transmitted. Alternatively, for each channel, the transmitter supports a transparent mode where each octet is inserted transparently from host memory. For channelised links, the octets are aligned with the transmit time-slots. Provides 32 Kbytes of on-chip memory for partial packet buffering in both the transmit and receive directions. This memory may be configured to support a variety of different channel configurations from a single channel with 32 Kbytes of buffering to 672 channels, each with a minimum of 48 bytes of buffering. Supports PCI burst sizes of up to 256 bytes for transfers of packet data. Provides a standard 5 signal P1149.1 JTAG test port for boundary scan board test purposes. Supports 3.3 Volt PCI signaling environment. Supports 3.3 Volt I/O on non-PCl signals. Low power 2.5 Volt 0.25 um CMOS technology. 352 pin enhanced ball grid array (SBGA) package. PROPRIETARY AND CONFIDENTIAL 2rf fi ae PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 2 APPLICATIONS e IETF PPP interfaces for routers e Frame Relay interfaces for ATM or Frame Relay switches and multiplexors e FUNI or Frame Relay service inter-working interfaces for ATM switches and multiplexors. e Internet/Intranet access equipment. e Packet-based DSLAM equipment. e Packet over SONET. e PPP over SONET. PROPRIETARY AND CONFIDENTIAL 3rit fi c PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER &84P672 3 REFERENCES 1. International Organization for Standardization, ISO Standard 3309-1993, "Information Technology Telecommunications and information exchange between systems High-level data link control (HDLC) procedures Frame structure", December 1993. 2. RFC-1662 "PPP in HDLC-like Framing" Internet Engineering Task Force, July 1994. 3. PCI Special Interest Group, PCI Local Bus Specification, June 1, 1995, Version 2.1. 4. PMC-981125 High Density T1/E1 Framer with Integrated VT/TU Mapper and M13 Multiplexer (TEMUX) Data Sheet, PMC-Sierra Inc. PROPRIETARY AND CONFIDENTIAL 4r oi f\ PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET aa PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 4 APPLICATION EXAMPLES 28xT1 Packet Memory PM7384 21xE1 FREEDM-84P672 PCI Controller / DS3 SBI PCI Bus Bus " PM8315 2 wee Packet io. a wo OCc-3 cbs. ae Ke) Memory one so MM TEMUX ae ra ht ay FREEDM-84P672 Ww ra PM8315 PCl TEMUX SBI Controller / Bus Bus Arbiter PCI Bus PROPRIETARY AND CONFIDENTIAL 5PM7384 FREEDM-84P672 PMC-Sierra, inc. PM ISSUE 4 DATASHEET FRAME ENGINE AND DATA LINK MANAGER 84P672 PMC-1990445 BLOCK DIAGRAM 5 N399W OW1319d W119d GLNHDd auyas auuad @iN5 gd3y @#901 yasdi g13SAaqd 8dOls gAdui GAGHL @3awvys dvd loelaago [o:Lelav 0 kK O~ An AO0Se FREERF > +n} nr pe} Odis 19s Ee > < (zz99 WW) (z29710HL) (ecoevou uesy vwa lee /10sse001g PW] euueUD lL las i wwsuesl yusues wusuedl i Oren : pe! OdiS 18S be : | (Z2991d9) (NOWd) abl Ja|}0U05 JOWUOW ag aouRWOe <4 -<--| ms ne (2z9Svou Osta iss bat <4 \(zz9ovw) (ZZ97GHu) <> | L2HONUCD Jayng jaxoeg soubissy ay OSId 19S jag pena j + vWOa feed / 108S80001d < onooou a > eAeney D10H eneoey , t{ osia as fagl .* i PA ZEB 48E5 ao w at ol Coor8d Be gSG go8 2 nwo w x oO [o:zla1 fo:ZIMIOL fo: FLoaLaav AALLOVY bay Lsnarv dav GAV dv lo-zivivay daa sad ale) fo:zlvivaa fo:zlau lo:zInq904Y PROPRIETARY AND CONFIDENTIALrfl fi c* PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 6 DESCRIPTION The PM7384 FREEDM-84P672 Frame Engine and Datalink Manager device is a monolithic integrated circuit that implements HDLC processing, and PCI Bus memory management functions for a maximum of 672 bi-directional channels. The FREEDM-84P672 may be configured to support channelised T1/J1/E1 or unchannelised DS-3 traffic on up to 84 links conveyed via a Scaleable Bandwidth Interconnect (SBI) interface. The SBI interface transports data in three Synchronous Payload Envelopes (SPEs), each of which may be configured independently to carry either 28 T1/J1 links, 21 E71 links or a single DS-3 link. For channelised T1/J1/E1 links, the FREEDM-84P672 allows up to 672 bi- directional HDLC channels to be assigned to individual time-slots within each independently timed T1/J1 or E1 link. The channel assignment supports the concatenation of time-slots (N x DSO) up to a maximum of 24 concatenated time- slots for a T1/J1 link and 31 concatenated time-slots for an E1 link. Time-slots assigned to any particular channel need not be contiguous within a T1/J1 or E1 link. Unchannelised DS-3 links are assigned to a single HDLC channel. Additionally, links may be configured independently to operate in an unframed or clear channel mode, in which the bit periods which are normally reserved for framing information in fact carry HDLC data. In unframed mode, links operate as unchannelised (i.e. the entire link is assigned to a single HDLC channel) regardless of link rate. The FREEDM-84P672 supports mixing of channelised T1/J1/E1 and unchannelised or unframed links. The total number of channels in each direction is limited to 672. The maximum possible data rate over all links is 134.208 Mbps (which occurs with three DS-3 links running in unframed mode). The FREEDM-84P672 supports three independently timed bidirectional clock/ data links, each carrying a single unchannellised HDLC stream. The links can be of arbitrary frame format and can operate at up to 51.84 MHz provided SYSCLK | is running at 45 MHz. When activated, each link replaces one of the SPEs conveyed on the SBI interface. (The maximum possible data rate when ail three clock/data links are activated is 156 Mbps.) In the receive direction, the FREEDM-84P672 performs channel assignment and packet extraction and validation. For each provisioned HDLC channel, the FREEDM-84P672 delineates the packet boundaries using flag sequence detection, and performs bit de-stuffing. Sharing of opening and closing flags, as well as sharing of zeros between flags are supported. The resulting packet data is placed into the internal 32 Kbyte partial packet buffer RAM. The partial packet PROPRIETARY AND CONFIDENTIAL 7r- [\ y/ q PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET | PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 buffer acts as a logical FIFO for each of the assigned channels. Partial packets are DMAd out of the RAM, across the PCI bus and into host packet memory. The FREEDM-84P672 validates the frame check sequence for each packet, and verifies that the packet is an integral number of octets in length and is within a programmable minimum and maximum length. The receive packet status is updated before linking the packet into a receive ready queue. The FREEDM- 84P672 alerts the PCI Host that there are packets in a receive ready queue by, optionally, asserting an interrupt on the PCI bus. Alternatively, in the receive direction, the FREEDM-84P672 supports a transparent operating mode. For each provisioned transparent channel, the FREEDM-84P672 directly transfers the received octets into host memory verbatim. If the transparent channel is assigned to a channelised link, then the octets are aligned to the received time-slots. In the transmit direction, the PCI Host provides packets to transmit using a transmit ready queue. For each provisioned HDLC channel, the FREEDM- 84P672 DMA's partial packets across the PCI bus and into the transmit partial packet buffer. The partial packets are read out of the packet buffer by the FREEDM-84P672 and a frame check sequence is optionally calculated and inserted at the end of each packet. Bit stuffing is performed before being assigned to a particular link. The flag sequence is automatically inserted when there is no packet data for a particular channel. Sequential packets are optionally separated by two flags (an opening flag and a closing flag) or a single flag (combined opening and closing flag). Zeros between flags are not shared. PCI bus latency may cause one or more channels to underflow, in which case, the packets are aborted, and the host is notified. For normal traffic, an abort sequence is generated, followed by inter-frame time fill characters (flags or all- ones bytes) until a new packet is sourced from the PCI host. No attempt is made to automatically re-transmit an aborted packet. Alternatively, in the transmit direction, the FREEDM-84P672 supports a transparent operating mode. For each provisioned transparent channel, the FREEDM-84P672 directly inserts the transmitted octets from host memory. If the transparent channel is assigned to a channelised link, then the octets are aligned to the transmitted time-slots. If a channel underflows due to excessive PCI bus latency, an abort sequence is generated, followed by inter-frame time fill characters (flags or all-ones bytes) to indicate idle channel. Data resumes immediately when the FREEDM-84P672 receives new data from the host. The FREEDM-84P672 is configured, controlled and monitored using the PCI bus interface. The PCI bus supports 3.3 Volt signaling. The FREEDM-84P672 is implemented in low power 2.5 Volt 0.25 um CMOS technology. All non-PCl FREEDM-84P672 I/O pins are 3.3 volt tolerant. The FREEDM-84P672 is packaged in a 352 pin enhanced bail grid array (SBGA) package. PROPRIETARY AND CONFIDENTIAL 8of AI PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 7 PIN DIAGRAM The FREEDM-84P672 is manufactured in a 352 pin enhanced ball grid array package. 26 28 24 23 22 21 20 . 1a iF 16 15 14 13 12 a 12 g a 7 6 5 4 3a 2 Z D BC. B.C. BC. vonsv3 | mc. BC aC me voosva | B.C. wc me. voDava | Mc. we BC. me. voosv3 | TAIL) | TAS! TACT we vwopsy3 | mc TAS! wet D E ac. we. me. wc we rave | TALE ao E F ac. WC. ac. wc me Be TAIZ) | WT EF G PCICLEO} N.C. voDavs | N.C. TALI] BC. TALLE | THO: Ss H nege | w.c. |ectiwre] wec. vooavs | 8c. EC. wee H a aD(2a) } abiail | porcex | vopavs vDDIV3 | B.S. we. KS. J x oan [ecm | anne | am we fas fac [ae | x b | xe. fuse fine | soen ve fac [ne fawas] r we footen | xc. | sone feaemen we fas fae fae | x [eae | sews | ants | ania BOTTOM VIEW wom fac [ae | ee fs p | vss [oun | wtn | nose voor cect] ac. | ome fe R ap(ie} | apli7) | apiasl | ruse mofo] | ROL! [ROLKIL]} ADI2! R T CREB (2] | IPDYB | DEVEELB) LOCKE wee wr, wc FRCERIC] T cf om | ome | soe | sors ma fas fac fas fe v PERRB PAR | AD(A41 | vemoya vobav2 TOL TRSTB | Mc. v wt fosmnes] swan | socat | ance ou xe | mo [ow do aoti2] | AD(Lo) | apial | ate] tela] WooRvS | $PRi_es} rastc.e| Y AA | vobivs | cemmlo] | apis) | ap(zi Farvocr.TCLEI]] THlo] | sPe2 neh AA AB ati? apie) | D111 we. AVS) Repcor | E12] |reunio]] AB mar roar soica | son wears ac foo | asia | ae. | eeoovs | ane. Fasc | me | BA fmm] TL ac. Prater] ae. | wosre famerand "1 | ror | ML wc Looe fac [rom] xe. | ae fracas] ac ap fone [owe free) ne fae fe fee | fe | nce Pace, [rmnccesfrmcces iron] MF ane, | aire | acm | sce amen | ye | nce | ae fama | ee | ore | ao ae | vss [sacs | ver | mse | meme] TAT | ae fT | MT frat] ae. | sce. | omeaes| nce. feoaniay|searinf PtH | mmm | mmf asase | mame | aap Foes vas | ono) ues Pas ae Pome |e bec | me. | me. recave | ne | ace amin] wc, | we. Peearist| var | ose [ETT fracin} wc | E | A | HH | cous | AH Jace] anc | vse | as | ae 26 as 24 23 22 21 26 2g ie 27 16 15 24 13 12 1. 10 9 a ? 6 5 a 3 2 1 PROPRIETARY AND CONFIDENTIAL 9DATASHEET PMC-1990445 ri fl PMC-Sierra, inc. PM7384 FREEDM-84P672 ae ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 8 PIN DESCRIPTION Table 1 SBI Interface Signals (30) Pin Name Type Pin No. Function REFCLK Input AB3 The SBI reference clock signal (REFCLK) provides reference timing for the SBI ADD and DROP busses. REFCLK is nominally a 50% duty cycle clock of frequency 19.44 MHz +50ppm. FASTCLK Input Y1 The high-speed reference clock signal (FASTCLK) is used by the FREEDM-84P672 to generate an internal clock for use when processing DS-3 links. FASTCLK is nominally a 50% duty cycle, +50ppm clock having one of the following frequencies: 51.84 MHz, 44.928 MHz or 66 MHz. C1FP Input AE5 The C1 octet frame pulse signal (C1FP) provides frame synchronisation for devices connected via an SBI interface. Ci1FP must be asserted for 1 REFCLK cycle every 500 us or multiples thereof (i.e. every 9720 n REFCLK cycles, where n is a positive integer). All devices interconnected via an SBI interface must be synchronised to a C1FP signal from a single source. C1FP is sampled on the rising edge of REFCLK. Note If the SBI bus is being operated in synchronous mode [Ref. 4], C1FP must be asserted for 1 REFCLK cycle every 6 ms or multiples thereof. PROPRIETARY AND CONFIDENTIAL 10ri fi PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Pin Name Type Pin Function No. C1FPOUT Output | AA4 The C1 octet frame pulse output signal (C1FPOUT) may be used to provide frame synchronisation for devices interconnected via an SBI interface. C1FPOUT is asserted for 1 REFCLK cycle every 500 us (i.e. every 9720 REFCLK cycles). If C1FPOUT is used for synchronisation, it must be connected to the C1FP inputs of all the devices connected to the SBI interface. C1FPOUT is updated on the rising edge of REFCLK. Note - The C1FPOUT pulse generated by FREEDN-84P672 is not suitable for use in systems in which the SBI bus is operated in synchronous mode [Ref. 4]. DDATA[O] Input | AE6 The SBI DROP bus data signals (DDATA[7:0]) DDATA[1] AC8 contain the time division multiplexed receive DDATA[2} AD8 data from the up to 84 independently timed DDATA[3] AE8 links. Data from each link is transported as a DDATA[4] AC10 | tributary within the SBI TDM bus structure. DDATA[5] AE9 Multiple PHY devices can drive the SBI DROP DDATA[6] AF9 bus at uniquely assigned tributary column DDATA[7] AE10 | positions. DDATA|7:0] are sampled on the rising edge of REFCLK. DDP Input | AC6 The SBI DROP bus parity signal (DDP) carries the even or odd parity for the DROP bus signals. The parity calculation encompasses the DDATA[7:0], DPL and DV5 signals. Multiple PHY devices can drive DDP at uniquely assigned tributary column positions. This parity signal is intended to detect accidental PHY source clashes in the column assignment. DDP is sampled on the rising edge of REFCLK. PROPRIETARY AND CONFIDENTIAL "1DATASHEET PMC-1990445 r-i\ Yi) Gs PMC-Sierra, Inc. PM7384 FREEDM-84P672 eee ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER &84P672 Pin Name Type Pin No. Function DPL Input AD1 The SBI DROP bus payload signal (DPL) indicates valid data within the SBI TDM bus structure. This signal is asserted during all octets making up a tributary. This signal may be asserted during the V3 or H3 octet within a tributary to accommodate negative timing adjustments between the tributary rate and the fixed TDM bus structure. This signal may be deasserted during the octet following the V3 or H3 octet within a tributary to accommodate positive timing adjustments between the tributary rate and the fixed TDM- BUS structure. Multiple PHY devices can drive DPL at uniquely assigned tributary column positions. DPL is sampled on the rising edge of REFCLK. DV5 Input AE4 The SBI DROP bus payload indicator signal (DV5) locates the position of the floating payloads for each tributary within the SBI TDM bus structure. Timing differences between the port timing and the TDM bus timing are indicated by adjustments of this payload indicator relative to the fixed TDM bus structure. Multiple PHY devices can drive DV5 at uniquely assigned tributary column positions. All movements indicated by this signal must be accompanied by appropriate adjustments in the DPL signal. DV5 is sampled on the rising edge of REFCLK. PROPRIETARY AND CONFIDENTIAL 12r > [\ fi co PMC-Sierra, Inc. PM7384 FREEDM-84P672 a DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Pin Name Type Pin Function No. ADATA|O] Tristat | AF5 The SBI ADD bus data signals (ADATA[7:0]) ADATA[1]} e AD7 contain the time division multiplexed transmit ADATA[2} Output | AE7 data from the up to 84 independently timed ADATA[3] AF7 links. Data from each link is transported as a ADATA[4} AD9 tributary within the SBI TDM bus structure. ADATA[5} AF8 Multiple link layer devices can drive the SBI ADATAI[6] AD10_ | ADD bus at uniquely assigned tributary ADATA[7] AC11 column positions. ADATA[7:0] are tristated when the FREEDM-84P672 is not outputting data on a particular tributary column. ADATA|7:0] are updated on the rising edge of REFCLK. ADP Tristat | AD5 The SBI ADD bus parity signal (ADP) carries e the even or odd parity for the ADD bus Output signals. The parity calculation encompasses the ADATA[7:0], APL and AV5 signals. Multiple link layer devices can drive this signal at uniquely assigned tributary column positions. ADP is tristated when the FREEDM-84P672 is not outputting data on a particular tributary column. This parity signal is intended to detect accidental link layer source clashes in the column assignment. ADP is updated on the rising edge of REFCLK. PROPRIETARY AND CONFIDENTIAL 13DATASHEET PMC-1990445 [ IVI Nn PMC-Sierra, Inc. PM7384 FREEDM-84P672 a ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Pin Name Type Pin No. Function APL Tristat e Output AC2 The SBI ADD bus payload signal (APL) indicates valid data within the SBI TDM bus structure. This signal is asserted during all octets making up a tributary. This signal may be asserted during the V3 or H3 octet within a tributary to accommodate negative timing adjustments between the tributary rate and the fixed TDM bus structure. This signal may be deasserted during the octet following the V3 or H3 octet within a tributary to accommodate positive timing adjustments between the tributary rate and the fixed TDM- BUS structure. Multiple link layer devices can drive this signal at uniquely assigned tributary column positions. APL is tristated when the FREEDM-84P672 is not outputting data ona particular tributary column. APL is updated on the rising edge of REFCLK. AV5 Tristat e output AB4 The SB! ADD bus payload indicator signal (AV5) locates the position of the floating payloads for each tributary within the SBI TDM bus structure. Timing differences between the port timing and the TDM bus timing are indicated by adjustments of this payload indicator relative to the fixed TDM bus structure. Multiple link layer devices can drive this signal at uniquely assigned tributary column positions. APL is tristated when the FREEDM-84P672 is not outputting data on a particular tributary column. All movements indicated by this signal are accompanied by appropriate adjustments in the APL signal. AV5 is updated on the rising edge of REFCLK. PROPRIETARY AND CONFIDENTIAL 14DATASHEET PMC-1990445 r? [\ A c PMC-Sierra, Inc. PM7384 FREEDM-84P672 nn ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER &4P672 Pin Name Type Pin No. Function AJUST_REQ Input AC12 The SBI ADD bus justification request signal (AJUST_REQ) is used to speed up or slow down the output data rate of the FREEDM- 84P672. Negative timing adjustments are requested by asserting AJUST_REQ during the V3 or H3 octet, depending on the tributary type. In response to this the FREEDM-84P672 will send an extra byte in the V3 or H3 octet of the next frame along with a valid APL indicating a negative justification. Positive timing adjustments are requested by asserting AJUST_REQ during the octet following the V3 or H3 octet, depending on the tributary type. FREEDM-84P672 will respond to this by not sending an octet during the octet following the V3 or H3 octet of the next frame and deasserting APL to indicate a positive justification. AJUST_REQ is sampled on the rising edge of REFCLK. AACTIVE Output AF4 The SBI ADD bus active indicator signal (AACTIVE) is asserted whenever FREEDM- 84P672 is driving the SBI ADD bus signals, ADATA[7:0], ADP, APL and AV5. All other Link Layer devices driving the SBI ADD bus should listen to this signal (to detect multiple sources accidentaly driving the bus) and should cease driving the bus whenever a conflict is detected. AACTIVE is updated on the rising edge of REFCLK. PROPRIETARY AND CONFIDENTIAL 15DATASHEET r Vi PMC-Sierra, Inc. PM7384 FREEDM-84P672 ees PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 8&4P672 Pin Name Type Pin Function No. ADETECT[0] | Input |AD12 | The SBIADD bus conflict detection signals ADETECT[1] AF12 | (ADETECT[1:0]) may be connected to the AACTIVE outputs of other link layer devices sharing the SBI ADD bus. FREEDM-84P672 will immediately tristate the SBI ADD bus signals ADATA|7:0], ADP, APL and AV5 if either of ADETECT[1] and ADETECT(0] is asserted. ADETECT[1:0] are asynchronous inputs. Table 2 Clock/Data Interface Signals (15) Pin Name Type Pin No. Function RCLK[0] RCLK[1] RCLK[2] Input T1 R2 P3 The receive line clock signals (RCLK[2:0]) contain the recovered line clock for the 3 independently timed links. RCLK[n] must be externally gapped during the bits or time-slots that are not part of the transmission format payload (i.e. not part of the HDLC packet). RCLK{[2:0] is nominally a 50% duty cycle clock between 0 and 51.84 MHz. The RCLK[n] inputs are invalid and should be tied low when their associated link is not configured for operation (i.e. SPEn_EN input is high). RD[0] RD[1] RD[2] Input R4 R3 R1 The receive data signals (RD[2:0]) contain the recovered line data for the 3 independently timed links. RD[2:0] contain HDLC packet data. For certain transmission formats, RD[2:0] may contain place holder bits or time- slots. RCLK[n] must be externally gapped during the place holder positions in the RD{n] stream. The FREEDM-84P672 supports a maximum data rate of 51.84 Mbit/s on each link. RD[2:0] are sampled on the rising edge of the corresponding RCLK[2:0]. PROPRIETARY AND CONFIDENTIAL 16DATASHEET PMC-1990445 rf I aa PMC-Sierra, Inc. PM7384 FREEDM-84P672 | ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Pin Name Type Pin No. Function TCLK[O] TCLK[1] TCLK[2] Input AB1 AA3 AC1 The transmit line clock signals (TCLK[2:0]) contain the transmit clocks for the 3 independently timed links. TCLK[n] must be externally gapped during the bits or time-slots that are not part of the transmission format payload (i.e. not part of the HDLC packet). TCLK[2:0] is nominally a 50% duty cycle clock between 0 and 51.84 MHz. The TCLK)[n] inputs are invalid and should be tied low when their associated link is not configured for operation (i.e. SPEn_EN input is high). TD[O] TD[1] TD[2] Output AA2 Y4 AB2 The transmit data signals (TD[2:0]) contain the transmit data for the 3 independently timed links. TD[2:0] contain HDLC packet data. For certain transmission formats, TD[2:0] may contain place holder bits or time- slots. TCLK[n] must be externally gapped during the place holder positions in the TD[n] stream. The FREEDM-84P672 supports a maximum data rate of 51.84 Mbit/s on each link. TD[2:0] are updated on the falling edge of the corresponding TCLK[2:0] clock. SPE1_EN SPE2_EN SPE3_EN Input Y2 AA W4 The Synchronous Payload Envelope Enable signals (SPEn_EN) configure the operation of the clock/data inputs and the SBI Interface. When SPEn_EN is low, the corresponding Synchronous Payload Envelope conveyed on the SBI interface is unused and the corresponding independently timed link (signals RCLK[n-1], RD[n-1], TCLK[n-1] and TD[n-1]) is enabled. When SPEn_EN is high, the corresponding Synchronous Payload Envelope conveyed on the SBI interface is enabled and the corresponding independently timed link is disabled. SPEn_EN are asynchronous inputs. PROPRIETARY AND CONFIDENTIAL 17DATASHEET PMC-1990445 [ Mc PMC-Sierra, Inc. PM7384 FREEDM-84P672 a an ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Table 3 PCI Host Interface Signals (52) Pin Name | Type Pin Function No. PCICLK Input J24 The PCI clock signal (PCICLK) provides timing for PCI bus accesses. PCICLK is a nominally 50% duty cycle, 25 to 66 MHz clock. PCICLKO | Output | G26 | The PCI clock output signal (PCICLKO) is a buffered version of the PCICLK. PCICLKO may be used to derive the SYSCLK input. C/BEB[0] vO AA25 | The PCI bus command and byte enable bus C/BEB[1] W26_ | (C/BEB[3:0]) contains the bus command or the C/BEB[2]} T26 byte valid indications. During the first clock C/BEB[3}] M23 | cycle of a transaction, C/BEB[3:0] contains the bus command code. For subsequent clock cycles, C/BEB[3:0] identifies which bytes on the AD[81:0] bus carry valid data. C/BEB[3] is associated with byte 3 (AD[31:24]) while C/BEB[0] is associated with byte 0 (AD[7:0]). When C/BEBJ[n] is set high, the associated byte is invalid. When C/BEB[n] is set low, the associated byte is valid. When the FREEDM-84P672 is the initiator, C/BEB[3:0] is an output bus. When the FREEDM-84P672 is the target, C/BEB[3:0] is an input bus. When the FREEDM-84P672 is not involved in the current transaction, C/BEB[3:0] is tristated. As an output bus, C/BEB[3:0] is updated on the rising edge of PCICLK. As an input bus, C/BEB[3:0] is sampled on the rising edge of PCICLK. PROPRIETARY AND CONFIDENTIAL 18DATASHEET r- iV Nes PMC-Sierra, inc. PM7384 FREEDM-84P672 a PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Pin Name | Type Pin Function No. AD[0] /O AC25 | The PCI address and data bus (AD[31:0]) AD[1] AB24 | carries the PCI bus multiplexed address and AD[2] AA23 | data. During the first clock cycle of a AD[3] AC26 | transaction, AD[31:0] contains a physical byte AD[4] AB25 | address. During subsequent clock cycles of a AD[5] AA24 | transaction, AD[31:0] contains data. AD em A transaction is defined as an address phase ADL YA followed by one or more data phases. When ADS W23 Little-Endian byte formatting is selected, no I Y25 AD[31:24] contain the most significant byte of a AD a Wvo4 | DWORD while ADI7:0] contain the least AD) 12 Y26 significant byte. When Big-Endian byte ADI13 W25 formatting is selected. AD[7:0] contain the most AD | a Von. | Significant byte of a DWORD while AD[31:24] AD { a! U23 contain the least significant byte. When the A a ROA FREEDM-84P6/72 is the initiator, AD[31:0] is an ADL a R25 output bus during the first (address) phase of a AD) a R26 transaction. For write transactions, AD[31:0] AD 4 ] P24 remains an output bus for the data phases of Ae P55 the transaction. For read transactions, AD[31:0] ADL} N24 is an input bus during the data phases. AD[22] N23 When the FREEDM-84P672 is the target, AD[23] M26 _| AD[31:0] is an input bus during the first AD[24] L25 (address) phase of a transaction. For write AD[25] K26 transactions, AD[31:0] remains an input bus AD[26] 124 | during the data phases of the transaction. For AD[27] K25 read transactions, AD[31:0] is an output bus AD[28] L23 during the data phases. AD[29] J26 | When the FREEDM-84P672 is not involved in ADI] ee the current transaction, AD[31:0] is tristated. As an output bus, AD[31:0] is updated on the rising edge of PCICLK. As an input bus, AD[31:0] is sampled on the rising edge of PCICLK. PROPRIETARY AND CONFIDENTIAL 19DATASHEET PMC-1990445 ISSUE 4 rit /\ PMC-Sierra, Inc. PM7384 FREEDM-84P672 a FRAME ENGINE AND DATA LINK MANAGER 84P672 Pin Name Type Pin No. Function PAR /O V25 The parity signal (PAR) indicates the parity of the AD[31:0] and C/BEB[3:0] buses. Even parity is calculated over all 36 signals in the buses regardless of whether any or all the bytes on the AD[31:0] are valid. PAR always reports the parity of the previous PCICLK cycle. Parity errors detected by the FREEDM-84P672 are indicated on output PERRB and in the FREEDM-84P672 Interrupt Status register. When the FREEDM-84P672 is the initiator, PAR is an output for writes and an input for reads. When the FREEDM-84P672 is the target, PAR is an input for writes and an output for reads. When the FREEDM-84P672 is not involved in the current transaction, PAR is tristated. As an output signal, PAR is updated on the rising edge of PCICLK. As an input signal, PAR is sampled on the rising edge of PCICLK. FRAMEB ie) R23 The active low cycle frame signal (FRAMEB) identifies a transaction cycle. When FRAMEB transitions low, the start of a bus transaction is indicated. FRAMEB remains low to define the duration of the cycle. When FRAMEB transitions high, the last data phase of the current transaction is indicated. When the FREEDM-84P672 is the initiator, FRAMEB is an output. When the FREEDM-84P672 is the target, FRAMEEB is an input. When the FREEDM-84P672 is not involved in the current transaction, FRAMEB is tristated. As an output signal, FRAMEB is updated on the rising edge of PCICLK. As an input signal, FRAMEEB is sampled on the rising edge of PCICLK. PROPRIETARY AND CONFIDENTIAL 20r- [\ | PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Pin Name | Type Pin Function No. TRDYB VO U26 | The active low target ready signal (TRDYB) indicates when the target is ready to start or continue with a transaction. TRDYB works in conjunction with IRDYB to complete transaction data phases. During a transaction in progress, TRDYEB is set high to indicate that the target cannot complete the current data phase and to force a wait state. TRDYB is set low to indicate that the target can complete the current data phase. The data phase is completed when TRDYB is set low and the initiator ready signal (IRDYB) is also set low. When the FREEDM-84P672 is the initiator, TRDYEB is an input. When the FREEDM-84P672 is the target, TRDYB is an output. During accesses to FREEDM-84P672 registers, TRDYB is set high to extend data phases over multiple PCICLK cycles. When the FREEDM-84P672 is not involved in the current transaction, TRDYB is tristated. As an output signal, TRDYB is updated on the rising edge of PCICLK. As an input signal, TRDYB is sampled on the rising edge of PCICLK. PROPRIETARY AND CONFIDENTIAL 21DATASHEET ri fi oo PMC-Sierra, Inc. PM7384 FREEDM-84P672 a PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Pin Name _| Type Pin Function No. IRDYB 0 T25 The active low initiator ready (IRDYB) signal is used to indicate whether the initiator is ready to start or continue with a transaction. IRDYB works in conjunction with TRDYB to complete transaction data phases. When IRDYB is set high and a transaction is in progress, the initiator is indicating it cannot complete the current data phase and is forcing a wait state. When IRDYB is set low and a transaction is in progress, the initiator is indicating it has completed the current data phase. The data phase is completed when IRDYB is set low and the target ready signal (IRDYB) is also set low. When the FREEDM-84P672 is the initiator, IRDYB is an output. When the FREEDM-84P672 is the target, IRDYB is an input. When the FREEDM-84P672 is not involved in the current transaction, IRDYB is tristated. IRDYB is updated on the rising edge of PCICLK or sampled on the rising edge of PCICLK depending on whether it is an output or an input. PROPRIETARY AND CONFIDENTIAL 22DATASHEET PMC-1990445 ISSUE 4 i Vi Nas PMC-Sierra, Inc. PM7384 FREEDM-84P672 nS FRAME ENGINE AND DATA LINK MANAGER 84P672 Pin Name Type Pin No. Function STOPB /O U25 The active low stop signal (STOPB) requests the initiator to stop the current bus transaction. When STOPB is set high by a target, the initiator continues with the transaction. When STOPB is set low, the initiator will stop the current transaction. When the FREEDM-84P672 is the initiator, STOPB is an input. When STOPB is sampled low, the FREEDM-84P672 will terminate the current transaction in the next PCICLK cycle. When the FREEDM-84P672 is the target, STOPB is an output. The FREEDM-84P672 only issues transaction stop requests when responding to reads and writes to configuration space (disconnecting after 1 DWORD transferred) or if an initiator introduces wait states during a transaction. When the FREEDM-84P672 is not involved in the current transaction, STOPB is tristated. STOPEB is updated on the rising edge of PCICLK or sampled on the rising edge of PCICLK depending on whether it is an output or an input. IDSEL Input M24 The initialization device select signal (IDSEL) enables read and write access to the PCI configuration registers. When IDSEL is set high during the address phase of a transaction and the C/BEB[3:0] code indicates a register read or write, the FREEDM-84P672 performs a PCI configuration register transaction and asserts the DEVSELB signal in the next PCICLK period. IDSEL is sampled on the rising edge of PCICLK. PROPRIETARY AND CONFIDENTIAL 23DATASHEET PMC-1990445 ISSUE 4 r? [\ A PMC-Sierra, Inc. PM7384 FREEDM-84P672 a FRAME ENGINE AND DATA LINK MANAGER 84P672 Pin Name Type Pin No. Function DEVSELB 0 T24 The active low device select signal (DEVSELB) indicates that a target claims the current bus transaction. During the address phase of a transaction, all targets decode the address on the AD[31:0] bus. When a target, recognizes the address as its own, it sets DEVSELB low to indicate to the initiator that the address is valid. If no target claims the address in six bus clock cycles, the initiator assumes that the target does not exist or cannot respond and aborts the transaction. When the FREEDM-84P672 is the initiator, DEVSELB is an input. If no target responds to an address in six PCICLK cycles, the FREEDM- 84P672 will abort the current transaction and alerts the PCI Host via an interrupt. When the FREEDM-84P672 is the target, DEVSELB is an output. DELSELB is set low when the address on AD[31:0] is recognised. When the FREEDM-84P672 is not involved in the current transaction, DEVSELB is tristated. FREEDM-84P672 is updated on the rising edge of PCICLK or sampled on the rising edge of PCICLK depending on whether it is an output or an input. LOCKB Input T23 The active low bus lock signal (LOCKB) locks a target device. When LOCKB and FRAME are set low, and the FREEDM-84P672 is the target, an initiator is locking the FREEDM-84P672 as an "owned" target. Under these circumstances, the FREEDM-84P672 will reject all transaction with other initiators. The FREEDM-84P672 will continue to reject other initiators until its owner releases the lock by forcing both FRAMEB and LOCKB high. As a initiator, the FREEDM- 84P672 will never lock a target. LOCKB is sampled using the rising edge of PCICLK. PROPRIETARY AND CONFIDENTIAL 24DATASHEET PMC-1990445 r> [\ A cr PMC-Sierra, Inc. PM7384 FREEDM-84P672 a ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Pin Name Type Pin No. Function REQB Tristate Output H26 The active low PCI bus request signal (REQB) requests an external arbiter for control of the PCI bus. REQB is set low when the FREEDM- 84P672 desires access to the host memory. REQB is set high when access is not desired. REQB is updated on the rising edge of PCICLK. GNTB Input K23 The active low PCI bus grant signal (GNTB) indicates the granting of control over the PCI in response to a bus request via the REQB output. When GNTB is set high, the FREEDM-84P672 does not have control over the PCI bus. When GNTB is set low, the external arbiter has granted the FREEDM-84P672 control over the PCI bus. However, the FREEDM-84P672 will not proceed until the FRAMEB signal is sampled high, indicating no current transactions are in progress. GNTB is sampled on the rising edge of PCICLK. PCIINTB OD Output H24 The active low PCI interrupt signal (PCIINTB) is set low when a FREEDM-84P672 interrupt source is active, and that source is unmasked. The FREEDM-84P672 may be enabled to report many alarms or events via interrupts. PCIINTB returns high when the interrupt is acknowledged via an appropriate register access. PCIINTB is an open drain output and is asynchronous to PCICLK. PROPRIETARY AND CONFIDENTIAL 25DATASHEET PMC-1990445 r? [\ fT \ PMC-Sierra, Inc. PM7384 FREEDM-84P672 a ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Pin Name Type Pin No. Function PERRB /0 V26 The active low parity error signal (PERRB) indicates a parity error over the AD[31:0] and C/BEB[3:0] buses. Parity error is signalled when even parity calculations do not match the PAR signal. PERRB is set low at the cycle immediately following an offending PAR cycle. PERRB is set high when no parity error is detected. PERRB is enabled by setting the PERREN bit in the Control/Status register in the PCI Configuration registers space. Regardless of the setting of PERREN, parity errors are always reported by the PERR bit in the Control/Status register in the PCI Configuration registers space. PERRB is updated on the rising edge of PCICLK. SERRB OD Output U24 The active low system error signal (SERRB) indicates an address parity error. Address parity errors are detected when the even parity calculations during the address phase do not match the PAR signal. When the FREEDN- 84P672 detects a system error, SERRB is set low for one PCICLK period. SERRB is enabled by setting the SERREN bit in the Control/Status register in the PCI Configuration registers space. Regardless of the setting of SERREN, parity errors are always reported by the SERR bit in the Control/Status register in the PCI Configuration registers space. SERRB is an open drain output and is updated on the rising edge of PCICLK. M66EN Input AE23 The active high 66 MHz mode enable signal (M66EN) reflects the speed of operation of the PCI bus. M66EN should be set high for 66 MHz operation on the PCI bus. M66EN should be set low for 33 MHz operation on the PCI bus. PROPRIETARY AND CONFIDENTIAL 26DATASHEET PMC-1990445 ISSUE 4 r> [\ A q PMC-Sierra, inc. PM7384 FREEDM-84P672 a FRAME ENGINE AND DATA LINK MANAGER 84P672 Table 4 Miscellaneous Interface Signals (160) Pin Name Type Pin No. Function SYSCLK Input L1 The system clock (SYSCLK) provides timing for the core logic. SYSCLK is nominally a 50% duty cycle clock of frequency 45 MHz +50ppm. RSTB Input E3 The active low reset signal (RSTB) signal provides an asynchronous FREEDM-84P672 reset. RSTB is an asynchronous input. When RSTB is set low, all FREEDM-84P672 registers are forced to their default states. In addition, all SBI and PCI output pins are forced tristate and will remain tristated until RSTB is set high. PMCTEST Input AE22 The PMC production test enable signal (PMCTEST) places the FREEDM-84P672 is test mode. When PMCTEST is set high, production test vectors can be executed to verify manufacturing via the test mode interface signals TA[11:0], TA[12]/TRS, TRDB, TWRB and TDAT[15:0]. PMCTEST must be tied low for normal operation. TCK Input U4 The test clock signal (TCK) provides timing for test operations that can be carried out using the IEEE P1149.1 test access port. TMS and TDI are sampled on the rising edge of TCK. TDO is updated on the falling edge of TCK. TMS Input W1 The test mode select signal (TMS) controls the test operations that can be carried out using the IEEE P1149.1 test access port. TMS is sampled on the rising edge of TCK. TMS has an integral pull up resistor. TDI Input V3 The test data input signal (TDI) carries test data into the FREEDM-84P672 via the IEEE P1149.1 test access port. TDI is sampled on the rising edge of TCK. TDI has an integral pull up resistor. PROPRIETARY AND CONFIDENTIAL 27r- iV Ne PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Pin Name | Type Pin | Function No. TDO Tristate | W2_ | The test data output signal (TDO) carries test Output data out of the FREEDM-84P672 via the IEEE P1149.1 test access port. TDO is updated on the falling edge of TCK. TDO is a tristate output which is inactive except when scanning of data is in progress. TRSTB Input V2 The active low test reset signal (TRSTB) provides an asynchronous FREEDM-84P672 test access port reset via the IEEE P1149.1 test access port. TRSTB is an asynchronous input with an integral pull up resistor. Note that when TRSTB is not being used, it must be connected to the RSTB input. NC1-152 Open These pins must be left unconnected. Table 5 Production Test Interface Signals (31) Pin Name | Type Pin Function No. TA[O] Input G1 The test mode address bus (TA[11:0]) selects TA[1] G2 specific registers during production test TA[2] F2 (PMCTEST set high) read and write accesses. TA[3] G4 In normal operation (PMCTEST set low), these TA[4] E2 signals should be grounded. TA[5] D2 TA[6] B4 TA[7] D6 TA[8] B5 TA[9] D7 TA[10] B6 TA[11] D8 TA[12)//TR | Input B9 The test register select signal (TA[12]/TRS) S$ selects between normal and test mode register accesses during production test (PMCTEST set high). TRS is set high to select test registers and is set low to select normal registers. In normal operation (PMCTEST set low), this signal should be grounded. PROPRIETARY AND CONFIDENTIAL 28DATASHEET r 2 IVI \ PMC-Sierra, inc. PM7384 FREEDM-84P672 PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Pin Name | Type Pin Function No. TRDB Input C8 The test mode read enable signal (TRDB) is set low during FREEDM-84P672 register read accesses during production test (PMCTEST set high). The FREEDM-84P672 drives the test data bus (TDAT[15:0]) with the contents of the addressed register while TRDB is low. In normal operation (PMCTEST set low), this signal should be tied to logic 1. TWRB Input B8 The test mode write enable signal (TWRB) is set low during FREEDM-84P672 register write accesses during production test (PMCTEST set high). The contents of the test data bus (TDAT[15:0]) are clocked into the addressed register on the rising edge of TWRB. In normal operation (PMCTEST set low), this signal should be tied to logic 1. TDAT(0] Fe) AE11_ | The bi-directional test mode data bus TDAT[1] AF11_ | (TDAT[15:0]) carries data read from or written to TDAT[2] AE12 | FREEDM-84P672 registers during production TDAT[3] AD13 | test (PMCTEST set high). In normal operation TDAT[4] AD14 | (PMCTEST set low), these signals should be left TDAT[S] AF15_ | unconnected. TDAT[6]} AD15 TDAT[7] AC15 TDAT[8} AE17 TDAT[9] AF18 TDAT[10] AE18 TDAT[11} AC17 TDAT[12] AE19 TDAT[13] AD19 TDAT[14] AC19 TDAT[15] AE21 PROPRIETARY AND CONFIDENTIAL 29r- [\ /\ ce PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Table 6 - Power and Ground Signals (64) Pin Name Type Pin Function No. VDD3V3[1] Power |B25_ | The VDD3V3[24:1] DC power pins should be VDD3V3[2] C3 connected to a well decoupled +3.3 V DC VDD3V3[3] C24 _ | supply. These power pins provide DC current VDD3V3[4] D4 to the I/O pads. VDD3V3[5] D9 VDD3V3[6] D14 VDD3V3[7] D18 VDD3V3[8} D23 VDD3V3[9] J4 VDD3V3[10] N4 VDD3V3[11] P23 VDD3V3[12] J23 VDD3V3[13] V4 VDD3V3[14] V23 VDD3V3[15] AC4 VDD3V3[16] AC9 VDD3V3[17] AC13 VDD3V3[18] AC18 VDD3V3[19] AC23 VDD3V3[20] AD3 VDD3V3[21] AE2 VDD3V3[22] AE25 VDD3V3[23] B2 VDD3V3[24] AD24 VDD2V5[1} Power | H4 The VDD2V5[12:1] DC power pins should be VDD2V5[2]} P4 connected to a well decoupled +2.5 V DC VDD2V5[3]} Y3 supply. These power pins provide DC current VDD2V5[4] AF6__ | to the digital core. VDD2V5[5] AE14 VDD2V5[6] AF21 VDD2V5[7] AA26 VDD2V5[8] N25 VDD2V5[9] G24 VDD2V5[10] A21 VDD2V5[11] B13 VDD2V5[12] A6 PROPRIETARY AND CONFIDENTIAL 30DATASHEET r [\ /I 4 PMC-Sierra, Inc. PM7384 FREEDM-84P672 ee PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Pin Name Type Pin Function No. VSS[1] Ground | A1 The VSS[28:1] DC ground pins should be VSS[2] A2 connected to ground. They provide a ground VSS[3] A13 | reference for the 3.3 V rail. They also provide VSS/4] A1i4_ | a ground reference for the 2.5 V rail. VSS[5] A25 VSS[6] A26 VSS[7] B1 VSS[8] B3 VSS[9] B24 VSS[10] B26 VSS[11] C2 VSS[12] C25 VSS[13] N14 VSS[14] N26 VSS[15] P1 VSS[16] P26 VSS[17] AD2 VSS[18] AD25 VSS[19] AE1 VSS[20] AE3 VSS[21] AE24 VSS[22] AE26 VSS[23] AF1 VSS[24] AF2 VSS[25] AF13 VSS[26] AF 14 VSS[27] AF25 VSS[28] AF26 Notes on Pin Description: 1. All FREEDM-84P672 non-PCl inputs and bi-directionals present minimum capacitive loading and are 3.3 Volt tolerant. PCI signals conform to the 3.3 Volt signaling environment. 2. All FREEDM-84P672 non-PCl outputs and bi-directionals have 8 mA drive capability, except the TDO output which has 4 mA drive capability. 3. All FREEDM-84P672 outputs can be tristated under control of the IEEE P1149.1 test access port, even those which do not tristate under normal operation. All non-PCl outputs and bi-directionals are 3.3 V tolerant when tristated. PROPRIETARY AND CONFIDENTIAL 31r- [\ fl PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 4. Allnon-PCl inputs are Schmitt triggered. Inputs TMS, TDI and TRSTB have internal pull-up resistors. 5. Power to the VDD3V3 pins should be applied before power to the VDD2V5 pins is applied. Similarly, power to the VDD2V5 pins should be removed before power to the VDD3V3 pins is removed. PROPRIETARY AND CONFIDENTIAL 32i > Vi q PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET a PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 9 FUNCTIONAL DESCRIPTION 9.1 Scaleable Bandwidth Interconnect (SBI) Interface The Scaleable Bandwidth Interconnect is a synchronous, time-division multiplexed bus designed to transfer, in a pin-efficient manner, data belonging to a number of independently timed links of varying bandwidth. The bus is timed to a reference 19.44MHz clock and a 2kHz or 166.7Hz frame pulse. All sources and sinks of data on the bus are timed to the reference clock and frame pulse. Timing is communicated across the Scaleable Bandwidth Interconnect by floating data structures. Payload indicator signals in the SBI control the position of the floating data structure and therefore the timing. When sources are running faster than the SBI the floating payload structure is advanced by an octet be passing an extra octet in the V3 octet locations (H3 octet for DS3 mappings). When the source is slower than the SBI the floating payload is retarded by leaving the octet after the V3 or H3 octet unused. Both these rate adjustments are indicated by the SBI control signals. An SBI interface consists of a DROP BUS and an ADD BUS. On the DROP BUS all timing is sourced from the PHY and is passed onto the FREEDM-84P672 by the arrival rate of data over the SBI. On the ADD BUS timing can be controlled by either the PHY or the FREEDM-84P672. When the FREEDM-84P672 is the timing master the PHY device determines its transmit timing information from the arrival rate of data across the SBI. When the PHY device is the timing master it signals the FREEDM-84P672 to speed up or slow down with justification request signals. The PHY timing master indicates a speedup request to the Link Layer by asserting the justification request signal high during the V3 or H3 octet. When this is detected by the FREEDM-84P672 it will advance the channel by inserting data in the next V3 or H3 octet as described above. The PHY timing master indicates a slowdown request to the FREEDM-84P672 by asserting the justification request signal high during the octet after the V3 or H3 octet. The FREEDM-84P672 responds by leaving the octet following the next V3 or H3 octet unused. Both advance and retard rate adjustments take place in the frame or multi-frame following the justification request. The SBI multiplexing structure is modeled on the SONET/SDH standards. The SONET/SDH virtual tributary structure is used to carry T1/J1 and E1 links. Unchannelized DS3 payloads follow a byte synchronous structure modeled on the SONET/SDH format. The SBI structure uses a locked SONET/SDH structure fixing the position of the TUG-3/TU-3 relative to the STS-3/STM-1 transport frame. The SBI is also of fixed frequency and alignment as determined by the reference clock (REFCLK) PROPRIETARY AND CONFIDENTIAL 33' DATASHEET PMC-1990445 r> Mi Cc PMC-Sierra, Inc. FRAME ENGINE AND DATA LINK MANAGER 84P672 ISSUE 4 PM7384 FREEDM-84P672 and frame indicator signal (C1FP). Frequency deviations are compensated by adjusting the location of the T1/J1/E1/DS3 channels using floating tributaries as determined by the V5 indicator and payload signals (DV5, AV5, DPL and APL). The multiplexed links are separated into three Synchronous Payload Envelopes. Each envelope may be configured independently to carry up to 28 T1/J1s, 21 Eis ora DS3. 9.2 High-Level Data Link Control (HDLC) Protocol Figure 1 shows a diagram of the synchronous HDLC protocol supported by the FREEDM-84P672 device. The incoming stream is examined for flag bytes (01111110 bit pattern) which delineate the opening and closing of the HDLC packet. The packet is bit de-stuffed which discards a "0" bit which directly follows five contiguous "1" bits. The resulting HDLC packet size must be a multiple of an octet (8 bits) and within the expected minimum and maximum packet length limits. The minimum packet length is that of a packet containing two information bytes (address and control) and FCS bytes. For packets with CRC-CCITT as FCS, the minimum packet length is four bytes while those with CRC-32 as FCS, the minimum length is six bytes. An HDLC packet is aborted when seven contiguous "1" bits (with no inserted "0" bits) are received. At least one flag byte must exist between HDLC packets for delineation. Contiguous flag bytes, or all ones bytes between packets are used as an inter-frame time fill. Adjacent flag bytes may share zeros. Figure 1 HDLC Frame | Flag Information FCS Flag Flag |} HDLC Packet >| The CRC aigorithm for the frame checking sequence (FCS) field is either a CRC-CCITT or CRC-32 function. Figure 2 shows a CRC encoder block diagram using the generating polynomial g(X) = 1 + g1X + g2X2 +...+ gn-4X"1 +X". The CRC-CCITT FCS is two bytes in size and has a generating polynomial g(X) = 1 + X5 + X12 + X16. The CRC-32 FCS is four bytes in size and has a generating polynomial g(X) = 1 + X + X2 + X4+ X5 + X7 + XB + X10 + X11 + K12 + X16 + X22 + X23 + X26 + X32. The first FCS bit received is the residue of the highest term. PROPRIETARY AND CONFIDENTIALr> [\ /\ q PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET a PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Figure 2 CRC Generator Do Cy} Dy 4) D, Te De | Message LSB Parity Check Digits MSB 9.3 SBI Extracter and PISO The SBI receive circuitry consists of an SBI Extract block and three SBI Parallel to Serial Converter (SBI PISO) blocks. The SBI Extract block receives data from the SBI DROP BUS and converts it to an internal parallel bus format. The received data is then converted to serial bit streams by the PISO blocks. Each PISO block processes one of the three Synchronous Payload Envelopes (SPEs) conveyed on the SBI DROP BUS. The SBI Extract block may be configured to enable or disable reception of individual triburaries within the SBI DROP bus. Individual triburaries may also be configured to operate in framed or unframed mode. Each PISO block inputs data related to one SPE from the internal parallel bus and generates either 28 serial data streams at T1/J1 rate, 21 streams at E1 rate or a single stream at DS-3 rate. These serial streams are then processed by the Receive Channel Assigner block. 9.4 Receive Channel Assiqner The Receive Channel Assigner block (RCAS672) processes up to 84 serial links. When receiving data from the SBI PISO blocks, links may be configured to support channelised T1/J1/E1 traffic, unchannelised DS-3 traffic or unframed traffic at T1/J1, E1 or DS-3 rates. When receiving data from the RCLK/RD inputs, links 0, 1 and 2 support unchannelised data at arbitary rates up to 51.84 | Mbps. Each link is independent and has its own associated clock. For each link, the RCAS672 performs a serial to parallel conversion to form data bytes. The data bytes are multiplexed, in byte serial format, for delivery to the Receive HDLC Processor / Partial Packet Buffer block (RHDL672) at SYSCLK rate. In the event PROPRIETARY AND CONFIDENTIAL 35PM7384 FREEDM-84P672 Phy c* PMC-Sierra, Inc. ISSUE 4 DATASHEET PMC-1990445 FRAME ENGINE AND DATA LINK MANAGER 84P672 where multiple streams have accumulated a byte of data, multiplexing is performed on a fixed priority basis with link #0 having the highest priority and link #83 the lowest. The 84 RCAS links have a fixed relationship to the SPE and tributary numbers on the SBI DROP BUS as shown in the following table. Table 7 SBI SPE/Tributary to RCAS Link Mapping SBI | SBI | RCAS |; SBI | SBI | RCAS | SBI | SBI | RCAS SPE | Trib. | Link SPE | Trib. | Link SPE | Trib. Link No. No. No. No. No. No. No. No. No. 1 1 0 2 | 1 3 1 2 1 2 3 2 2 4 3 2 5 1 3 6 2 3 7 3 3 8 1 4 9 2 4 10 3 4 11 1 5 12 2 5 13 3 5 14 1 6 15 2 6 16 3 6 17 1 7 18 2 7 19 3 7 20 1 8 21 2 8 22 3 8 23 1 9 24 2 9 25 3 9 26 1 10 27 2 10 28 3 10 29 1 11 30 2 11 31 3 11 32 1 12 33 2 12 34 3 12 35 1 13 36 2 13 37 3 13 38 1 14 39 2 14 40 3 14 41 1 15 42 2 15 43 3 15 44 1 16 45 2 16 46 3 16 47 1 17 48 2 17 49 3 17 50 1 18 51 2 18 52 3 18 53 1 19 54 2 19 55 3 19 56 1 20 57 2 20 58 3 20 59 1 21 60 2 21 61 3 21 62 1 22 63 2 22 64 3 22 65 PROPRIETARY AND CONFIDENTIAL 36DATASHEET r> [\ /\ oo PMC-Sierra, Inc. PM7384 FREEDM-84P672 PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 SBI SBI | RCAS | SBI | SBI | RCAS | SBI | SBI | RCAS SPE | Trib. | Link SPE | Trib. | Link SPE | Trib. | Link No. No. No. No. No. No. No. No. No. 1 23 66 2 23 67 3 23 68 1 24 69 2 24 70 3 24 71 1 25 72 2 25 73 3 25 74 1 26 75 2 26 76 3 26 77 1 27 78 2 27 79 3 27 80 1 28 81 2 28 82 3 28 83 9.4.1 Links containing a T1/J1 or an E1 stream may be channelised. Data at each time-slot may be independently assigned to a different channel. The RCAS672 performs a table lookup to associate the link and time-slot identity with a channel. The position of T1/J1 and E1 framing bits/bytes is identified by frame pulse signals generated by the SBI PISO blocks. Links containing a DS-3 stream are unchannelised, i.e. all data on the link belongs to one channel. The RCAS672 performs a table lookup using only the link number to determine the associated channel, as time-slots are non-existent in unchannelised links. Links may additionally be configured to operate in an unframed clear channel mode, in which all bit positions, including those normally reserved for framing information, are assumed to be carrying HDLC data. Links so configured operate as unchannelised regardless of link rate and the RCAS672 performs a table lookup using only the link number to determine the associated channel. Line Interface There are 84 line interface blocks in the RCAS672. Each line interface block contains a bit counter, an 8-bit shift register and a holding register that, together, perform serial to parallel conversion. Whenever the holding register is updated, a request for service is sent to the priority encoder block. When acknowledged by the priority encoder, the line interface responds with the data residing in the holding register. To support channelised links, each line interface block contains a time-slot counter. The time-slot counter is incremented each time the holding register is updated and is reset on detection of a frame pulse from the SBI PISO blocks. For unchannelised or unframed links, the time-slot counter is held reset. PROPRIETARY AND CONFIDENTIAL 37DATASHEET r-[\ fi c PMC-Sierra, Inc. PM7384 FREEDM-84P672 en PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 9.4.2 Priority Encoder 9.4.3 9.4.4 The priority encoder monitors the line interfaces for requests and synchronises them to the SYSCLK timing domain. Requests are serviced on a fixed priority scheme where highest to lowest priority is assigned from the line interface attached to link 0 to that attached to link 83. Thus, simultaneous requests from link m will be serviced ahead of link n, if m [\ fi PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Note that the maximum value to which an end pointer may be set is FFFF hex, resulting in a maximum offset from the queue base address of (4*(FFFF-1)) = 3FFF8 hex. An end pointer must not be set to 0 hex in an attempt to include offset 3FFFC hex in a queue. As shown in Figure 6, the ready queue elements have a status field as well as an RPDR field. The RMAC672 fills in the status field to mark whether a packet was successfully received or not. The host reads the status field. The ready queue element is shown in Table 9 below along with the definition of the status bits. If the RMAC672 requires a buffer of a particular size (i.e. small or large) and no RPDR is available in the corresponding free queue, a RPDR from the other free queue is substituted. The host may, therefore, force the RMAC672 to store received data in buffers of only one size by setting one of the free queues to zero length, i.e. by setting the start and end index registers of one of the queues to equal values. If the RMAC672 requires a buffer and neither free queue contains RPDRs, an RPQ_ERRI interrupt is generated. Table 9 RPDRR Queue Element Bit 16 Bit 0 STATUS[1:0] RPDR[14:0] Field Description STATUS[1:0] | The encoding for the status field is as follows: 00 Successful reception of packet. 01 Unsuccessful reception of packet. 10 Unprovisioned partial packet. 11 Partial packet returned due to RAWMAX limit being reached. RPDR[14:0] The RPDR[14:0] field defines the offset of the first RPD in a linked chain of RPDs, each pointing to a buffer containing the received data. As described previously, the RMAC672 links RPDs together if more than one buffer is needed for a packet. The RMAC672 links additional buffer RPDs to the end of the chain as required until the entire packet is copied to host memory (provided that the host has not disabled use of both the small and large free queues by setting one of them to length zero). After storing the packet data, the RMAC672 places the STATUS+RPDR for the first RPD onto the ready queue. Only the RPDR associated with the first RPD is placed onto the ready queue. All other required RPDs are linked to the first RPD as shown in Figure 7. PROPRIETARY AND CONFIDENTIAL 49i > [\ | PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET Ge PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Although a STATUS+RPDR only totals to 17 bits, each queue entry is a dword, i.e. 32 bits. When the RMAC672 block writes a STATUS+RPDR to the ready queue, it sets the remaining 7 bits in the third byte to zero and the fourth byte is unmodified. Figure 7 - RPDRR Queue Operation Rx Packet Descriptor Reference Ready Queue RPDRRQ_START_ADDR Bit 31 Bit 0 buffer -packet M RPDRRQ_READ_ADDR RPD - 16 bytes buffer -packet N RPDRRQ_WRITE_ADDR RPD - 16 bytes buffer -start of packet O RPD - 16 bytes RPD - 16 bytes buffer -middle of packet O RPD - 16 bytes buffer -end of packet O RPDRRQ_END_ADDR Receive Channel Descriptor Reference Table On a per-channel basis, the RMAC672 caches information such as the current DMA information in a Receive Channel Descriptor Reference (RCDR) Table. The RMAC672 can process 672 channels and stores three dwords of information per channel. This information is cached internally in order to PROPRIETARY AND CONFIDENTIAL 50r > [\ fi PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET ee eee eee eee PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 decrease the number of host bus accesses required to process each data packet. The structure of the RCDR table is shown in Figure 8. Figure 8 Receive Channel Descriptor Reference Table Bit 31 Bit 0 RCC 0 |Bytes Avail. in Buffer[14:0] |RBC[1:0] RPD Pointer[14:0] Buffer Size[14:0] Res} V | Start RPD Pointer[14:0] DMA Current Address[31:0] RCC 1 | Bytes Avail. in Buffer[14:0] }RBC[1:0] RPD Pointer[14:0] Buffer Size[14:0] Res} V | Start RPD Pointer[14:0] DMA Current Address[31:0] RCC 671 | Bytes Avail. in Buffer[14:0] }RBC[1:0) RPD Pointer[14:0] Buffer Size[14:0] Res} V | Start RPD Pointer[14:0] DMA Current Address[31:0] Table 10 Receive Channel Descriptor Reference Table Fields Field Description Bytes Available in This field is used to keep track of the number of bytes Buffer[15:0] available in the current data buffer. The RMAC672 initialises the Bytes Available in Buffer to the Receive Buffer Size minus the offset at the head of the buffer. The field is decremented each time a byte is written into the buffer. RBC[1:0] This field is used to keep track of the number of buffers used when storing raw (i.e. non packet delimited) data. The RMAC672 initialises the RBC field to the value of the RAWMAX[1:0] field in the RMAC Control! Register. The field is decremented each time a buffer is filled with data. If the field reaches zero, the chain of RPDs is placed on the ready queue and a new chain started. RPD Pointer[14:0] This field contains the pointer to the current RPD. PROPRIETARY AND CONFIDENTIAL 51DATASHEET r-[\ /| PMC-Sierra, Inc. PM7384 FREEDM-84P672 eee eee cece ence eee ees PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Field Description Buffer Size[14:0] This field contains the size in bytes of the buffer 9.6.2 9.6.3 9.6.4 currently being written to. V This bit (Valid) indicates whether a packet is currently being received on the DMA channel. When the V bit is set to 1, the other fields in the RCDR table entry for the DMA channel contain valid information. Start RPD This field contains the pointer to the first RPD for the Pointer[14:0] packet being received. DMA Current The DMA Current Address [31:0] bits holds the host Address[31:0] address of the next dword in the current buffer. The RMAC672 increments this field on each access to the buffer. DMA Transaction Controller The DMA Transaction Controller coordinates the reception of data packets from the Receive Packet Interface and their subsequent storage in host memory. A packet may be received over a number of separate transactions, interleaved with transactions belonging to other DMA channels. As well as sending the received data to host memory, the DMA Transaction Controller initiates data transactions of its own for the purposes of maintaining the data structures (queues, descriptors, etc.) in host memory. Write Data Pipeline/Mux The Write Data Pipeline/Mux performs two functions. First, it pipelines receive data between the RHDL672 block and the GPIC block, inserting enough delay to enable the DMA Transaction Controller to generate appropriate control signals at the GPIC interface. Second, it provides a multiplexor to the data out lines on the GPIC interface, allowing the DMA Transaction Controller to output data relating to the transactions the controller itself initiates. Descriptor Information Cache The Descriptor Information Cache provides the storage for the Receive Channel Descriptor Reference (RCDR) Table described above (Figure 8). PROPRIETARY AND CONFIDENTIAL 52r- iV \ PMC-Sierra, inc. PM7384 FREEDM-84P672 DATASHEET ee) PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 9.6.5 Free Queue Cache The Free Queue Cache block implements the 6 element RPDR Small Buffer Free Queue cache and the 6 element RPDR Large Buffer Free Queue cache. These caches are used to store free small buffer and large buffer RPDRs. Caching RPDRs reduces the number of host bus accesses that the RMAC672 makes. Each cache is managed independently. The elements of the cache are consumed one at a time as they are needed by the RMAC672. The RPDR small buffer cache is reloaded when it is empty and the RMAC672 requires a new small buffer RPDR. The large buffer RPDR cache is reloaded when it is empty and the RMAC672 requires a new large buffer RPDR. When reloading either of the caches, the appropriate cache controller will read up to six new elements. The cache controller may read fewer than six elements if there are fewer than six new elements available, or the read pointer index is within six elements of the end of the free queue. If the read pointer is near the end of the free queue, the cache controller reads only to the end of the queue and does not start reading from the top of the queue until the next time a reload is required. To do so would require two host memory transactions and would be of no benefit. 9.7 PCI Controller The General-Purpose Peripheral Component Interconnect Controller block (GPIC) provides a 32-bit Master and Target interface core which contains all the required control functions for full Peripheral Component Interconnect (PCI) Bus Revision 2.1 compliance. Communications between the PCI bus and other FREEDM-84P672 blocks can be made through either an internal asynchronous 16-bit bus or through one of two synchronous FIFO interfaces. One of the FIFO interfaces is dedicated to servicing the Receive DMA Controller block (RMAC672) and the other to the Transmit DMA Controller block (TMAC672). The GPIC supports a 32-bit PCI bus operating at up to 66 MHz and bridges between the timing domain of the DMA controllers (SYSCLK) and the timing domain of the PCI bus (PCICLK). The GPIC is backwards compatible and will operate at 33 MHz when connected to a 33 MHz PCI bus. By itself, the GPIC does not generate any PCI bus accesses. All transactions on the bus are initiated by another PCI bus master or by the core device. The GPIC transforms each access to and from the PCI bus to the intended target or initiator in the core device. Except for the configuration space registers and parity generating/checking, the GPIC performs no operations on the data. The GPIC is made up of four sections: master state machine, a target state machine, internal microprocessor bus interface and error/bus controller. The PROPRIETARY AND CONFIDENTIAL 53DATASHEET r? [\ fl PMC-Sierra, inc. PM7384 FREEDM-84P672 ee PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 9.7.1 target and master blocks operate independent of each other. The error/bus control block monitors the control signals from the target and master blocks to determine the state of the PCI I/O pads. This block also generates and/or checks parity for all data going to or coming from the PCI bus. The internal microprocessor bus interface block contains configuration and status registers together with the production test logic for the GPIC block. Master Machine The GPIC master machine translates requests from the RMAC672 and TMAC672 block interfaces into PCI bus transactions. The GPIC initiates four types of PCI cycles: memory read (burst or single), memory read multiple, memory read line and memory write (burst or single). The number of data transfers in any cycle is controlled by the DMA controllers. The maximum burst size is determined by the particular data path. Aread cycle to the RMAC672 is restricted to a maximum burst size of 8 dwords and a write cycle is limited to a maximum of 64. The TMAC672 interface has a limit of 64 dwords on a read cycle and 8 on a write cycle. In response to a DMA controller requesting a cycle, the GPIC must arbitrate for control of the PCI bus. In the event that the RMAC672 and TMAC672 request service simultaneously, the GPIC66 processes the RMAC672 DMA operation first. When an external PCI bus arbitrator issues a Grant in response to the Request from the GPIC, the master state machine monitors the PCI bus to insure that the previous master has completed its transaction and has released the bus before beginning the cycle. Once the GPIC has control of the bus, it will assert the FRAME signal and drive the bus with the address and command. The value for the address is provided by the selected DMA controller. After the initial data transfer, the GPIC tracks the address for all remaining transfers in the burst internally in case the GPIC is disconnected by the target and must retry the transaction. The target of the GPIC master burst cycle has the option of stopping or disconnecting the burst at any point. In the event of a target disconnect the GPIC will terminate the present cycle and release the PCI bus. If the GPIC is asserting the REQUEST line at the time of the disconnect, it will remove the REQUEST for two PCI clock cycles then reassert it. When the PC! bus arbitrator returns the GRANT, the GPIC will restart the burst access at the next address and continue until the burst is completed or repeat the sequence if the target disconnects again. During burst reads, the GPIC accepts the data without inserting any wait states. Data is written directly into the read FIFO where the RMAC672 or TMAC672 can PROPRIETARY AND CONFIDENTIAL 54r[\ A or PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 remove it at its own rate. During burst writes, the GPIC will output the data without inserting any wait states, but may terminate the transaction early if the local master fails to fill the write FIFO with data before the GPIC requires it. (Ifa write transaction is terminated early due to data starvation, the GPIC will automatically initiate a further transaction to write the remaining data when it becomes available.) Normally, the GPIC will begin requesting the PCI bus for a write transaction shortly after data starts to be loaded into the write FIFO by the RMAC672 or TMAC672. The RMAC672, however, is not required to supply a transaction length when writing packet data and in addition, may insert pauses during the transfer. In the case of packet data writes by the RMAC672, the GPIC will hold off requesting the PCI bus until the write FIFO has filled up with a number of dwords equal to a programmable threshold. If the FIFO empties without reaching the end of the transition, the GPIC will terminate the current transaction and restart a new transaction to transfer any remaining data when the RMAC672 signals an end of transaction. Beginning the PCI transaction before ail the data is in the write FIFO allows the GPIC to reduce the impact of the bus latency on the core device. Each master PCI cycle generated by the GPIC can be terminated in three ways: Completion, Timeout or Master Abort. The normal mode of operation of the GPIC is to terminate after transferring all the data from the master FIFO selected. As noted above this may involve multiple PCI accesses because of the inability of the target to accept the full burst or data starvation during writes. After the completion of the burst transfer the GPIC will release the bus unless another FIFO is requesting service, in which case if the GRANT is asserted the GPIC will insert one idle cycle on the bus and then start a new transfer. The maximum duration of the a master burst cycle is controlled by the value set in the LATENCY TIMER register in the GPIC Configuration Register block. This value is set by the host on boot and is loaded into a counter in the GPIC master state at the start of each access. If the counter reaches zero and the GRANT signal has been removed the GPIC will release the bus regardless of whether it has completed the present burst cycle. This type of termination is referred to as a Master Time-out. In the case of a Master Time-out the GPIC will remove the REQUEST signal for two PCI clocks and then reassert it to complete the burst cycle. If no target responds to the address placed on the bus by the GPIC after 4 PCI clocks the GPIC will terminate the cycle and flag the cycle in the PC Command/ Status Configuration Register as a Master Abort. If the Stop on Error enable (SOE_E) bit is set in the GPIC Command Register, the GPIC will not process any more requests until the error condition is cleared. If the SOE_E is not set, the GPIC will discard the REQUEST and indicate to the local master that the cycle is PROPRIETARY AND CONFIDENTIAL 55DATASHEET ri fi or PMC-Sierra, Inc. PM7384 FREEDM-84P672 eee eee eee ees PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 9.7.2 complete. This action will result in any write data being lost and any read data being erroneous. Master Local Bus Interface The master local bus is a 32 bit data bus which connects the local master device to the GPIC. The GPIC contains two local master interface blocks, with one supporting the RMAC672 and the other the TMAC672. Each local master interface has been optimised to support the traffic pattern generated by the RMAC672 or the TMAC672 and are not interchangeable. The data path between the GPIC and local master device provides a mechanism to segregate the system timing domain of the core from the PCI bus. Transfers on each of the RMAC672 and TMAC672 interfaces are timed to its own system clock. The DMA cortrollers isolated from all aspects of the PCI bus protocol, and instead sees a simple synchronous protocol. Read or write cycles on the local master bus will initiate a request for service to the GPIC which will then transfer the data via the PCI bus. The GPIC maximises data throughput between the PCI bus and the local device by paralleling local bus data transfers with PCI access latency. The GPIC allows either DMA controller to write data independent of each other and independent of PCI bus control. The GPIC temporarily buffers the data from each DMA controller while it is arbitrating for control of the PCI bus. After completion of a write transfer, the DMA controller is then released to perform other tasks. The GPIC can buffer only a single transaction from each DMA controller. Read accesses on the local bus are optimised by allowing the DMA controllers access to the data from the PCI bus as soon as the first data becomes available. After the initial synchronisation and PCI bus latency data is transferred at the slower of PCI bus rate or the core logic SYSCLK rate. Once a read transaction is started, the DMA controller is held waiting for the ready signal while the GPIC is arbitrating for the PCI bus. All data is passed between the GPIC and the DMA controllers in little Endian format and, in the default mode of operation, the GPIC expects all data on the PCI bus to also be in little Endian format. The GPIC provides a selection bit in the internal Control register which allows the Endian format of the PCI bus data to be changed. If enabled, the GPIC will swizzie all packet data on the PCI bus (but not descriptor references and the contents of descriptors). The swizzling is performed according to the byte address invariance rule, i.e. the only change to the data is the mirror-imaging of byte lanes. The interface for the RMAC672 provides for byte addressability of write transactions whereas the interface for the TMAC672 provides for byte PROPRIETARY AND CONFIDENTIAL 56DATASHEET r- [\ fl PMC-Sierra, Inc.: PM7384 FREEDM-84P672 ee PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 9.7.3 addressability of read transactions. Other transactions must be dword aligned. For byte-addressable transactions, the data transferred between the local device and the GPIC need not be dword aligned with the data as it is presented on the PCl bus. The GPIC will perform any byte-realignment required. In order to complete a transfer involving byte re-alignment, the GPIC may need to add an extra burst cycle to the PCI transaction. Target Machine The GPIC target machine performs all the required functions of a stand alone PCI target device. The target block performs three main functions. The first is the target state machine which controls the protocol of PCI target accesses to the GPIC. The second function is to provide all PCI Configuration registers. Last, the target block provides a Target Interface to the CBI registers in the other FREEDM-84P672 blocks. The GPIC tracks the PCI bus and decodes all addresses and commands placed on the bus to determine whether to respond to the access. The GPIC responds to the following types of PCI bus commands only: Configuration read and write, memory read and write, memory-read-multiple and memory-read-line which are aliased to memory read and memory-write-and-invalidate which is aliased to memory write. The GPIC will ignore any access that falls within the address range but has any other command type. After accepting a target access as a medium speed device, the FREEDM- 84P672 inserts one wait state for a configuration read/write and five wait states for other command types before completing the transaction by asserting TRDYB. Burst accesses to the GPIC are accepted provided they are of linear type. If a master makes a memory access to the GPIC with the lower two address bits set to any value but "00" (linear burst type) the GPIC ignores the cycle. Burst accesses of any length are accepted, but the FREEDM-84P672 will disconnect if the master inserts any wait states during the transaction. The FREEDM-84P672 will also disconnect on every read and write access to configuration space after transferring one Dword of data. Figure 9 illustrates the GPIC address space. PROPRIETARY AND CONFIDENTIAL 57. r a [\ /\ q PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET A PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Figure 9 GPIC Address Map PCI ADDRESS MAP CBI Registers Base Address 8KB 4GB > The GPIC responds with medium timing to master accesses. (i.e. DEVSELB is asserted 2 PCICLK cycles after FRAMEB asserted). The GPIC inserts five wait states on reads to the internal CBI register space (six wait states for the 2nd and subsequent dwords of a burst read). The target machine will only terminate an access with a Retry if the target is locked and another master tries to access the GPIC. The GPIC will terminate any access to a non-burst area with a Disconnect and always with data transferred. The target does not support delayed transactions. The GPIC will perform a Target-Abort termination only in the case of an address parity error in an address that the GPIC claims. PROPRIETARY AND CONFIDENTIAL 58DATASHEET r> [\ A oo PMC-Sierra, inc. PM7384 FREEDM-84P672 a PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 9.7.4 CBI Bus Interface 9.7.5 The CBI bus interface provides access to the CBI address space of the FREEDM-84P672 blocks. The CBI address space is set by the associated BAR in the PCI Configuration registers. Write transfers to the CBI space always write all 32 bits provided that at least one byte enable is asserted. A write command with all byte enables negated will be ignored. Read transfers always return the 32 bits regardless of the status of the byte enables, as long as at least one byte enable is asserted. Aread command with all byte enables negated will be ignored. Error / Bus Control The Error/Bus Control block monitors signals from both the Target block and Master Block to determine the direction of the PCI bus pads and to generate or check parity. After reset, the GPIC sets all bi-directional PCI bus pads to inputs and monitors the bus for accesses. The Error/Bus control unit remains in this state unless either the Master requests the PCI bus or the Target responds to a PCI Master Access. The Error/Bus control unit decodes the state of each state machine to determine the direction of each PCI bus signal. All PCI bus devices are required to check and generate even parity across AD[31:0] and C/BEB[3:0] signals. The GPIC generates parity on Master address and write data phases; the target generates parity on read data phases. The GPIC is required to check parity on all PCI bus phases even if it is not participating in the cycle. But, the GPIC will report parity errors only if the GPIC is involved in the PCI cycle or if the GPIC detects an address parity error or data parity is detected in a PCI special cycle. The GPIC updates the PCI Configuration Status register for all detected error conditions. 9.8 Transmit DMA Controller The Transmit DMA Controller block (TMAC672) is a DMA controller which retrieves packet data from host computer memory for transmission. The minimum packet data length is two bytes. The TMAC672 communicates with the host computer bus through the master interface connected to PCI Controller block (GPIC) which translates host bus specific signals from the host to the master interface format. The TMAC672 uses the master interface whenever it wishes to initiate a host bus read or write; in this case, the TMAC672 is the initiator and the host memory is the target. The TMAC672 and the host exchange information using transmit descriptors (TDs). The descriptor contains the size and location of buffers in host memory PROPRIETARY AND CONFIDENTIAL 59DATASHEET ri A cr PMC-Sierra, Inc. PM7384 FREEDM-84P672 a PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 9.8.1 and the packet status information associated with the data in each buffer. TDs are transferred from the TMAC672 to the host and vice versa using descriptor reference queues. The TMAC672 maintains all the pointers for the operation of the queues. The TMAC672 acquires buffers with data ready for transmission by reading TDRs from a TDR ready queue. After a packet has been transmitted, the TMAC672 places the associated TDR onto a TDR free queue. To minimise host bus accesses, the TMAC672 maintains a descriptor reference table to store current DMA information. This table contains separate DMA information entries for up to 672 transmit channels. The TMAC672 also performs per-channel sorting of packets received in the TDR ready queue to eliminate head-of-line blocking. Data Structures The TMAC672 communicates with the host using Transmit Descriptors (TD), Transmit Descriptor References (TDR), the Transmit Data Reference Ready (TDRR) queue and the Transmit Data Reference Free (TDRF) queue. The TMAC672 reads packet data from data buffers in host memory. The TD, TDR, TDRR queue, and TDRF queue are data structures which are used to transfer host memory data buffer information. All four data structures are manipulated by both the TMAC672 and the host computer. The TD holds the data buffer size, data buffer address, and other packet information. The TDR is a pointer which is used to index into a table of TDs. The TDRR queue and TDRF queue allow the TMAC672 and the host to pass TDRs back and forth. These data structures are described in more detail in the following sections. Transmit Descriptor The Transmit Descriptors (TDs) pass buffer and packet information between the TMAC672 and the host. Both the TMAC672 and the host read and write information in the TDs. TDs are stored in host memory in a Transmit Descriptor Table. The Transmit Descriptor structure is shown in Figure 10. Figure 10 Transmit Descriptor Bit 31 0 Data Buffer Start Address [31:0] Bytes In Buffer (15:0) P [ABTiIoc ce [Ree a TCCI9:0} v TMAC Next TO Pointer[14:0] M Host Next TD Painter[{14:0} Reserved (16): wee Transmit Buffer Size(15:0) PROPRIETARY AND CONFIDENTIAL 60ri I Y PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Table 11 Transmit Descriptor Fields Field Description Data Buffer Start Address [31:0] The Data Buffer Start Address[31:0] bits point to the data buffer in host memory. The Data Buffer Start Address field is valid in all TDs Bytes In Buffer [15:0] The Bytes In Buffer[15:0] field is used by the host to indicate the total number of bytes to be transmitted in the current TD. Zero length buffers are illegal. The Priority bit is set by the host to indicate the priority of the associated packet in a two level quality of service scheme. Packets with its P bit set high are queued in the high priority queue in the TMAC672. Packets with the P bit set low are queued in the low priority queue. Packets in the low priority queue will not begin transmission until the high priority queue is empty. ABT The Abort (ABT) bit is used by the host to abort the transmission of a packet. When ABT is set to logic 1, the packet will be aborted after all the data in the buffer has been transmitted. If ABT is set to logic 1 in the current TD, the M bit must be set low and the CE bit must be set to high. lOc The Interrupt On Complete (IOC) bit is used by the host to instruct the TMAC672 to interrupt the host when the current TD's data buffer has been read. When IOC is logic 1, the TMAC672 asserts the IOCI interrupt when the data buffer has been read. Additionally, the Free Queue FIFO will be flushed. If IOC is logic zero, the TMAC672 will not generate an interrupt and the Free Queue FIFO will operate normally. PROPRIETARY AND CONFIDENTIAL 67DATASHEET PMC-1990445 ISSUE 4 r- [\ fl c PMC-Sierra, Inc. PM7384 FREEDM-84P672 SS FRAME ENGINE AND DATA LINK MANAGER 84P672 Field Description CE The Chain End (CE) bit is used by the host to indicate the end of a linked list of TDs presented to the TMAC672. The linked list can contain one or more packets as delineated by the M bit (see above). When CE is set to logic 1, the current TD is the last TD of a linked list of TDs. When CE is set to logic 0, the current TD is not the last TD of a linked list. When the current TD is not the last of the linked list, the Host Next TD Pointer[14:0] field is valid, otherwise the field is not valid. Note: When CE is set to logic 1, the only valid value for M is logic 0. Note: When presenting raw (i.e. unpacketised) data for transmission, the host should code the M and CE bits as for a single packet chain, i.e. M=1, CE=0 for all TDs except the last in the chain and M=0, CE=1 for the last TD in the chain. TCC[9:0] The Transmit Channel Code (TCC[9:0]) bits are used by the host to associate a channel with a TD pointed to by a TDR. All TCC[9:0] fields in a linked list of TDs must be set to the same value. The V bit is used to indicate that the TMAC Next TD Pointer field is valid. When set to logic 1, the TMAC Next TD Pointer[14:0] field is valid. When V is set to logic 0, the TMAC Next TD Pointer[14:0] field is invalid. The V bit is used by the host to reclaim data buffers in the event that data presented to the TMAC672 is returned to the host due to a channel becoming unprovisioned. The V bit is expected to be initialised to logic O by the host. PROPRIETARY AND CONFIDENTIAL 62i 2 [\ y/ cy PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Field Description TMAC Next TD Pointer [14:0] The TMAC Next TD Pointer[14:0] bits are used to store TDRs which permits the TMAC672 to create linked lists of TDs passed to it via the TDRR queue. The TDs are linked with other TDs belonging to the same channel and same priority level. In the case that data presented to the TMAC672 is returned to the host due to a channel becoming unprovisioned, a TDR pointing to the start of the per-channel linked list of TDs is placed on the TDRF queue. It is the responsibility of the host to follow the TMAC672 and host links in order to recover all the buffers. The More (M) bit is used by the host to support packets that require multiple TDs. If M is set to logic 1, the current TD is just one of several TDs for the current packet. If M is set to logic 0, this TD either describes the entire packet (in the single TD packet case) or describes the end of a packet (in the multiple TD packet case). Note: When M is set to logic 1, the only valid value for CE is logic 0. Host Next TD Pointer [14:0] The Host Next TD Pointer[14:0] bits are used to store TDRs which permits the host to support linked lists of TDs. As described above, linked lists of TDs are terminated by setting the CE bit to logic 1. Linked lists of TDs are used by the host to pass multiple TD packets or multiple packets associated with the same channel and priority level to the TMAC672. Transmit Buffer Size [15:0] The Transmit Buffer Size[15:0] field is used to indicate the size in bytes of the current TD's data buffer. (N.B. The TMAC672 does not make use of this field.) Transmit Descriptor Table The Transmit Descriptor Table, which resides in host memory, contains all of the Transmit Descriptors referenced by the TMAC672. To access a TD, the TMAC672 takes a TDR from a TDRR queue or from the TCDR table and adds 16 times its value (because each TD is 16 bytes in size) to the Transmit Descriptor Table Base (TDTB) pointer to form the actual address of the TD in host memory. Each TD must reside in the Transmit Descriptor Table. The PROPRIETARY AND CONFIDENTIAL 63r [\ y) PMC-Sierra, Inc. PM7364 FREEDM-B4P672 DATASHEET ann PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER &4P672 Transmit Descriptor Table can contain a maximum of 32768 TDs. The base of the Transmit Descriptor Table is user programmable using the TMAC Tx Descriptor Table Base register. Thus, as shown below, each TD can be located using a Transmit Descriptor Reference (TDR) combined with the TMAC Tx Descriptor Table Base register. Figure 11 Transmit Descriptor Table TDTB[31:4] = Tx Descriptor Table Base register TDR[14:0] = Transmit Descriptor Reference TD_ADDR{[31:0] = Transmit Descriptor Address Bit 31 Bit 0 | TDTB[31:4] | 0000] + TDR[14:0 | TD_ADDR[31:0] J Bit 31 Bit 0 TDTB Dword 0 Dword 1 Dword 2 Dword 3 Dword 0 TD1 TD_ADDR TD2 Dword 3 Dword 0 TD 32768 Dword 3 PROPRIETARY AND CONFIDENTIAL 64i [\ fA cr PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Transmit Queues Pointers to the transmit descriptors (TDs) containing packet(s) ready for transmission are passed from the host to the TMAC672 using the Transmit Descriptor Reference Ready (TDRR) queue, which resides in host memory. Pointers to transmit descriptor structures whose buffers have been read by the TMAC672 are passed from the TMAC672 to the host using the Transmit Descriptor Reference Free (TDRF) queue, which also resides in host memory. The TMAC672 contains a Free Queue cache which can store up to six TDRs. If caching is enabled, free TDRs are written into the TDRF queue six at a time, to reduce the number of host memory accesses. The Free Queue cache is flushed to the TDRF queue if the Interrupt On Completion (IOC) bit is set in the TD, which sends the corresponding TDR directly to the TDRF queue. The Free Queue cache is also flushed to the TDRF queue if the FQFLUSH register bit is set high. The FQFLUSH register bit is self clearing. The queues, shown in Figure 12 are defined by a common base pointer residing in the Transmit Queue Base register and eight offset pointers, four per queue. For each queue, two pointers define the start and the end of the queue, and two pointers keep track of the current read and write locations within the queue. The read pointer for each queue points to the offset of the last valid TDR read, and the write pointer points to the offset where next TDR can be written. The end of a queue is not a valid location for a TDR to be read or written. A queue is empty when the read pointer is one less than the write pointer or if the read pointer is one less than the end pointer and the write pointer equals the start pointer. A queue is full when the read pointer is equal to the write pointer. Each queue element is 32 bits in size, but only the least significant 18 bits are valid. The 18 least significant bits consist of a 15-bit TDR and three status bits for the TD pointed at by this TDR. The status bits are used by the TMAC672 to inform the host of the success or failure of transmission (see Table 12). When the TMAC672 writes TDRs to the TDRF queue, it sets bits [23:18] of the queue element to 0 and leaves bits [31:24] unaltered. Once a TDR is placed on the TDRF queue, the FREEDM-84P672 will make no further accesses to the TD nor the associated buffer. Note that the maximum value to which an end pointer may be set is FFFF hex, resulting ina maximum offset from the queue base address of (4*(FFFF-1)) = 3FFF8 hex. An end pointer must not be set to 0 hex in an attempt to include offset 3FFFC hex in a queue. PROPRIETARY AND CONFIDENTIAL 65ri /I co PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Figure 12 - TDRR and TDRF Queues Transmit Descriptor Referance Queues Base Address: TQBj31:2] = Tx Queue Base register Index Registers: Ready: TDRROS[15:0} = TDR Ready Queue Start ragister TDORROQW [15:0] = TDR Ready Queue Write register TDRROR[15:0] = TDR Ready Queue Read register Base Address TDRRQE[15:0] = TDR Ready Queue End register ToBis:2] 00) F + Index Register + Index{15:0] Joo] ree: TDRFQS[15:0] = TOR Free Queve Start register PCI Address ADIs1-Of TDRFQW([15:0] = TDR Free Queue Write register TORFOR[15:0] = TOR Free Queue Read register TDRFQE[15:0} = TDR Free Queue End register Tx Descriptor Reference Queue Memory Map Bit 31 Bio Status + TOR TDRFOS TORFQR PCI Host Memory + Status + TOR Status + TOR Status + TOR Status + TOR TORFQW TDR Reference Queues 256KB TDRFQE a- TDRRQS TDRROR TDRRQW TDRROE PROPRIETARY AND CONFIDENTIAL 66i 2 Vi Y PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET a PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Table 12 Transmit Descriptor Reference Bit 17 Bit 0 STATUS[2:0] TDR[14:0] Field Description Status[2:0] The TMAC672 fills in the Status field to indicate to the host the results of processing the TD. The encoding is: Status[1:0] Description 00 Last or only buffer of packet, buffer read. 01 Buffer of partial packet, buffer read. 10 Unprovisioned channel, buffer not read. 11 Malformed packet (e.g. Bytes In Buffer field set to 0), buffer not read. Status[2] Description 0 No underflow detected. 1 Underflow detected. TDR[14:0] The TDR[14:0] field contains the offset of the TD returned. lf a TDR is returned to the host with the status field set to 10 (unprovisioned channel), the TDR may point to a binary tree of TDs and buffers (as indicated by the CE and V bits in the TDs). It is the responsibility of the host to traverse the tree to reclaim all the buffers. If a TDR is returned to the host with the status field set to any other value, the TDR will only point to one TD and buffer regardless of the values of V and CE in that TD. The underflow status bit (Status[2]) is normally attached to the TDR belonging to a packet experiencing underflow. For long packets spanning multiple buffers, underflow is reported only once at the first available TDR of that channel. All subsequent TDRs of that packet will be returned normally without the underflow status. In rare cases, due to internal buffering by the FREEDM-84P672, a packet may experience underflow at the very end of a packet, just as the TDR is being returned to the TDR free queue. The underflow status will then be reported in the first TDR of the immediate next packet of that channel. Because of the uncertainty with the reporting of underflows between the current verse the subsequent packet, the underflow status should only be used to gather performance statistics on channels and not for initiating packet specific responses such as retransmission. PROPRIETARY AND CONFIDENTIAL 67rl v/ o PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Transmit Channel Descriptor Reference Table The TMAC672 maintains a Transmit Channel Descriptor Reference (TCDR) table in which is stored certain information relating to DMA activity on each channel together with TD pointers which are used by the TMAC672 to sort packet chains supplied by the host into per-channel linked lists (see below). The caching of DMA-related information reduces the number of host bus accesses required to process each data packet, while the sorting into per-channel linked lists eliminates head of line blocking. Each channel is provided with two entries in the TCDR table, one for high priority packets (Pri 1) and one for low priority packets (Pri 0). The structure of the TCDR table is shown in Figure 13 below. Figure 13 Transmit Channel Descriptor Reference Table Bit 33 Bit 0 TCC 0,Pri0 | Reserved (12) NAlmfoc|m [cela |o] Current TD Pointer [14:0] xe Bytes to Tx [15:0] ee} = Host TD Pointer [14:0] DMA Current Address[31:0] ye| U | PIP Last TD Pointer [14:0] Vv Next TD Pointer [14:0] Reserved (12) NA actlioc!M |celA| 0] Current TD Pointer [14:0] Bytes to Tx [15:0] Host TD Pointer [14:0] DMA Current Address[31:0] Last TD Pointer [14:0] Vv Next TD Pointer [14:0] TCC 1, Pri O __ |NA|+eafioc] M |cEL A Current TD Pointer [14:0] Bytes to Tx [15:0] rei Host TD Pointer [14:0] DMA Current Address[31:0] Last TD Pointer [14:0] Vv Next TD Pointer [14:0] TCC 671, Pri1| PROPRIETARY AND CONFIDENTIAL 68DATASHEET PMC-1990445 r? [\ f\ Cc" PMC-Sierra, Inc. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 Table 13 Transmit Channel Descriptor Reference Table Fields Field Description NA Indicates that a null abort is to be sent to the downstream block when it next requests data on this channel. The NA bit is set if a mal-formed TD is encountered while searching down a host chain. ABRT A copy of the ABRT bit in the TD currently being read. IOC A copy of the IOC bit in the TD currently being read. M A copy of the M bit in the TD currently being read. CE Acopy of the CE bit in the TD currently being read. A Indicates if this channel is active (i.e. provisioned). If the channel is active, the A bit is set to logic 1. If the channel is inactive, the A bit is set to logic 0. D Indicates whether the linked list of packets for this channel is empty or not. If the D bit is set to logic 1, the list is not empty and the current TD pointer field is valid (i.e., it points to a valid TD). If the D bit is set to logic 0, the list is empty and the current TD pointer field is invalid. Current TD Pointer [14:0] Offset to the TD currently being read. (See Figure 14) Bytes To Tx[15:0] The Bytes to Tx[15:0] bits are used to indicate the total number of bytes that remain to be read in the current buffer. Each access to the data buffer decrements this value. A value of zero in this field indicates the buffer has been completely read. Host TD Pointer [14:0] A copy of the Host Next TD Pointer field of the TD currently being read, i.e. a pointer to the next TD in the chain currently being read. (See Figure 14) DMA Current Address[31:0] The DMA Current Address [31:0] bits hold the address of the next dword in the current buffer. This field is incremented on each access to the buffer. U indicates that an underflow has occurred on this channel. This bit is set in response to an underflow indication for the downstream THDL672 block and is cleared when a TDR is written to the TDR Free Queue (or to the free queue cache). PROPRIETARY AND CONFIDENTIAL 69DATASHEET r Mi Nes PMC-Sierra, Inc. PM7384 FREEDM-84P672 ee eee eee eee PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Field Description PiP The Packet Transfer in Progress bit indicates that a packet is currently being transmitted on this channel at this priority level. Last TD Pointer [14:0] Offset to the head of the last host-linked chain of TDs to be read. (See Figure 14) | Vv Indicates if the linked list of packets for this channel contains more than one host-linked chain (See Figure | 14). If the V bit is set to logic 1, the list contains more than one chain and the next and last TD pointer fields are valid. if the V bit is set to logic 0, the list is either empty or contains only one host-linked chain and the next and last TD pointer fields are invalid. Next TD Pointer [14:0] Offset to the head of the next host-linked chain of TDs to be read. (See Figure 14) Transmit Descriptor Linking As described above, the TCDR table contains pointers which the TMAC672 uses to construct linked lists of data packets to be transmitted. After the host places a new TDR in the TDR Ready queue, the TMAC672 retrieves the TDR and links it to the TD pointed at by the Last TD Pointer field. The TMAC672 may create up to 1,344 linked lists, viz. a high-priority list and a low-priority list for each DMA channel. Whenever a new data packet is requested by the downstream block, the TMAC672 picks a packet from the high-priority linked list unless it is empty, in which case, a packet from the low-priority linked list is used. PROPRIETARY AND CONFIDENTIAL 70r? [\ /\ PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Figure 14 TD Linking [\ I Y PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET ES PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 SBI SBI | TCAS | SBI SBI | TCAS SBI SBI | TCAS SPE | Trib. Link SPE | Trib. Link SPE | Trib. Link No. No. No. No. No. No. No. No. No. 1 28 81 2 28 82 3 28 83 As shown in the table above, TCAS links 0, 1, and 2 are mapped to tributary 1 of SPEs 1, 2 and 3 respectively. These links may be configured to operate at DS-3 rate. (They may also be configured to output data to the TD outputs at rates up to 51.84 Mbps.) For each of these high-speed links, the TCAS672 provides a six byte FIFO. For the remaining links (TCAS links 3 to 83, mapped to links 2 to 28 of each SPE), the TCAS672 provides a single byte holding register. The TCAS672 performs parailel to serial conversion to form bit-serial streams which are passed to the SBI SIPO blocks. In the event where multiple links are in need of data, TCAS672 requests data from upstream blocks on a fixed priority basis with link 0 having the highest priority and link 83 the lowest. Links containing a T1/J1 or an E1 stream may be channelised. Data at each time-slot may be independently assigned to be sourced from a different channel. The position of T1/J1 and E1 framing bits/bytes is identified by frame pulse signals generated by the SBI SIPO blocks. With knowledge of the transmit link and time-slot identity, the TCAS672 performs a table look-up to identify the channel from which a data byte is to be sourced. Links containing a DS-3 stream are unchannelised, in which case, all data bytes on the link belong to one channel. The TCAS672 performs a table look-up to identify the channel to which a data byte belongs using only the outgoing link identity, as no time-slots are associated with unchannelised links. Links may additionally be configured to operate in an unframed clear channel mode, in which case the FREEDM-84P672 will output HDLC data in all bit positions, including those normally reserved for framing information. Links so configured operate as unchannelised regardless of link rate and the TCAS672 performs a table lookup using only the link number to determine the associated channel. 9.10.1 Line Interface There are 84 line interface blocks in the TCAS672. Each line interface block contains a bit counter, an 8-bit shift register and a holding register that, together, perform parallel to serial conversion. Whenever the shift register is updated, a request for service is sent to the priority encoder block. When acknowledged by the priority encoder, the line interface responds by writing the data into the holding register. To support channelised links, each line interface block contains a time-slot counter. The time-slot counter is incremented each time the shift register is PROPRIETARY AND CONFIDENTIAL 78r- [\ f I PMC-Sierra, Inc. PM7384 FREEDM-84P672 | PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 DATASHEET updated and is reset on detection of a frame pulse from the SBI SIPO blocks. For unchannelised or unframed links, the time-slot counter is held reset. 9.10.2 Priority Encoder The priority encoder monitors the line interfaces for requests and synchronises them to the SYSCLK timing domain. Requests are serviced on a fixed priority scheme where highest to lowest priority is assigned from the line interface attached to link 0 to that attached to link 83. Thus, simultaneous requests from link m will be serviced ahead of link n, if m MV Ns PMC-Sierra, inc. PM7384 FREEDM-84P672 eee e ee cence PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER &4P672 PCI Offset Register 0x144 RCAS SBI SPE1 Configuration Register #2 0x148 RCAS SBI SPE2 Configuration Register #1 0x14C RCAS SBI SPE2 Configuration Register #2 0x150 RCAS SBI SPE3 Configuration Register #1 0x154 RCAS SBI SPE3 Configuration Register #2 0x158 0x17C | RCAS Reserved 0x180 0x188 | RCAS Link #0 to #2 Configuration 0x18C - Ox1FC | RCAS Reserved 0x200 RHDL Indirect Channel Select 0x204 RHDL Indirect Channel Data Register #1 0x208 RHDL Indirect Channel Data Register #2 0x20C RHDL Reserved 0x210 RHDL Indirect Block Select 0x214 RHDL Indirect Block Data Register 0x218 - 0x21C | RHDL Reserved 0x220 RHDL Configuration 0x224 RHDL Maximum Packet Length 0x228 - Ox23C | RHDL Reserved 0x240 - 0x27C | Reserved 0x280 RMAC Control 0x284 RMAC Indirect Channel Provisioning 0x288 RMAC Packet Descriptor Table Base LSW 0x28C RMAC Packet Descriptor Table Base MSW 0x290 RMAC Queue Base LSW 0x294 RMAC Queue Base MSW 0x298 RMAC Packet Descriptor Reference Large Buffer Free Queue Start 0x29C ten Packet Descriptor Reference Large Buffer Free Queue rite PROPRIETARY AND CONFIDENTIAL 82DATASHEET r- [\ A ce PMC-Sierra, Inc. PM7384 FREEDM-84P672 PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 PCI Offset Register Ox2A0 RMAC Packet Descriptor Reference Large Buffer Free Queue Read Ox2A4 RMNC Packet Descriptor Reference Large Buffer Free Queue n Ox2A8 RMAC Packet Descriptor Reference Smail Buffer Free Queue Start Ox2AC RMAC Packet Descriptor Reference Small Buffer Free Queue Write 0x2BO RMAC Packet Descriptor Reference Small Buffer Free Queue Read 0x2B4 RMAC Packet Descriptor Reference Small Buffer Free Queue n Ox2B8 RMAC Packet Descriptor Reference Ready Queue Start Ox2BC RMAC Packet Descriptor Reference Ready Queue Write Ox2C0 RMAC Packet Descriptor Reference Ready Queue Read Ox2C4 RMAC Packet Descriptor Reference Ready Queue End 0x2C8 - Ox2FC | RMAC Reserved 0x300 TMAC Control 0x304 TMAC Indirect Channel Provisioning 0x308 TMAC Descriptor Table Base LSW 0x30C TMAC Descriptor Table Base MSW 0x310 TMAC Queue Base LSW 0x314 TMAC Queue Base MSW 0x318 TMAC Descriptor Reference Free Queue Start 0x31C TMAC Descriptor Reference Free Queue Write 0x320 TMAC Descriptor Reference Free Queue Read 0x324 TMAC Descriptor Reference Free Queue End 0x328 TMAC Descriptor Reference Ready Queue Start 0x32C TMAC Descriptor Reference Ready Queue Write 0x330 TMAC Descriptor Reference Ready Queue Read 0x334 TMAC Descriptor Reference Ready Queue End PROPRIETARY AND CONFIDENTIAL &3r > [\ I PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET eee eee eee ee PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 PCI Offset Register 0x338 - 0x37C | TMAC Reserved 0x380 THDL Indirect Channel Select 0x384 THDL Indirect Channel Data #1 0x388 THDL Indirect Channel Data #2 0x38C THDL Indirect Channel Data #3 0x390 - Ox39C | THDL Reserved 0x3A0 THDL Indirect Block Select Ox3A4 THDL Indirect Block Data 0x3A8 - Ox3AC | THDL Reserved 0x3B0 THDL Configuration 0x3B4 - Ox3BC | THDL Reserved 0x3CO - Ox3FC | Reserved 0x400 TCAS Indirect Channel and Time-slot Select 0x404 TCAS Indirect Channel Data 0x408 TCAS Reserved 0x40C TCAS Idle Time-slot Fill Data 0x410 TCAS Channel Disable 0x414 - 0x43C | TCAS Reserved 0x440 TCAS SBI SPE1 Configuration Register #1 0x444 TCAS SBI SPE1 Configuration Register #2 0x448 TCAS SBI SPE2 Configuration Register #1 0x44C TCAS SBI SPE2 Configuration Register #2 0x450 TCAS SBI SPE3 Configuration Register #1 0x454 TCAS SBI SPE3 Configuration Register #2 0x458 - 0x47C | TCAS Reserved 0x480 - 0x488 | TCAS Link #0 to #2 Configuration Ox48C - Ox4FC | TCAS Reserved 0x500 PMON Status 0x504 PMON Receive FIFO Overflow Count PROPRIETARY AND CONFIDENTIAL 84r> [\ fi c PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 PCI Offset Register 0x508 PMON Transmit FIFO Underflow Count 0x50C PMON Configurable Count #1 0x510 PMON Configurable Count #2 0x514 -0x51C | PMON Reserved 0x520 - Ox5BC | Reserved 0x5C0 SBI EXTRACT Control 0x5C4 - 0x5C8 | SBI EXTRACT Reserved 0x5CC SBI EXTRACT Tributary RAM Indirect Access Address 0x5D0 SBI EXTRACT Tributary RAM indirect Access Control 0x5D4 SBI EXTRACT Reserved 0x5D8 SBI EXTRACT Tributary RAM Indirect Access Data 0x5DC SBI EXTRACT Parity Error Interrupt Reason Ox5E0 - Ox5FC | SBI EXTRACT Reserved Ox600 - Ox67C | Reserved 0x680 SBI INSERT Control 0x684 - 0x688 | SBI INSERT Reserved Ox68C SBI INSERT Tributary RAM Indirect Access Address 0x690 SBI INSERT Tributary RAM Indirect Access Control 0x694 SBI INSERT Reserved 0x698 SBI INSERT Tributary RAM Indirect Access Data Ox69C - Ox6FC | SBI INSERT Reserved 0x700 - Ox7FC | Reserved The following PCI configuration registers are implemented by the PCI Interface. These registers can only be accessed when the PCI Interface is a target and a configuration cycle is in progress as indicated using the IDSEL input. Table 16 PCI Configuration Register Memory Map PCI Offset Register 0x00 Vendor Identification/Device Identification PROPRIETARY AND CONFIDENTIAL 85r? i\ fl Y PMC-Sierra, Inc. PM7384 FREEDM-84P672 RN DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 PCI Offset Register 0x04 Command/Status 0x08 Revision |dentifier/Class Code 0x0C Cache Line Size/Latency Timer/Header Type/BIST 0x10 CBI Memory Base Address Register 0x14 - 0x24 Unused Base Address Register 0x28 - 0x38 Reserved 0x3C Interrupt Line/Interrupt Pin/MIN_GNT/MAX_LAT PROPRIETARY AND CONFIDENTIAL 86DATASHEET r? [\ /I as PMC-Sierra, Inc. PM7384 FREEDM-84P672 ee PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 10 NORMAL MODE REGISTER DESCRIPTION Normal mode registers are used to configure and monitor the operation of the FREEDM-84P672. Notes on Normal Mode Register Bits: 1. Writing values into unused register bits has no effect. However, to ensure software compatibility with future, feature-enhanced versions of the product, unused register bits must be written with logic zero. Reading back unused bits can produce either a logic one or a logic zero; hence, unused register bits should be masked off by software when read. 2. Except where noted, all configuration bits that can be written into can also be read back. This allows the processor controlling the FREEDM-84P672 to determine the programming state of the block. 3. Writable normal mode register bits are cleared to logic zero upon reset unless otherwise noted. 4. Writing into read-only normal mode register bit locations does not affect FREEDM-84P672 operation unless otherwise noted. 5. Certain register bits are reserved. These bits are associated with megacell functions that are unused in this application. To ensure that the FREEDM- 84P672 operates as intended, reserved register bits must only be written with their default values. Similarly, writing to reserved registers should be avoided. 10.1 PCl Host Accessible Registers PCI host accessible registers can be accessed by the PCI host. For each register description below, the hexadecimal register number indicates the PCI offset from the base address in the FREEDM-84P672 CBI Register Base Address Register when accesses are made using the PC! Host Port. Note These registers are not byte addressable. Writing to any one of these registers modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to the register. PROPRIETARY AND CONFIDENTIAL 87DATASHEET PMC-1990445 r- iV Cc" PMC-Sierra, Inc. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x000 : FREEDM-84P672 Master Reset Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R/W Reset 0 Bit 14 Unused XXXXH to Bit 0 This register provides software reset capability. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. RESET: The RESET bit allows the FREEDM-84P672 to be reset under software control. If the RESET bit is a logic one, the entire FREEDM-84P672 except the PCI Interface is held in reset. This bit is not self-clearing. Therefore, a logic zero must be written to bring the FREEDM-84P672 out of reset. Holding the FREEDM-84P672 in a reset state places it into a low power, stand-by mode. A hardware reset clears the RESET bit, thus negating the software reset. Note Unlike the hardware reset input (RSTB), RESET does not force the FREEDM- 84P672's PCI pins tristate. RESET causes all registers to be set to their default values. PROPRIETARY AND CONFIDENTIAL 88DATASHEET PMC-1990445 PMV C* PMC-Sierra, Inc. ISSUE 4 PM7384 FREEOM-84P672 FRAME ENGINE AND DATA LINK MANAGER 8&4P672 Register 0x004 : FREEDM-84P672 Master Interrupt Enable Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R/W TFUDRE 0 Bit 14 R/W IOCE 0 Bit 13 R/W TDFQEE 0 Bit 12 R/W TDQRDYE 0 Bit 11 R/W TDQFE 0 Bit 10 R/W RPDRQEE 0 Bit 9 R/W RPDFQEE 0 Bit 8 R/W RPQRDYE 0) Bit 7 R/W RPQLFE 0 Bit 6 R/W RPQSFE 0 Bit 5 R/W RFOVRE 0 Bit 4 R/W RPFEE 0 Bit 3 R/W RABRTE 0 Bit 2 R/W RFCSEE 0 Bit 1 R/W PERRE 0 Bit 0 R/W SERRE 0 This register provides interrupt enables for various events detected or initiated by the FREEDM-84P672. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEBJ[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. PROPRIETARY AND CONFIDENTIAL 89r- [\ /\ PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET ee PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 SERRE: The system error interrupt enable bit (SERRE) enables PCI system error interrupts to the PCI host. When SERRE is set high, any address parity error, data parity error on Special Cycle commands, reception of a master abort or detection of a target abort will cause an interrupt to be generated on the PCIINTB output. Interrupts are masked when SERRE is set low. However, the SERRI bit remains valid when interrupts are disabled and may be polled to detect PCI system error events. PERRE: The parity error interrupt enable bit (PERRE) enables PCI parity error interrupts to the PCI host. When PERRE is set high, data parity errors detected by the FREEDM-84P672 or parity errors reported by a target will cause an interrupt to be generated on the PCIINTB output. Interrupts are masked when PERRE is set low. However, the PERRI bit remains valid when interrupts are disabled and may be polled to detect PCI parity error events. RFCSEE: The receive frame check sequence error interrupt enable bit (RFCSEE) enables receive FCS error interrupts to the PCI host. When RFCSEE is set high, a mismatch between the received FCS code and the computed CRC residue will cause an interrupt to be generated on the PCIINTB output. Interrupts are masked when RFCSEE is set low. However, the RFCSEI bit remains valid when interrupts are disabled and may be polled to detect receive FCS error events. RABRTE: The receive abort interrupt enable bit (RABRTE) enables receive HDLC abort interrupts to the PCI host. When RABRTE is set high, receipt of an abort code (at least 7 contiguous 1's) will cause an interrupt to be generated on the PCIINTB output. Interrupts are masked when RABRTE is set low. However, the RABRTI bit remains valid when interrupts are disabled and may be polled to detect receive abort events. RPFEE: The receive packet format error interrupt enable bit (RPFEE) enables receive packet format error interrupts to the PC! host. When RPFEE is set high, receipt of a packet that is longer than the maximum specified in the RHDL Maximum Packet Length register, of a packet that is shorter than 32 bits (CRC-CCITT) or 48 bits (CRC-32), or of a packet that is not octet aligned will cause an interrupt to be generated on the PCIINTB output. Interrupts are masked when RPFEE is set low. However, the RPFEI bit remains valid when PROPRIETARY AND CONFIDENTIAL 90r> [\ /\ as PMC-Sierra, inc. PM7384 FREEDM-84P672 ane PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 DATASHEET interrupts are disabled and may be polled to detect receive packet format error events. RFOVRE: The receive FIFO overrun error interrupt enable bit (RFOVRE) enables receive FIFO overrun error interrupts to the PCI host. When RFOVRE is set high, attempts to write data into the logical FIFO of a channel when it is already full will cause an interrupt to be generated on the PCIINTB output. Interrupts are masked when RFOVRE is set low. However, the RFOVRI bit remains valid when interrupts are disabled and may be polled to detect receive FIFO overrun events. RPQSFE: The receive packet descriptor small buffer free queue cache read interrupt enable bit (RPQSFE) enables receive packet descriptor small free queue cache read interrupts to the PCI host. When RPQSFE is set high, reading a programmable number of RPDR blocks from the RPDR Small Buffer Free Queue will cause an interrupt to be generated on the PCIINTB output. Interrupts are masked when RPQSFE is set low. However, the RPQSFI bit remains valid when interrupts are disabled and may be polled to detect RPDR small buffer free queue cache read events. RPQLFE: The receive packet descriptor large buffer free queue cache read interrupt enable bit (RPQLFE) enables receive packet descriptor large free queue cache read interrupts to the PCI host. When RPQLFE is set high, reading a programmable number of RPDR blocks from the RPDR Large Buffer Free Queue will cause an interrupt to be generated on the PCIINTB output. Interrupts are masked when RPQLFE is set low. However, the RPQLFI bit remains valid when interrupts are disabled and may be polled to detect RPDR large buffer free queue cache read events. RPQRDYE: The receive packet descriptor ready queue write interrupt enable bit (RPQRDYE) enables receive packet descriptor ready queue write interrupts to the PCI host. When RPORDYE is set high, writing a programmable number of RPDRs to the RPDR Ready Queue will cause an interrupt to be generated on the PCIINTB output. Interrupts are masked when RPQRDYE is set low. However, the RPQRDY1 bit remains valid when interrupts are disabled and may be polled to detect RPDR ready queue write events. PROPRIETARY AND CONFIDENTIAL 91r- [\ I PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET es PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 RPDFQEE: The receive packet descriptor free queue error interrupt enable bit (RPDFQEE) enables receive packet descriptor free queue error interrupts to the PCI host. When RPDFQEE is set high, attempts to retrieve an RPDR when both the large buffer and small buffer free queues are empty will cause an interrupt to be generated on the PCIINTB output. Interrupts are masked when RPDFQEE is set low. However, the RPDFQEI bit remains valid when interrupts are disabled and may be polled to detect RPDR free queue empty error events. RPDRQEE: The receive packet descriptor ready queue error interrupt enable bit (RPDRQEE) enables receive packet descriptor ready queue error interrupts to the PCi host. When RPDRQEE is set high, attempts to write an RPDR when ready queue is ready full will cause an interrupt to be generated on the PCIINTB output. Interrupts are masked when RPDRQEE is set low. However, the RPDRQEI bit remains valid when interrupts are disabled and may be polled to detect RPDR ready queue full error events. TDQFE: The transmit packet descriptor free queue write interrupt enable bit (TDQFE) enables transmit packet descriptor free queue write interrupts to the PCI host. When TDOQEFE is set high, writing a programmable number of TDRs to the TDR Free Queue will cause an interrupt to be generated on the PCIINTB output. Interrupts are masked when TDQFE is set low. However, the TDQFI bit remains valid when interrupts are disabled and may be polled to detect TDR free queue write events. TDQRDYE: The transmit descriptor ready queue cache read interrupt enable bit (TDQRDYE) enables transmit descriptor ready queue cache read interrupts to the PCI host. When TDQRDYE is set high, reading a programmable number of TDRs from the TDR Ready Queue will cause an interrupt to be generated on the PCIINTB output. Interrupts are masked when TDQRDYE is set low. However, the TDQRDY!I bit remains valid when interrupts are disabled and may be polled to detect TDR ready queue cache read events. TDFQEE: The transmit descriptor free queue error interrupt enable bit (TDFQEE) enables transmit descriptor free queue error interrupts to the PCI host. When TDFQEE is set high, attempting to write to the transmit free queue while the queue is full will cause an interrupt to be generated on the PCIINTB output. Interrupts are masked when TDFQEE is set low. However, the TDFQEI bit PROPRIETARY AND CONFIDENTIAL 92r [\ fA PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 remains valid when interrupts are disabled and may be polled to detect TD free queue error events. IOCE: The transmit interrupt on complete enable bit (IOCE) enables transmission complete interrupts to the PCI host. When IOCE is set high, complete transmission of a packet with the IOC bit in the TD set high will cause an interrupt to be generated on the PCIINTB output. Interrupts are masked when IOCE is set low. However, the IOCI bit remains valid when interrupts are disabled and may be polled to detect transmission of IOC tagged packets. TFUDRE: The transmit FIFO underflow error interrupt enable bit (TFUDRE) enables transmit FIFO underflow error interrupts to the PCI host. When TFUDRE is set high, attempts to read data from the logical FIFO when it is already empty will cause an interrupt to be generated on the PCIINTB output. Interrupts are masked when TFUDRE is set low. However, the TFUDRI bit remains valid when interrupts are disabled and may be polled to detect transmit FIFO underflow events. PROPRIETARY AND CONFIDENTIAL 93DATASHEET PMC-1990445 ISSUE 4 roi I co PMC-Sierra, Inc. PM7384 FREEDM-84P672 a ee FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x008 : FREEDM-84P672 Master Interrupt Status Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R TFUDRI x Bit 14 R IOCI Xx Bit 13 R TDFQEI xX Bit 12 R TDQRDY|I Xx Bit 11 R TDOQFI Xx Bit 10 R RPDRQE| Xx Bit 9 R RPDFQEI x Bit 8 R RPQRDY| Xx Bit 7 R RPQLFI X Bit 6 R RPQSFI Xx Bit 5 R RFOVRI Xx Bit 4 R RPFE! X Bit 3 R RABRTI Xx Bit 2 R RFCSEI x Bit 1 R PERRI Xx Bit 0 R SERRI Xx This register reports the interrupt status for various events detected or initiated by the FREEDM-84P672. Reading this registers acknowledges and clears the interrupts. Note This register is not byte addressable. Reading this register clears all the interrupt bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. PROPRIETARY AND CONFIDENTIAL 94i = [\ Y)| \ PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 SERRI: The system error interrupt status bit (SERRI) reports PCI system error interrupts to the PCI host. SERRI is set high upon detection of any address parity error, data parity error on Special Cycle commands, reception of a master abort or detection of a target abort event. The SERRI bit remains valid when interrupts are disabled and may be polled to detect PCI system error events. PERRI: The parity error interrupt status bit (PERRI) reports PCI parity error interrupts to the PCI host. PERRI is set high when data parity errors are detected by the FREEDM-84P672 while acting as a master, and when parity errors are reported to the FREEDM-84P672 by a target via the PERRB input. The PERRI bit remains valid when interrupts are disabled and may be polled to detect PC! parity error events. RECSEI: The receive frame check sequence error interrupt status bit (RFCSEI) reports receive FCS error interrupts to the PCI host. RFCSEI is set high, when a mismatch between the received FCS code and the computed CRC residue is detected. RFCSEI remains valid when interrupts are disabled and may be polled to detect receive FCS error events. RABRTI: The receive abort interrupt status bit (RABRT1) reports receive HDLC abort interrupts to the PCI host. RABRTI is set high upon receipt of an abort code (at least 7 contiguous 1's). RABRTI remains valid when interrupts are disabled and may be polled to detect receive abort events. RPFEI: The receive packet format error interrupt status bit (RPFEI) reports receive packet format error interrupts to the PC! host. RPFEI is set high upon receipt of a packet that is longer than the maximum programmed length, of a packet that is shorter than 32 bits (CRC-CCITT) or 48 bits (CRC-32), or of a packet that is not octet aligned. RPFEI remains valid when interrupts are disabled and may be polled to detect receive packet format error events. RFOVRI: The receive FIFO overrun error interrupt status bit (RFOVRI) reports receive FIFO overrun error interrupts to the PCI host. RFOVRI is set high on attempts to write data into the logical FIFO of a channel when it is already full. RFOVRI remains valid when interrupts are disabled and may be polled to detect receive FIFO overrun events. PROPRIETARY AND CONFIDENTIAL 95r-l\ fi rai PMC-Sierra, Inc. PM7384 FREEDM-84P672 PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 DATASHEET RPQSEI: The receive packet descriptor small buffer free queue cache read interrupt status bit (RPQSFI) reports receive packet descriptor small free queue cache read interrupts to the PCI host. RPQSFI is set high when the programmable number of RPDR blocks is read from the RPDR Small Buffer Free Queue. RPQSFI remains valid when interrupts are disabled and may be polled to detect RPDR small buffer free queue cache read events. RPQLEFI: The receive packet descriptor large buffer free queue cache read interrupt status bit (RPQLF1) reports receive packet descriptor large free queue cache read interrupts to the PCI host. RPQLFI is set high when the programmable number of RPDR blocks is read from the RPDR Large Buffer Free Queue. RPQLFI remains valid when interrupts are disabled and may be polled to detect RPDR large buffer free queue cache read events. RPQRDY!: The receive packet descriptor ready queue write interrupt status bit (RPQRDY!I) reports receive packet descriptor ready queue write interrupts to the PCI host. RPQRDY!1 is set high when the programmable number of RPDRs is written to the RPDR Ready Queue. RPQRDYI remains valid when interrupts are disabled and may be polled to detect RPDR ready queue write events. RPDFQEI: The receive packet descriptor free queue error interrupt status bit (RPDFQEl) reports receive packet descriptor free queue error interrupts to the PCI host. RPDFQEI| is set high upon attempts to retrieve an RPDR when both the large buffer and small buffer free queues are empty. RPDFQEI remains valid when interrupts are disabled and may be polled to detect RPDR free queue empty error events. RPDRQEI: The receive packet descriptor ready queue error interrupt status bit (RPDRQEI) reports receive packet descriptor ready queue error interrupts to the PCI host. RPDRQEI is set high upon attempts to write an RPDR when ready queue is ready full. RPDRQEI remains valid when interrupts are disabled and may be polled to detect RPDR ready queue full error events. TDOQFI: The transmit packet descriptor free queue write interrupt status bit (TDQFI) reports transmit packet descriptor free queue write interrupts to the PCI host. TDQFI is set high when the programmable number of TDRs is written to the PROPRIETARY AND CONFIDENTIAL 96r? [\ fi PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER &84P672 TDR Free Queue. TDQFI remains valid when interrupts are disabled and may be polled to detect TDR free queue write events. TDQRDYI: The transmit descriptor ready queue cache read interrupt status bit (TDQRDY1) reports transmit descriptor ready queue cache read interrupts to the PCI host. TDQRDY!I is set high when the programmable number of TDRs is read from the TDR Ready Queue. TDQRDYI remains valid when interrupts are disabled and may be polled to detect TDR ready queue cache read events. TDFQE!: The transmit descriptor free queue error interrupt status bit (TDFQElI) reports transmit descriptor free queue error interrupts to the PCI host. TDFQEI is set high when an attempt to write to the transmit free queue fail due to the queue being already full. TDFQEI bit remains valid when interrupts are disabled and may be polled to detect TD free queue error events. lOCl: The transmit interrupt on complete status bit (IOCI) reports transmission complete interrupts to the PCI host. [OCI is set high, when a packet with the IOC bit in the TD set high is completely transmitted. IOCI remains valid when interrupts are disabled and may be polled to detect transmission of IOC tagged packets. TFUDRI: The transmit FIFO underflow error interrupt status bit (TFUDRI) reports transmit FIFO underflow error interrupts to the PCI host. TFUDRI is set high upon attempts to read data from the logical FIFO when it is already empty. TFUDRI remains valid when interrupts are disabled and may be polled to detect transmit FIFO underflow events. PROPRIETARY AND CONFIDENTIAL 97i > [\ /| PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET ee PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x00C : FREEDM-84P672 Master Clock / Frame Pulse Activity Monitor and Accumulation Trigger Bit Type Function Default Bit 31 Unused XXXXXXXH to Bit 4 Bit 3 R C1FPA X Bit 2 R FASTCLKA X Bit 1 R REFCLKA X Bit 0 R SYSCLKA X This register provides activity monitoring on the FREEDM-84P672 clock and SBI frame pulse inputs. When a monitored input makes a transition, the corresponding register bit is set high. The bit will remain high until this register is read, at which point, all the bits in this register are cleared. A lack of transitions is indicated by the corresponding register bit reading low. This register should be read periodically to detect for stuck at conditions. Writing to this register delimits the accumulation intervals in the PMON accumulation registers. Counts accumulated in those registers are transferred to holding registers where they can be read. The counters themselves are then cleared to begin accumulating events for a new accumulation interval. The bits in this register are not affected by write accesses. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. SYSCLKA: The system clock active bit (SYSCLKA) monitors for low to high transitions on the SYSCLK input. SYSCLKA is set high on a rising edge of SYSCLK, and is set low when this register is read. PROPRIETARY AND CONFIDENTIAL 98r- [\ fi PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET a PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 REFCLKA: The SBI reference clock active bit (REFCLKA) monitors for low to high transitions on the REFCLK input. REFCLKA is set high on a rising edge of REFCLK, and is set low when this register is read. FASTCLKA: The SBI fast clock active bit (FASTCLKA) monitors for low to high transitions on the FASTCLK input. FASTCLKA is set high on a rising edge of FASTCLK, and is set low when this register is read. CiFPA: The SBI frame pulse active bit (C1FPA) monitors for low to high transitions on the C1FP input. C1FPA is set high on a rising edge of C1FP, and is set low when this register is read. PROPRIETARY AND CONFIDENTIAL 99r-[\ fi q PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET a PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x014 : FREEDM-84P672 Master Line Loopback Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R/W Reserved 0000H to Bit 3 Bit 2 R/W LLBEN[2] Bit 1 R/W LLBEN[1] Bit 0 R/W LLBEN[0} This register controls line loopback for the three serial data links (enabled when SPEn_EN is low). Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. LLBEN[2:0]: The line loopback enable bits (LLBEN[2:0]) control line loopback for links #2 to #0. When LLBEN{n] is set high, the data on RD[n] is passed verbatim to TD[n] which is then updated on the falling edge of RCLK[n]. TCLK[n] is ignored. When LLBEN[n] is set low, TD[n] is processed normally. PROPRIETARY AND CONFIDENTIAL 100DATASHEET PMC-1990445 rf fi Cc PMC-Sierra, Inc. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x024 : FREEDM-84P672 Master Performance Monitor Control Bit Type Function Default Bit 31 Unused XXXXXH to Bit 15 Bit 14 R/W TP2EN 0 Bit 13 R/W TABRT2EN 0 Bit 12 R/W RP2EN 0 Bit 11 R/W RLENE2EN 0 Bit 10 R/W RABRT2EN 0 Bit 9 R/W RFCSE2EN 0 Bit 8 R/W RSPE2EN 0 Bit 7 Unused X Bit 6 R/W TP1EN 0 Bit 5 R/W TABRT1EN 0 Bit 4 R/W RP1EN 0 Bit 3 R/W RLENE1EN 0 Bit 2 R/W RABRT1EN 0 Bit 1 R/W RFCSE1EN 0 Bit 0 R/W RSPE1EN 0 This register configures the events that are accumulated in the two configurable performance monitor counters in the PMON block. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. RSPE1EN: The receive small packet error accumulate enabie bit (RSPE1EN) enables counting of minimum packet size violation events. When RSPE71EN is set PROPRIETARY AND CONFIDENTIAL 107r [\ /\ PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 high, receipt of a packet that is shorter than 32 bits (CRC-CCITT, Unspecified CRC or no CRC) or 48 bits (CRC-32) will cause the PMON Configurable Accumulator #1 register to increment. Small packet errors are ignored when RSPE1EN is set low. RFCSE1EN: The receive frame check sequence error accumulate enable bit (RFCSE1EN) enables counting of receive FCS error events. When RFCSE1EN is set high, a mismatch between the received FCS code and the computed CRC residue will cause the PMON Configurable Accumulator #1 register to increment. Receive frame check sequence errors are ignored when RFCSE1EN is set low. RABRT1EN: The receive abort accumulate enable bit (RABRT1EN) enables counting of receive HDLC abort events. When RABRT{1EN is set high, receipt of an abort code (at least 7 contiguous 1's) will cause the PMON Configurable Accumulator #1 register to increment. Receive aborts are ignored when RABRT1EN is set low. RLENE1EN: The receive packet length error accumulate enable bit (RLENE1EN) enables counting of receive packet length error events. When RLENE/(EN is set high, receipt of a packet that is longer than the programmable maximum or of a packet that in not octet aligned will cause the PMON Configurable Accumulator #1 register to increment. (Receipt of a packet that is both too long and not octet aligned results in only one increment.) Receive packet length errors are ignored when RLENE1EN is set low. RP1EN: The receive packet enable bit (RP1EN) enables counting of receive error-free packets. When RP1EN is set high, receipt of an error-free packet will cause the PMON Configurable Accumulator #1 register to increment. Receive error- free packets are ignored when RP1EN is set low. TABRTIiEN: The transmit abort accumulate enable bit (TABRT1EN) enables counting of transmit HDLC abort events. When TABRT1EN is set high, insertion of an abort in the outgoing stream will cause the PMON Configurable Accumulator #1 register to increment. Transmit aborts are ignored when TABRT1EN is set low. PROPRIETARY AND CONFIDENTIAL 102ri /\ PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET eee PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 8&4P672 TP1EN: The transmit packet enable bit (TP1EN) enables counting of transmit error-free packets. When TP1EN is set high, transmission of an error-free packet will cause the PMON Configurable Accumulator #1 register to increment. Transmit error-free packets are ignored when TP1EN is set low. RSPE2EN: The receive small packet error accumulate enable bit (RSPE2EN) enables counting of minimum packet size violation events. When RSPEZ2EN is set high, receipt of a packet that is shorter than 32 bits (CRC-CCITT, Unspecified CRC or no CRC) or 48 bits (CRC-32) will cause the PMON Configurable Accumulator #2 register to increment. Small packet errors are ignored when RSPE2EN is set low. RFECSE2EN: The receive frame check sequence error accumulate enable bit (RFCSE2EN) enables counting of receive FCS error events. When RFCSE2EN is set high, a mismatch between the received FCS code and the computed CRC residue will cause the PMON Configurable Accumulator #2 register to increment. Receive frame check sequence errors are ignored when RFCSE2EN is set low. RABRT2EN: The receive abort accumulate enable bit (RABRT2EN) enables counting of receive HDLC abort events. When RABRTZ2EN is set high, receipt of an abort code (at least 7 contiguous 2's) will cause the PMON Configurable Accumulator #2 register to increment. Receive aborts are ignored when RABRTZ2EN is set low. RLENE2EN: The receive packet length error accumulate enable bit (RLENE2EN) enables counting of receive packet length error events. When RLENEZ2EN is set high, receipt of a packet that is longer than the programmable maximum or of a packet that in not octet aligned will cause the PMON Configurable Accumulator #2 register to increment. (Receipt of a packet that is both too long and not octet aligned results in only one increment.) Receive packet length errors are ignored when RLENEZ2EN is set low. RP2EN: The receive packet enable bit (RP2EN) enables counting of receive error-free packets. When RP2EN is set high, receipt of an error-free packet will cause the PMON Configurable Accumulator #2 register to increment. Receive error- free packets are ignored when RP2EN is set low. PROPRIETARY AND CONFIDENTIAL 103r>i\ I PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET ee PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 TABRT2EN: The transmit abort accumulate enable bit (TABRT2EN) enables counting of transmit HDLC abort events. When TABRTZEN is set high, insertion of an abort in the outgoing stream will cause the PMON Configurable Accumulator #2 register to increment. Transmit aborts are ignored when TABRTZ2EN is set low. TP2EN: The transmit packet enable bit (TP2EN) enables counting of transmit error-free packets. When TP2EN is set high, transmission of an error-free packet will cause the PMON Configurable Accumulator #2 register to increment. Transmit error-free packets are ignored when TPZEN is set low. PROPRIETARY AND CONFIDENTIAL 104[ 2 [\ f\ ae PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x028 : FREEDM-84P672 Master SBI Interrupt Enable Bit Type Function Default Bit 31 Unused XXXXXXXXH to Bit 1 Bit O R/W SBIEXTE 0 This register provides interrupt enables for various events detected or initiated by the SBI circuitry within the FREEDM-84P672. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. SBIEXTE: The SBI Extracter interrupt enable bit (SBIEXTE) enables interrupts from the SBI Extract block to the PCI host. When SBIEXTE is set high, an interrupt from the SBI Extract block will cause an interrupt to be generated on the PCIINTB output. Interrupts are masked when SBIEXTE is set low. However, the SBIEXTI bit remains valid when interrupts are disabled and may be polled to detect interrupts from the SBI Extract Block. PROPRIETARY AND CONFIDENTIAL 105r oN i PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET aS PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x02C : FREEDM-84P672 Master SBI Interrupt Status Bit Type Function Default Bit 31 Unused XXXXXXXXH to Bit 1 Bit 0 R SBIEXTI X This register reports the interrupt status for various events detected or initiated by the SBI circuitry within the FREEDM-84P672. Reading this register acknowledges and clears the interrupts. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. SBIEXTI: The SBI Extracter interrupt status bit (SBIEXT!) reports an error condition from the SBI Extract block to the PCI host. SBIEXTI! remains valid when interrupts are disabled and may be polled to detect SBI Extract block error conditions. Note The only error condition which the SBI Extract block reports is a parity error on the SBI DROP BUS. If parity errors occur, the SBI EXTRACT Parity Error Interrupt Reason register (OxSDC) may be read to obtain more detailed information concerning the error. PROPRIETARY AND CONFIDENTIAL 106DATASHEET PMC-1990445 r> iV C PMC-Sierra, Inc. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x030 : FREEDM-84P672 Master Tributary Loopback #1 Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R/W SPE1_LBEN[16] 0 Bit 14 R/W SPE1_LBEN[15] 0 Bit 13 R/W SPE1_LBEN[14] 0 Bit 12 R/W SPE1_LBEN[13] 0 Bit 11 R/W SPE1_LBEN[12] 0 Bit 10 R/W SPE1_LBEN[11] 0 Bit 9 R/W SPE1_LBEN[10] 0 Bit 8 R/W SPE1_LBEN[9] 0 Bit 7 R/V SPE1_LBEN[8] 0 Bit 6 R/W SPE1_LBEN{[7] 0 Bit 5 R/W SPE1_LBEN[6] 0 Bit 4 R/W SPE1_LBEN[5] 0 Bit 3 R/W SPE1_LBEN[4] 0 Bit 2 R/W SPE1_LBEN[3] 0 Bit 1 R/W SPE1_LBEN[2] 0 Bit 0 R/W SPE1_LBEN[1] 0 This register controls line loopback for tributaries #1 to #16 of SPE #1. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when ail four byte enables are negated, no access is made to this register. SPE1 LBEN{16: 1]: The SPE #1 loopback enable bits (SPE1_LBEN[16:1]) control line loopback for tributaries #16 to #1 of SPE #1 of the SBI Interface. When PROPRIETARY AND CONFIDENTIAL 107r- [\ /I Y PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET a PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 SPE1_LBEN{[n] is set high, the data on tributary #n output by the SBI PISO block is looped back to the tributary #n input of the SBI SIPO block. When SPE1_LBEN][n] is set low, transmit data for tributary #n is provided by the TCAS block (i.e. processed normally). PROPRIETARY AND CONFIDENTIAL 108DATASHEET PMC-1990445 i [\ I q PMC-Sierra, Inc. PM7384 FREEDM-84P672 LT ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x034 : FREEDM-84P672 Master Tributary Loopback #2 Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R/W SPE2_LBEN[4] 0 Bit 14 R/W SPE2_LBEN{[3] 0 Bit 13 R/W SPE2_LBEN[2] 0 Bit 12 R/W SPE2_LBEN([1] 0 Bit 11 R/W SPE1_LBEN[28] 0 Bit 10 R/W SPE1_LBEN[27] 0 Bit 9 R/W SPE1_LBEN([26] 0 Bit 8 R/W SPE1_LBEN[25] 0 Bit 7 R/W SPE1_LBEN[24] 0 Bit 6 R/W SPE1_LBEN[23] 0 Bit 5 R/W SPE1_LBEN[22] 0 Bit 4 R/W SPE1_LBEN[21] 0 Bit 3 R/W SPE1_LBEN[20] 0 Bit 2 R/W SPE1_LBEN[19] 0 Bit 1 R/W SPE1_LBEN[18] 0 Bit 0 R/W SPE1_LBEN[17] 0 This register controls line loopback for tributaries #17 to #28 of SPE #1 and tributaries #1 to #4 of SPE #2. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. PROPRIETARY AND CONFIDENTIAL 109rf fi PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET es PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 SPE1 LBEN[28:17]: The SPE #1 loopback enable bits (SPE1_LBEN[28:17]) control line loopback for tributaries #28 to #17 of SPE #1 of the SBI Interface. When SPE1_LBENJ[n] is set high, the data on tributary #n output by the SBI PISO block is looped back to the tributary #n input of the SBI SIPO block. When SPE1_LBENJn] is set low, transmit data for tributary #n is provided by the TCAS block (i.e. processed normally). SPE2 LBEN[4:1]: The SPE #2 loopback enable bits (SPE2_LBEN[4:1]) control line loopback for tributaries #4 to #1 of SPE #2 of the SBI Interface. When SPE2_LBENJn] is set high, the data on tributary #n output by the SBI PISO block is looped back to the tributary #n input of the SBI SIPO block. When SPE2_LBEN)jn] is set low, transmit data for tributary #n is provided by the TCAS block (i.e. processed normally). PROPRIETARY AND CONFIDENTIAL 110DATASHEET PMC-1990445 i 2 [\ I PMC-Sierra, Inc. PM7384 FREEDM-84P672 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x038 : FREEDM-84P672 Master Tributary Loopback #3 Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R/W SPE2_LBEN[20] 0 Bit 14 R/W SPE2_LBEN[19] 0 Bit 13 R/W SPE2_LBEN[18] 0 Bit 12 R/W SPE2_LBEN[17] 0 Bit 11 R/W SPE2_LBEN[16] 0 Bit 10 R/W SPE2_LBEN[15] 0 Bit 9 R/W SPE2_LBEN[14] 0 Bit 8 R/W SPE2_LBEN[13] 0 Bit 7 R/W SPE2_LBEN[12] 0 Bit 6 R/W SPE2_LBEN[11] 0 Bit 5 R/W SPE2_LBEN[10] 0 Bit 4 R/W SPE2_LBEN[9] 0 Bit 3 R/W SPE2_LBEN{[8] 0 Bit 2 R/W SPE2_LBEN[7] 0 Bit 1 R/W SPE2_LBEN[6] 0 Bit 0 R/W SPE2_LBEN[5] 0 This register controls line loopback for tributaries #5 to #20 of SPE #2. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. SPE2 LBEN[20:5]: The SPE #2 loopback enable bits (SPE2_LBEN[20:5]) control line loopback for tributaries #20 to #5 of SPE #2 of the SBI Interface. When PROPRIETARY AND CONFIDENTIAL 117ri fi oo PMC-Sierra, Inc. PM7384 FREEDM-84P672 | FRAME ENGINE AND DATA LINK MANAGER 84P672 DATASHEET PMC-1990445 ISSUE 4 SPE2_LBENJ/n] is set high, the data on tributary #n output by the SBI PISO block is looped back to the tributary #n input of the SBI SIPO block. When SPE2_LBEN/n] is set low, transmit data for tributary #n is provided by the TCAS block (i.e. processed normally). PROPRIETARY AND CONFIDENTIAL 412DATASHEET PMC-1990445 r- [\ fA ce PMC-Sierra, Inc. PM7384 FREEDM-84P672 a ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x03C : FREEDM-84P672 Master Tributary Loopback #4 Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R/W SPE3_LBEN[8] 0 Bit 14 R/W SPE3_LBEN[7] 0 Bit 13 R/W SPE3_LBEN[6] 0 Bit 12 R/W SPE3_LBEN[5] 0 Bit 11 R/W SPE3_LBEN[4] 0 Bit 10 R/AW SPE3_LBEN[3] 0 Bit 9 R/W SPE3_LBEN[2] 0 Bit 8 R/W SPE3_LBEN[1] 0 Bit 7 R/W SPE2_LBEN[28] 0 Bit 6 R/W SPE2_LBEN[27] 0 Bit 5 R/W SPE2_LBEN[26] 0 Bit 4 R/W SPE2_LBEN[25] 0 Bit 3 R/W SPE2_LBEN[24] 0 Bit 2 R/W SPE2_LBEN[23] 0 Bit 1 R/W SPE2_LBEN[22] 0 Bit 0 R/W SPE2_LBEN[21] 0) This register controls line loopback for tributaries #21 to #28 of SPE #2 and tributaries #1 to #8 of SPE #3. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. PROPRIETARY AND CONFIDENTIAL 113r? [\ A PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 SPE3_LBEN[28:21]: The SPE #2 loopback enable bits (SPE2_LBEN[28:21]) control line loopback for tributaries #28 to #21 of SPE #2 of the SBI Interface. When SPE2_LBEN[n] is set high, the data on tributary #n output by the SBI PISO block is looped back to the tributary #n input of the SBI SIPO block. When SPE2_LBEN|[n] is set low, transmit data for tributary #n is provided by the TCAS block (i.e. processed normally). SPE3_ LBEN/8:1]: The SPE #3 loopback enable bits (SPE3_LBEN[8:1]) control line loopback for tributaries #8 to #1 of SPE #3 of the SBI Interface. When SPE3_LBEN|[n] is set high, the data on tributary #n output by the SBI PISO block is looped back to the tributary #n input of the SBI SIPO block. When SPE3_LBENJ[n] is set low, transmit data for tributary #n is provided by the TCAS block (i.e. processed normally). PROPRIETARY AND CONFIDENTIAL 114DATASHEET PMC-1990445 r- [\ f I PMC-Sierra, Inc. PM7384 FREEDM-84P672 a ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x040 : FREEDM-84P672 Master Tributary Loopback #5 Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R/W SPE3_LBEN[24] 0 Bit 14 R/W SPE3_LBEN[23] 0 Bit 13 R/W SPE3_LBEN[22] 0 Bit 12 R/W SPE3_LBEN[21] 9) Bit 11 R/W SPE3_LBEN[20] 0 Bit 10 R/W SPE3_LBEN[19] 0 Bit 9 R/W SPE3_LBEN[18] 0 Bit 8 R/W SPE3_LBEN(17] 0 Bit 7 R/W SPE3_LBEN(16] 0 Bit 6 R/W SPE3_LBEN[15] 0 Bit 5 R/W SPE3_LBEN[14] 0 Bit 4 R/W SPE3_LBEN[13] 0 Bit 3 R/W SPE3_LBEN[12] 0 Bit 2 R/W SPE3_LBEN[11] 0 Bit 1 R/W SPE3_LBEN[10] 0 Bit O R/W SPE3_LBEN[9] 0 This register controls line loopback for tributaries #9 to #24 of SPE #3. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. SPE3_ LBEN[24:9]: The SPE #3 loopback enable bits (SPE3_LBEN[24:9]) control line loopback for tributaries #24 to #9 of SPE #3 of the SBI Interface. When PROPRIETARY AND CONFIDENTIAL 115r? [\ I \ PMC-Sierra, Inc. PM7384 FREEDM-84P672 A DATASHEET FRAME ENGINE AND DATA LINK MANAGER 84P672 PMC-1990445 ISSUE 4 SPE3_LBEN{n] is set high, the data on tributary #n output by the SBI PISO block is looped back to the tributary #n input of the SBI SIPO block. When SPE3_LBENJn] is set low, transmit data for tributary #n is provided by the TCAS block (i.e. processed normally). PROPRIETARY AND CONFIDENTIAL 116r> [\ vy) | PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET eT PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x044 : FREEDM-84P672 Master Tributary Loopback #6 Bit Type Function Default Bit 31 Unused XXXXXXXH to Bit 4 Bit 3 R/W SPE3_LBEN[28} 0 Bit 2 R/W SPE3_LBEN[27] 0 Bit 1 R/W SPE3_LBEN[26] 0 Bit O R/W SPE3_LBEN[25] 0 This register controls line loopback for tributaries #25 to #28 of SPE #3. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. SPE3_ LBEN[28:25]: The SPE #3 loopback enable bits (SPE3_LBEN[28:25]) control line loopback for tributaries #28 to #25 of SPE #3 of the SBI Interface. When SPE3_LBEN{n] is set high, the data on tributary #n output by the SBI PISO block is looped back to the tributary #n input of the SBI SIPO block. When SPE3_LBEN)n] is set low, transmit data for tributary #n is provided by the TCAS block (i.e. processed normally). PROPRIETARY AND CONFIDENTIAL 7DATASHEET PMC-1990445 r- [\ vy) ae PMC-Sierra, Inc. PM7384 FREEDM-84P672 a ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x048 : FREEDM-84P672 SBI DROP BUS Master Configuration Bit Type Function Default Bit 31 Unused XXXXXXH to Bit 10 Bit 9 R/W Reserved 0 Bit 8 R/W Reserved 0 Bit 7 R/W FCLK_FREQ[1] 0 Bit 6 R/W FCLK_FREQ(0] 0 Bit 5 R/W SPE3_TYP[1] 0 Bit 4 R/W SPE3_TYP[0] ) Bit 3 R/W SPE2_TYP[1] 0) Bit 2 R/W SPE2_TYP[0] 0 Bit 1 R/W SPE1_TYP[1] 0 Bit 0 R/W SPE1_TYP[0] 0 This register controls configures the operation of the SBI DROP BUS. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. SPEn_TYP[1:0]: The SPE type bits (SPEn_TYP[1:0]) determine the configuration of each of the three Synchronous Payload Envelopes conveyed on the SBI DROP BUS, according to the following table. Table 17 SPE Type Configuration SPEn_TYP[1:0] Link Configuration 00 28 T1/J1 links 01 21 E1 links 10 Single DS-3 link 11 Reserved PROPRIETARY AND CONFIDENTIAL 178r> [\ fi PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET a PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 FCLK_ FREQ[1:0]: The FASTCLK frequency selector bits (FCLK_FREQ[1:0]) must be set according to the following table, depending on the frequency chosen for the FASTCLK input. Table 18 - FASTCLK Frequency Selection FCLK_FREQ[1:0] | FASTCLK Frequency 00 51.84 MHz 01 44.928 MHz 10 Reserved 11 66 MHz Reserved: The reserved bits must be set low for correct operation of the FREEDM- 84P672 device. PROPRIETARY AND CONFIDENTIAL 119DATASHEET PMC-1990445 ISSUE 4 r > [\ y/ PMC-Sierra, Inc. PM7384 FREEDM-84P672 eee eee eee ence eee FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x04C : FREEDM-84P672 SBI ADD BUS Master Configuration Bit Type Function Default Bit 31 Unused XXXXXH to Bit 14 Bit 13 R/W PERM_DRV 0 Bit 12 R/W Reserved 0 Bit 11 R/W Reserved 0 Bit 10 R/W Reserved 0 Bit 9 R/W Reserved 0 Bit 8 R/W Reserved 0 Bit 7 R/W FCLK_FREQ(1] 0 Bit 6 R/W FCLK_FREQ(0] 0 Bit 5 R/W SPE3_TYP[1] 0 Bit 4 R/W SPE3_TYP[0] 0 Bit 3 R/W SPE2_TYP[1] 0 Bit 2 R/W SPE2_TYP[0] 0 Bit 1 R/W SPE1_TYP[1] 0 Bit 0 R/W SPE1_TYP[0] 0 This register controls configures the operation of the SB! ADD BUS. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. SPEn_ TYP[1:0): The SPE type bits (SPEn_TYP[1:0]) determine the configuration of each of the three Synchronous Payload Envelopes conveyed on the SBI ADD BUS, according to the following table. PROPRIETARY AND CONFIDENTIAL 120DATASHEET PMC-1990445 ISSUE 4 r> i\ fi \ PMC-Sierra, Inc. PM7384 FREEDM-84P672 a FRAME ENGINE AND DATA LINK MANAGER 84P672 Table 19 SPE Type Configuration SPEn_TYP[1:0] | Link Configuration 00 28 T1/J1 links 01 21 E1 links 10 Single DS-3 link 11 Reserved FCLK_FREQ[1:0]: The FASTCLK frequency selector bits (FCLK_FREQ[1:0]) must be set according to the following table, depending on the frequency chosen for the FASTCLK input. Table 20 - FASTCLK Frequency Selection FCLK_FREQ[1:0] FASTCLK Frequency 00 51.84 MHz 01 44.928 MHz 10 Reserved 11 66 MHz Reserved: The reserved bits must be set low for correct operation of the FREEDM- 84P672 device. PERM DRV: The Permanent Bus Driver selector bit (PERM_DRV) enables the FREEDM- 84P672 device to drive the SBI ADD BUS continously. When set to 1, the FREEDM-84P672 will drive the bus and assert the AACTIVE output at all times, provided that the ADETECT[1:0] inputs are both 0. When set to 0, the FREEDM-84P672 will only drive the bus and assert AACTIVE when it has data to send (and when ADETECT[1:0] are both 0). PERM_DRV should only be set to 1 if the FREEDM-84P672 is the only device driving the SBI ADD bus and it is desired to prevent the bus tristating. PROPRIETARY AND CONFIDENTIAL 121DATASHEET PMC-1990445 PV Cc" PMC-Sierra, Inc. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x080 : GPIC Control Bit Type Function Default Bit 31 Unused XXXXXH to Bit 14 Bit 13 R/W RPWTH[5] 0 Bit 12 R/W RPWTH[4] 0 Bit 11 R/W RPWTH{[3] 0 Bit 10 R/W RPWTH[2] 0 Bit 9 R/W RPWTH{[1] 0 Bit 8 R/W RPWTH[0] 0 Bit 7 Unused X Bit 6 Unused X Bit 5 Unused x Bit 4 Unused X Bit 3 R/W PONS _E 0 Bit 2 R/W SOE_E 0 Bit 1 R/W LENDIAN 1 Bit 0 R/W Reserved 0 This register configures the operation of the GPIC. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. Reserved: The Reserved bit must be set low for correct operation of the FREEDM- 84P672. PROPRIETARY AND CONFIDENTIAL 122DATASHEET PMC-1990445 PV Cc PMC-Sierra, Inc. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 LENDIAN: The Little Endian mode bit (LENDIAN) selects between Big Endian or Little Endian format when reading packet data from and writing packet data to PCI host memory. When LENDIAN is set low, Big Endian format is selected. When LENDIAN is set high, Little Endian format is selected. Descriptor references and the contents of descriptors are always transferred in Little Endian Format. Please refer below for each format's byte ordering. Table 21 Big Endian Format DWORD Address Table 22 Little Endian Format DWORD Address SOE E: The stop on error enable (SOE_E) bit determines the action the PC! 00sBit 31 24 23 16 15 7 Bit 0 04 BYTE O BYTE 1 BYTE 2 BYTE 3 BYTE 4 BYTE 5 BYTE 6 BYTE 7 e e e e * n-4 BYTE n-4 BYTE n-3 BYTE n-2 BYTE n-1 00 s=Bit 31 24 23 16 15 7 Bit 0 04 BYTE 3 BYTE 2 BYTE 1 BYTE 0 BYTE 7 BYTE 6 BYTE 5 BYTE 4 * e e e e . . n-4 BYTE n-1 BYTE n-2 BYTE n-3 BYTE n-4 controller will take when a system or parity error occurs. When set high the PCI controller will disconnect the PC! REQB signal from the PCI bus. This prevents the GPIC from the becoming a master device on the PCI bus in event of one of the following bits in the PCI Configuration Command/Status register being set: DPR, RTABT, MABT and SERR. When the SOE_E bit is set low the PCI controller will continue to allow master transactions on the PCI bus. Setting this bit low after an error has occurred or clearing the appropriate bit the PC| Configuration Command/Status register will reactivate the PCI REQB signal and allow the GPIC to resume servicing the local PROPRIETARY AND CONFIDENTIAL 123[ Vi aes PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET an PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER &84P672 masters. In the event of a system or parity error it is recommended that the core device be reset unless the cause of the fault can be determined. PONS _E: The Report PERR on SERR enable (PONS _E) bit controls the source of system errors. When set high all parity errors will be signaled to the host via the SERRB output signal. RPWTH{[5:0]: The Receive Packet Write Threshold bits (RPWTH[5:0]) controls the amount of data in the write FIFO before the GPIC begins arbitrating for the bus. The GPIC will begin requesting access to the PCI bus when the number of dwords of packet data loaded by the RMAC672 reaches the threshold specified by RPWTHI[5:0]. If the FREEDM-32P672 is being operated with PCICLK at a higher frequency than SYSCLK, RPWTH must be set to a value that ensures that the write FIFO does not underflow due to data being read out of the FIFO faster than data is written into the FIFO. It is recommended that RPWTH be set to a value not less than [4x (XFER + Hf - S| - f | PCICLKfreq. PCICLKfreq. where rg is the minimum number of clock cycles in which GNTB can be received after REQB has been asserted. PROPRIETARY AND CONFIDENTIAL 124DATASHEET PMC-1990445 PV C PMC-Sierra, Inc. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER &4P672 Register 0x100 : RCAS Indirect Link and Time-slot Select Bit Type Function Default Bit 31 Unused ~ XXXXH to Bit 16 Bit 15 R BUSY X Bit 14 R/W RWB 0 Bit 13 Unused X Bit 12 R/W LINK[6] 0 Bit 11 R/W LINK[5] 0 Bit 10 R/W LINK[4] 0 Bit 9 R/W LINK[3] 0 Bit 8 R/W LINK[2] 0 Bit 7 R/W LINK[1] 0 Bit 6 R/W LINK[O] 0 Bit 5 Unused X Bit 4 R/W TSLOT[4] 0 Bit 3 R/W TSLOT[3] 0 Bit 2 R/W TSLOT[2] 0 Bit 1 R/W TSLOT[1] 0 Bit O R/W TSLOT[O] 0 This register provides the receive link and time-slot number used to access the channel provision RAM. Writing to this register triggers an indirect register access. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. PROPRIETARY AND CONFIDENTIAL 125ad | /\ oo PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 TSLOT[4:0}: The indirect time-slot number bits (TSLOT[4:0]) indicate the time-slot to be configured or interrogated in the indirect access. For a channelised T1/J1 link, time-slots 1 to 24 are valid. For a channelised E1 link, time-slots 1 to 31 are valid. For unchannelised or unframed links, only time-slot 0 is valid. LINK{[6:0]: The indirect link number bits (LINK[6:0]) select amongst the 84 receive links to be configured or interrogated in the indirect access. RWB: The indirect access control bit (RWB) selects between a configure (write) or interrogate (read) access to the channel provision RAM. The address to the channel provision RAM is constructed by concatenating the TSLOT[4:0] and LINK[4:0] bits. Writing a logic zero to RWB triggers an indirect write operation. Data to be written is taken from the PROV, the CDLBEN and the CHAN{[9:0] bits of the RCAS Indirect Channel Data register. Writing a logic one to RWB triggers an indirect read operation. Addressing of the RAM is the same as in an indirect write operation. The data read can be found in the PROV, the CDLBEN and the CHAN[9:0] bits of the RCAS Indirect Channel Data register. BUSY: The indirect access status bit (BUSY) reports the progress of an indirect access. BUSY is set high when this register is written to trigger an indirect access, and will stay high until the access is complete. At which point, BUSY will be set low. This register should be polled to determine when data from an indirect read operation is available in the RCAS Indirect Channel Data register or to determine when a new indirect write operation may commence. PROPRIETARY AND CONFIDENTIAL 126DATASHEET PMC-1990445 PMV C PMC-Sierra, Inc. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x104 : RCAS Indirect Channel Data Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R/W CDLBEN 0 Bit 14 R/W PROV 0 Bit 13 Unused XH to Bit 10 Bit 9 R/W CHAN[9] 0 Bit 8 R/W CHANJ8] 0 Bit 7 R/W CHAN{7] 0 Bit 6 R/W CHAN[6] 0 Bit 5 R/W CHAN{[5] 0 Bit 4 R/W CHAN[4] 0 Bit 3 R/W CHAN[3] 0 Bit 2 R/W CHAN[2] 0 Bit 1 R/W CHAN[1] 0 Bit O R/W CHAN/[O] 0 This register contains the data read from the channel provision RAM after an indirect read operation or the data to be inserted into the channel provision RAM in an indirect write operation. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEBJ[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. CHAN/9:0}: The indirect data bits (CHAN[9:0]) report the channel number read from the channel provision RAM after an indirect read operation has completed. PROPRIETARY AND CONFIDENTIAL 127r? [\ fi c PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Channel number to be written to the channel provision RAM in an indirect write operation must be set up in this register before triggering the write. CHAN{9:0] reflects the value written until the completion of a subsequent indirect read operation. PROV: The indirect provision enable bit (PROV) reports the channel provision enable flag read from the channel provision RAM after an indirect read operation has completed. The provision enable flag to be written to the channel provision RAM, in an indirect write operation, must be set up in this register before triggering the write. When PROV is set high, the current receive data byte is processed as part of the channel as indicated by CHAN[9:0]. When PROV is set low, the current time-slot does not belong to any channel and the receive data byte ignored. PROV reflects the value written until the completion of a subsequent indirect read operation. CDLBEN: The indirect channel based diagnostic loopback enable bit (CDLBEN) reports the loopback enable flag read from channel provision RAM after an indirect read operation has complete. The loopback enable flag to be written to the channel provision RAM, in an indirect write operation, must be set up in this register before triggering the write. When CDLBEN is set high, the current receive data byte is to be over-written by data retrieved from the loopback FIFO of the channel as indicated by CHAN[9:0]. When CDLBEN is set low, the current receive data byte is processed normally. CDLBEN reflects the value written until the completion of a subsequent indirect read operation. PROPRIETARY AND CONFIDENTIAL 128DATASHEET PMC-1990445 r- iV Cc PMC-Sierra, inc. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x10C : RCAS Channel Disable Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R/W CHDIS 0 Bit 14 Unused XXH to Bit 10 Bit 9 R/W DCHAN{[9] 0 Bit 8 R/W DCHAN(8] 0 Bit 7 R/W DCHAN[7] 0 Bit 6 R/W DCHAN(6] 0 Bit 5 R/W DCHAN[5] 0 Bit 4 R/W DCHANJ4] 0 Bit 3 R/W DCHAN{3] 0 Bit 2 R/W DCHAN[2] 0 Bit 1 R/W DCHAN[1] 0 Bit 0 R/W DCHAN/[0] 0 This register controls the disabling of one specific channel to allow orderly provisioning of time-slots associated with that channel. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. DCHANJ9:0]: The disable channel number bits (DCHAN[9:0]) selects the channel to be disabled. When CHDIS is set high, the channel specified by DCHAN[9:0] is disabled. Data in time-slots associated with the specified channel is ignored. When CHDIS is set low, the channel specified by DCHAN[9:0] operates normally. PROPRIETARY AND CONFIDENTIAL 129r- [\ fi Y PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET a PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 CHDIS: The channel disable bit (CHDIS) controls the disabling of the channels specified by DCHAN[9:0]. When CHDIS ts set high, the channel selected by DCHAN{9:0] is disabled. Data in time-slots associated with the specified channel is ignored. When CHDIS is set low, the channel specified by DCHAN[9:0] operates normally. PROPRIETARY AND CONFIDENTIAL 130DATASHEET PMC-1990445 r [\ A C PMC-Sierra, Inc. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x140 : RCAS SBI SPE1 Configuration Register #1 Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R/W FEN[11] 0 Bit 14 R/W FEN[10] 0 Bit 13 R/W FEN[9] 0 Bit 12 R/W FEN[8] 0 Bit 11 R/W FEN{7] 0 Bit 10 R/W FEN[6] 0 Bit 9 R/W FEN[5] 0 Bit 8 R/W FEN[4] 0 Bit 7 R/W FEN[3] 0 Bit 6 R/W FEN[2] 0 Bit 5 R/W FEN(1] 0 Bit 4 R/W FEN[O] 0 Bit 3 Unused X Bit 2 R/W SBI_MODE[2] 0 Bit 1 R/W SBI_MODE[1] 0 Bit 0 R/W SBI_MODE[0] 0 This register configures the operational mode of receive links 0, 3, 6, 9, ... 33, 36, 39, ...81, i.e. those links mapped to SPE 1 of the SB! DROP BUS. Note This register is not byte addressable. Writing to this register modifies ail the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. PROPRIETARY AND CONFIDENTIAL 131r [\ | Se PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 SBI_MODE[2:0]: The SBI mode select bits (SBI_MODE[2:0]) configure the receive links of SPE1, as shown in the following table: Table 23 SBI Mode SPE1 Configuration SBI_MODE [2:0] | SPE1 Configuration 000 Single unchannelised DS-3 on link 0 001 28 T1/J1 links 010 21 E1 links (links 63, 66, 69, ... , 81 are unused) 011 Reserved 100 Reserved 101 Reserved 110 Reserved 111 Reserved FEN[11:0] Each FEN bit, FEN[n], configures link 3n for framed operation. In unframed operation (FEN[n] = 0), all framing bit locations are treated as containing data. In framed mode (FEN([n] = 1), the contents of framing bit locations are ignored. PROPRIETARY AND CONFIDENTIAL 132DATASHEET PMC-1990445 PV Cc PMC-Sierra, Inc. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x144 : RCAS SBI SPE1 Configuration Register #2 Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R/W FEN[27] 9) Bit 14 R/W FEN[26] 0 Bit 13 R/W FEN[25] 0 Bit 12 R/W FEN[24] 0 Bit 11 R/W FEN[23] 0 Bit 10 R/W FEN[22] 0 Bit 9 R/W FEN[21] 0 Bit 8 R/W FEN[20] 0 Bit 7 R/W FEN(19] 0 Bit 6 R/W FEN[18] 0 Bit 5 R/W FEN[17] 0 Bit 4 R/W FEN[16] 0 Bit 3 R/W FEN[15] 0 Bit 2 R/W FEN[14] ) Bit 1 R/W FEN[13] 0 Bit 0 R/W FEN(12] 0 The bits of this register set are used to configure the framing modes of receive links 36, 39, 42 ... 81. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. PROPRIETARY AND CONFIDENTIAL 133r- [\ / I Y PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET cE PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 FEN[27:12]: Each FEN bit, FEN(n], configures link 3n for framed operation. In unframed operation (FEN[n] = 0), all framing bit locations are treated as containing data. In framed mode (FEN[n] = 1), the contents of framing bit locations are ignored. PROPRIETARY AND CONFIDENTIAL 134DATASHEET PMC-1990445 PM C PMC-Sierra, inc. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x148 : RCAS SBI SPE2 Configuration Register #1 Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R/W FEN[11] 0 Bit 14 R/W FEN[10] 0 Bit 13 R/W FEN[9] 0 Bit 12 R/W FEN[8] 0 Bit 11 R/W FEN[7] 0 Bit 10 R/W FEN[6] 0 Bit 9 R/W FEN[5] 0 Bit 8 R/W FEN[4] 0 Bit 7 R/W FEN[3] 0 Bit 6 R/W FEN[2] 0 Bit 5 R/W FEN[1] 0) Bit 4 R/W FEN[O] 0) Bit 3 Unused X Bit 2 R/W SBILMODE[2] 0 Bit 1 R/W SBI_MODE[1] 0 Bit 0 R/W SB!_MODE[0] 0 This register configures the operational mode of receive links 1, 4, 7, 10, ... 34, 37, ...82, i.e. those links mapped to SPE 2 of the SBI DROP BUS. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. PROPRIETARY AND CONFIDENTIAL 135rr fl PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET a PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 SBI MODE[2:0]: The SBI mode select bits (SBI_LMODE[2:0]) configure the receive links of SPE2, as shown in the following table: Table 24 SBI Mode SPE2 Configuration SBI_MODE [2:0] | SPE2 Configuration 000 Single unchannelised DS-3 on link 1 001 28 T1/J1 links 010 21 E1 links (links 64, 67, 70, ... , 82 are unused) 011 Reserved 100 Reserved 101 Reserved 110 Reserved 111 Reserved FEN[11:0] Each FEN bit, FEN[n], configures link 3n+1 for framed operation. In unframed operation (FEN[n] = 0), all framing bit locations are treated as containing data. In framed mode (FEN[n] = 1), the contents of framing bit locations are ignored. PROPRIETARY AND CONFIDENTIAL 136DATASHEET PMC-1990445 r [\ fl C" PMC-Sierra, Inc. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x14C : RCAS SBI SPE2 Configuration Register #2 Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R/W FEN[27] 0 Bit 14 R/W FEN[26] 0 Bit 13 R/W FEN[25] 0 Bit 12 R/W FEN[24] 0 Bit 11 R/W FEN[23] 0 Bit 10 R/W FEN[22] 0 Bit 9 R/W FEN[21] 0 Bit 8 R/W FEN[20] 0 Bit 7 R/W FEN[19] 0 Bit 6 R/W FEN[18] 0 Bit 5 R/W FEN[17] 0 Bit 4 R/W FEN[16] 0 Bit 3 R/W FEN[15] 0 Bit 2 R/W FEN[14] 0 Bit 1 R/W FEN[13] 0 Bit O R/W FEN[12] 0 The bits of this register set are used to configure the framing modes of receive links 37, 40, 43 ... 82. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. PROPRIETARY AND CONFIDENTIAL 137r > [\ A cy PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 FEN[27:12]: Each FEN bit, FEN[n], configures link 3n+1 for framed operation. In unframed operation (FEN[n] = 0), all framing bit locations are treated as containing data. In framed mode (FEN[n] = 1), the contents of framing bit locations are ignored. PROPRIETARY AND CONFIDENTIAL 138DATASHEET PMC-1990445 r? MVM Ce PMC-Sierra, Inc. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x150 : RCAS SBI SPE3 Configuration Register #1 Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R/W FEN[11] 0 Bit 14 R/W FEN([10] 0 Bit 13 R/W FEN[9} 0 Bit 12 R/W FEN[8} 0 Bit 11 R/W FEN[7] 0 Bit 10 R/W FEN[6] 0 Bit 9 R/W FEN[5] 0 Bit 8 R/W FEN[4] 0 Bit 7 R/W FEN{3] 0 Bit 6 R/W FEN[2] 0 Bit 5 R/W FEN[1] 0 Bit 4 R/W FEN[O] 0 Bit 3 Unused x Bit 2 R/W SBI_MODE[2] 0 Bit 1 R/W SBI_MODE[1] 0 Bit 0 R/W SBI_MODE/[0] 0 This register configures the operational mode of receive links 2, 5, 8, 11, ... 35, 38, ...83, i.e. those links mapped to SPE 3 of the SBI DROP BUS. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. PROPRIETARY AND CONFIDENTIAL 139r > I\ fi cy PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 SBI_MODE[2:0): The SBI mode select bits (SBI_LMODE[2:0]) configure the receive links of SPE3, as shown in the following table: Table 25 ~- SBI Mode SPE3 Configuration SBI_MODE [2:0] | SPE3 Configuration 000 Single unchannelised DS-3 on link 2 001 28 T1/J1 links 010 21 E1 links (links 65, 68, 71, ..., 83 are unused 011 Reserved 100 Reserved 101 Reserved 110 Reserved 111 Reserved FEN[11:0] Each FEN bit, FEN[n], configures link 3n+2 for framed operation. In unframed operation (FEN[n] = 0), all framing bit locations are treated as containing data. In framed mode (FEN[n] = 1), the contents of framing bit locations are ignored. PROPRIETARY AND CONFIDENTIAL 140DATASHEET PMC-1990445 rv C PMC-Sierra, Inc. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x154 : RCAS SBI SPE3 Configuration Register #2 Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R/W FEN[27] 0 Bit 14 R/W FEN[26] 0 Bit 13 R/W FEN[25] 0 Bit 12 R/W FEN[24] 0 Bit 11 R/W FEN[23] 0 Bit 10 R/W FEN[22] 0 Bit 9 R/W FEN[21] 0 Bit 8 R/W FEN[20] 0 Bit 7 R/W FEN[19] 0 Bit 6 R/wW FEN[18] 0 Bit 5 R/W FEN[17] 0 Bit 4 R/W FEN[16] 0 Bit 3 R/W FEN[15] 0 Bit 2 R/W FEN[14] 0 Bit 1 R/W FEN[13] 0 Bit O R/W FEN[12] 0 The bits of this register set are used to configure the framing modes of receive links 38, 41, 44... 83. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. PROPRIETARY AND CONFIDENTIAL 141r> [\ /\ PMC-Sierra, inc. PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 DATASHEET PMC-1990445 ISSUE 4 FEN[27:12]: Each FEN bit, FEN[n], configures link 3n+2 for framed operation. In unframed operation (FEN[n] = 0), all framing bit locations are treated as containing data. In framed mode (FEN[n] = 1), the contents of framing bit locations are ignored. PROPRIETARY AND CONFIDENTIAL 142r ii fi PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET a PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x180 0x188 : RCAS Links #0 to #2 Configuration Bit Type Function Default Bit 31 Unused XXXXXXXH to Bit 5 Bit 4 R/W Reserved 0 Bit 3 Unused X Bit 2 R/W Reserved 0 Bit 1 R/W Reserved 0 Bit 0 R/W Reserved 0 This register controls the operation of receive links #0 to #2 when they are configured to receive data from the RD[2:0] inputs (i.e. SPEn_EN is low). Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. Reserved: The reserved bits must be set low for correct operation of the FREEDM- 84P672 device. PROPRIETARY AND CONFIDENTIAL 143DATASHEET PMC-1990445 PIMC ~~~. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER &84P672 Register 0x200 : RHDL Indirect Channel Select Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R BUSY X Bit 14 R/W CRWB 0 Bit 13 Unused XH to Bit 10 Bit 9 R/W CHAN[9] 0 Bit 8 R/W CHAN[8] 0 Bit 7 R/W CHAN{7] 0 Bit 6 R/W CHAN[6] 0 Bit 5 R/W CHAN[5] 0) Bit 4 R/W CHAN[4] 0 Bit 3 R/W CHAN[3] 0 Bit 2 R/W CHAN[2] 0 Bit 1 R/W CHAN([1] 0 Bit 0 R/W CHAN(0] 0 This register provides the channel number used to access the receive channel provision RAM. Writing to this register triggers an indirect channel register access. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. CHAN|9:0): The indirect channel number bits (CHAN[9:0]) indicate the receive channel to be configured or interrogated in the indirect access. PROPRIETARY AND CONFIDENTIAL 144r- [\ fl q PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET | PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 CRWEB: The channel indirect access control bit (CRWB) selects between a configure (write) or interrogate (read) access to the receive channel provision RAM. Writing a logic zero to CRWB triggers an indirect write operation. Data to be written is taken from the Indirect Channel Data registers. Writing a logic one to CRWB triggers an indirect read operation. The data read can be found in the Indirect Channel Data registers. BUSY: The indirect access status bit (BUSY) reports the progress of an indirect access. BUSY is set high when this register is written to trigger an indirect access, and will stay high until the access is complete. At which point, BUSY will be set low. This register should be polled to determine when data from an indirect read operation is available in the RHDL Indirect Channel Data #1 and #2 registers or to determine when a new indirect write operation may commence. PROPRIETARY AND CONFIDENTIAL 145DATASHEET PMC-1990445 PV Cc PMC-Sierra, Inc. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x204 : RHDL Indirect Channel Data Register #1 Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R/W PROV 0 Bit 14 R/W STRIP 0 Bit 13 R/W DELIN 0 Bit 12 R TAVAIL X Bit 11 WwW Reserved X Bit 10 W FPTR[10] X Bit 9 W FPTR[9] X Bit 8 WwW FPTR[8] X Bit 7 WwW FPTR[7] X Bit 6 W FPTR[6] X Bit 5 W FPTR[5] X Bit 4 Ww FPTR[4] X Bit 3 WwW FPTR[3] X Bit 2 W FPTR[2] X Bit 1 W FPTR[1] X Bit O W FPTR[O] X This register contains data read from the channel provision RAM after an indirect read operation or data to be inserted into the channel provision RAM in an indirect write operation. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. PROPRIETARY AND CONFIDENTIAL 146r > Vi PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET a PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 FPTR[10:0]: The indirect FIFO block pointer (FPTR[10:0]) identifies one of the blocks of the circular linked list in the partial packet buffer used in the logical FIFO of the current channel. The FIFO pointer to be written to the channel provision RAM, in an indirect write operation, must be set up in this register before triggering the write. The FIFO pointer value can be any one of the blocks provisioned to form the circular buffer. Reserved: The reserved bit must be set low for correct operation of the FREEDM- 84P672 device. TAVAIL: The indirect transaction available bit (TAVAIL) reports the fill level of the partial packet buffer used in the logical FIFO of the current channel. TAVAIL is set high when the FIFO of the current channel contains sufficient data, as controlled by XFER[3:0], to request a DMA transfer to the host memory. TAVAIL is set low when the amount of receive data is too small to require a transfer to host memory. TAVAIL is updated by an indirect channel read operation. DELIN: The indirect delineate enable bit (DELIN) configures the HDLC processor to perform flag sequence delineation and bit de-stuffing on the incoming data stream. The delineate enable bit to be written to the channel provision RAM, in an indirect channel write operation, must be set up in this register before triggering the write. When DELIN is set high, flag sequence delineation and bit de-stuffing is performed on the incoming data stream. When DELIN is set low, the HDLC processor does not perform any processing (flag sequence delineation, bit de-stuffing nor CRC verification) on the incoming stream. DELIN reflects the value written until the completion of a subsequent indirect channel read operation. STRIP: The indirect frame check sequence discard bit (STRIP) configures the HDLC processor to remove the CRC from the incoming frame when writing the data to the channel FIFO. The FCS discard bit to be written to the channel provision RAM, in an indirect channel write operation, must be set up in this register before triggering the write. When STRIP is set high and CRC/[1:0] is not equal to "00", the received CRC value is not written to the FIFO. When STRIP is set low, the received CRC value is written to the FIFO. The bytes in buffer field of the RPD correctly reflect the presence/absence of CRC bytes in the buffer. The value of STRIP is ignored when DELIN is low. STRIP reflects PROPRIETARY AND CONFIDENTIAL 147[ [\ fi Y PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET a PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 the value written until the completion of a subsequent indirect channel read operation. PROV: The indirect provision enable bit (PROV) reports the channel provision enable flag read from the channel provision RAM after an indirect channel read operation has completed. The provision enable flag to be written to the channel provision RAM, in an indirect write operation, must be set up in this register before triggering the write. When PROV is set high, the HDLC processor will process data on the channel specified by CHAN([9:0]. When PROV is set low, the HDLC processor will ignore data on the channel specified by CHAN[9:0]. PROV reflects the value written until the completion of a subsequent indirect channel read operation. PROPRIETARY AND CONFIDENTIAL 148DATASHEET PMC-1990445 PV Cc PMC-Sierra, inc. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x208 : RHDL Indirect Channel Data Register #2 Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R/W 7BIT 0 Bit 14 R/W PRIORITY 0 Bit 13 R/W INVERT 0 Bit 12 Unused Xx Bit 11 R/W CRC[1] 0 Bit 10 R/W CRC[0] 0 Bit 9 R/W OFFSET[1] 0 Bit 8 R/W OFFSET[0] 0 Bit 7 Unused xX Bit 6 Unused xX Bit 5 Unused x Bit 4 Unused x Bit 3 R/W XFER{[3] 0 Bit 2 R/W XFER[2] 0 Bit 1 R/W XFER[1] 0 Bit O R/W XFER[0] 0 This register contains data read from the channel provision RAM after an indirect read operation or data to be inserted into the channel provision RAM in an indirect write operation. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. PROPRIETARY AND CONFIDENTIAL 149r- [\ Y)| PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 XFERJ3:0]: The indirect channel transfer size (XFER[3:0]) configures the amount of data transferred in each transaction. The channel transfer size to be written to the channel provision RAM, in an indirect write operation, must be set up in this register before triggering the write. When the channel FIFO depth reaches the depth specified by XFER[3:0] or when an end-of-packet exists in the FIFO, a request will be made to the RMAC672 to initiate a PCI write access to transfer the data to the PCI host. Channel transfer size is measured in 16 byte blocks. The amount of data transferred and the depth threshold are specified by given setting is: XFER[3:0] + 1 blocks = 16 * (XFER[3:0] + 1) bytes XFER[3:0] should be set such that the number of blocks transferred is at least two fewer than the total allocated to the associated channel. XFER[3:0] reflects the value written until the completion of a subsequent indirect channel read operation. OFFSET[1:0]: The packet byte offset (OFFSET[1:0]) configures the partial packet processor to insert invalid bytes at the beginning of a packet stored in the channel FIFO. The value of OFFSET[1:0] to be written to the channel provision RAM, in an indirect channel write operation, must be set up in this register before triggering the write. The number of bytes inserted before the beginning of a HDLC packet is defined by the binary value of OFFSET[1:0]. OFFSET[1:0] reflects the value written until the completion of a subsequent indirect channel read operation. CRC[1:0): The CRC algorithm bits (CRC[1:0]) configures the HDLC processor to perform CRC verification on the incoming data stream. The value of CRC[1:0] to be written to the channel provision RAM, in an indirect channel write operation, must be set up in this register before triggering the write. CRC[1:0] is ignored when DELIN is low. CRC[1:0] reflects the value written until the completion of a subsequent indirect channel read operation. Table 26 CRC[1:0] Settings CRC[1] CRC[0] Operation 0 0 No Verification 0 1 CRC-CCITT 1 0 CRC-32 PROPRIETARY AND CONFIDENTIAL 150r [\ /\ on PMC-Sierra, Inc. PM7384 FREEDM-84P672 ens DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 8&4P672 CRC[1] | CRC[0] Operation 1 1 Reserved INVERT: The HDLC data inversion bit (INVERT) configures the HDLC processor to logically invert the incoming HDLC stream from the RCAS672 before processing it. The value of INVERT to be written to the channel provision RAM, in an indirect channel write operation, must be set up in this register before triggering the write. When INVERT is set to one, the HDLC stream is logically inverted before processing. When INVERT is set to zero, the HDLC stream is not inverted before processing. INVERT reflects the value written until the completion of a subsequent indirect channel read operation. PRIORITY: The channel FIFO priority bit (PRIORITY) informs the partial packet processor that the channel has precedence over other channels when being serviced by the RMAC672 block for transfer to the PCI host. The value of PRIORITY to be written to the channel provision RAM, in an indirect channel write operation, must be set up in this register before triggering the write. Channel FIFOs with PRIORITY set to one are serviced by the RMAC672 before channel FIFOs with PRIORITY set to zero. Channels with an HDLC data rate to FIFO size ratio that is significantly higher than other channels should have PRIORITY set to one. PRIORITY reflects the value written until the completion of a subsequent indirect channel read operation. 7BIT: The 7BIT enable bit (7BIT) configures the HDLC processor to ignore the least significant bit of each octet in the incoming channel stream. The value of 7BIT to be written to the channel provision RAM, in an indirect channel write operation, must be set up in this register before triggering the write. When 7BIT is set high, the least significant bit (last bit of each octet received), is ignored. When 7BIT is set low, the entire receive data stream is processed. 7BIT reflects the vaiue written until the completion of a subsequent indirect channel read operation. PROPRIETARY AND CONFIDENTIAL 151DATASHEET PMC-1990445 rMV C PMC-Sierra, Inc. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x210 : RHDL Indirect Block Select Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R BUSY Xx Bit 14 R/W BRWB Xx Bit 13 Unused xX Bit 12 Unused xX Bit 11 R/W Reserved xX Bit 10 R/W BLOCK[10] X Bit 9 R/W BLOCK[9] x Bit 8 R/W BLOCK[8] Xx Bit 7 R/W BLOCK[7] X Bit 6 R/W BLOCK[6] X Bit 5 R/W BLOCK[5] X Bit 4 R/W BLOCK[4] X Bit 3 R/W BLOCK[3] X Bit 2 R/W BLOCK[2] X Bit 1 R/W BLOCK[1] X Bit 0 R/W BLOCK[0] Xx This register provides the block number used to access the block pointer RAM. Writing to this register triggers an indirect block register access. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. PROPRIETARY AND CONFIDENTIAL 152i ~ [\ I Y PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 BLOCK[10:0]: The indirect block number (BLOCK[10:0]) indicate the block to be configured or interrogated in the indirect access. Reserved: The reserved bit must be set low for correct operation of the FREEDM- 84P672 device. BRWB: The block indirect access control bit (BRWB) selects between a configure (write) or interrogate (read) access to the block pointer RAM. Writing a logic zero to BRWB triggers an indirect block write operation. Data to be written is taken from the Indirect Block Data register. Writing a logic one to BRWB triggers an indirect block read operation. The data read can be found in the Indirect Block Data register. BUSY: The indirect access status bit (BUSY) reports the progress of an indirect access. BUSY is set high when this register is written to trigger an indirect access, and will stay high until the access is complete. At which point, BUSY will be set low. This register should be polled to determine when data from an indirect read operation is available in the RHDL Indirect Block Data register or to determine when a new indirect write operation may commence. PROPRIETARY AND CONFIDENTIAL 153DATASHEET PMC-1990445 PMV C PMC-Sierra, Inc. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x214 : RHDL Indirect Block Data Bit Type Function Default Bit 31 Unused XXXXXH to Bit 12 Bit 11 R/W Reserved X Bit 10 R/W BPTR[10] 0 Bit 9 R/W BPTR[9] 0 Bit 8 R/W BPTR[8] 0 Bit 7 R/W BPTR[7] 0 Bit 6 R/W BPTR[6] 0 Bit 5 R/W BPTR[5] 0 Bit 4 R/W BPTR[4] 0 Bit 3 R/W BPTR[3] 0 Bit 2 R/W BPTR[2] 0 Bit 1 R/W BPTR[1] 0 Bit 0 R/W BPTR[O] 0 This register contains data read from the block pointer RAM after an indirect block read operation or data to be inserted into the block pointer RAM in an indirect block write operation. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. BPTR[10:0]: The indirect block pointer (BPTR[10:0]) configures the block pointer of the block specified by the Indirect Block Select register. The block pointer to be written to the block pointer RAM, in an indirect write operation, must be set up in this register before triggering the write. The block pointer value is the block number of the next block in the linked list. A circular list of blocks must be formed in order to use the block list as a receive channel FIFO buffer. PROPRIETARY AND CONFIDENTIAL 154r 2 [\ I q PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 BPTR[10:0] reflects the value written until the completion of a subsequent indirect block read operation. When provisioning a channel FIFO, all block pointers must be re-written to properly initialize the FIFO. Reserved: The reserved bit must be set low for correct operation of the FREEDM- 84P672 device. PROPRIETARY AND CONFIDENTIAL 155DATASHEET PMC-1990445 PVA rvcssoran ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x220 : RHDL Configuration Bit Type Function Default Bit 31 Unused XXXXXXH to Bit 10 Bit 9 R/W LENCHK 0 Bit 8 R/W TSTD 0 Bit 7 Unused x Bit 6 Unused xX Bit 5 Unused xX Bit 4 Unused Xx Bit 3 Unused X Bit 2 Unused x Bit 1 Unused X Bit O Unused X This register configures all provisioned receive channels. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. TSTD: The telecom standard bit (TSTD) controls the bit ordering of the HDLC data transferred to the PCI host. When TSTD is set low, the least significant bit of the each byte on the PCI bus (AD[0], AD[8], AD[16] and AD[24}) is the first HDLC bit received and the most significant bit of each byte (AD[7], AD[15], AD[23] and AD[31]) is the last HDLC bit received (datacom standard). When TSTD is set high, AD[O], AD[8], AD[16] and AD[24] are the last HDLC bit received and AD[7], AD[15], AD[23] and AD[31] are the first HDLC bit received (telecom standard). PROPRIETARY AND CONFIDENTIAL 156r> [\ I PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 LENCHK: The packet length error check bit (LENCHK) controls the checking of receive packets that are longer than the maximum programmed length. When LENCHK is set high, receive packets are aborted and the remainder of the frame discarded when the packet exceeds the maximum packet length given by MAX[15:0]. When LENCHK is set low, receive packets are not checked for maximum size and MAX[15:0] must be set to 'hFFFF. PROPRIETARY AND CONFIDENTIAL 157DATASHEET PMC-1990445 PIMC ~~ ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x224 : RHDL Maximum Packet Length Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R/W MAX[15] 1 Bit 14 R/W MAX[14] 1 Bit 13 R/W MAX[13] 1 Bit 12 R/W MAX[12] 1 Bit 11 R/W MAX[11] 1 Bit 10 R/W MAX[10] 1 Bit 9 R/W MAX[9] 1 Bit 8 R/W MAX[8] 1 Bit 7 R/W MAX[7] 1 Bit 6 R/W MAX[6] 1 Bit 5 R/W MAX[5] 1 Bit 4 R/W MAX[4] 1 Bit 3 R/W MAX[3] 1 Bit 2 R/W MAX[2] 1 Bit 1 R/W MAX[1] 1 Bit O R/W MAX[0] 1 This register configures the maximum legal HDLC packet byte length. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. MAX[15:0]: The maximum HDLC packet length (MAX[15:0]) configures the FREEDM- 84P672 to reject HDLC packets longer than a maximum size when LENCHK PROPRIETARY AND CONFIDENTIAL 158r [\ f\ PMC-Sierra, inc. PM7384 FREEDM-84P672 DATASHEET a PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 is set high. Receive packets with total length, including address, control, information and FCS fields, greater than MAX[15:0] bytes are aborted. When LENCHK is set low, aborts are not generated regardless of packet length and MAX[15:0] must be set to 'NFFFF. PROPRIETARY AND CONFIDENTIAL 159DATASHEET PMC-1990445 PV Cc PMC-Sierra, Inc. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x280 : RMAC Control Bit Type Function Default Bit 31 Unused XXXXXH to Bit 13 Bit 12 R/W Reserved 0 Bit 11 R/W RPQ_SFN[1] 0 Bit 10 R/W RPQ_SFN[0] 0 Bit 9 R/W RPQ_LFN[1] 0 Bit 8 R/W RPQ_LFN[0] 0 Bit 7 R/W RPQ_RDYN[2] 0 Bit 6 R/W RPQ_RDYN[1] 0 Bit 5 R/W RPQ_RDYN[0] 0 Bit 4 R/W RAW MAX[1] 1 Bit 3 R/W RAW MAXj[0] 1 Bit 2 R/W SCACHE 1 Bit 1 R/W LCACHE 1 Bit O R/W ENABLE 0 This register configures the RMAC672 block. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. ENABLE: The ENABLE bit determines whether or not the RMAC672 accepts data from the RHDL672 block and sends it to host memory. When set to 1, these tasks are enabled. When set to O, they are disabled. PROPRIETARY AND CONFIDENTIAL 160r? [\ /\ c PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 LCACHE: The large buffer cache enable bit (LCACHE) enables caching of Large Buffer RPDRs. When LCACHE is set high, RPDRs are fetched from the RPDR Large Buffer Free Queue in groups of up to six. When LCACHE is set low, RPDRs are fetched one at a time. SCACHE: The small buffer cache enable bit (SCACHE) enables caching of Small Buffer RPDRs. When SCACHE is set high, RPDRs are fetched from the RPDR Small Buffer Free Queue in groups of up to six. When SCACHE is set low, RPDRs are fetched one at a time. RAWMAAX[1:0]: The RAWMAX[1:0] field determines how raw (i.e. non packet delimited) data is written to host memory. Raw data is written to buffers in host memory in the same manner as packet delimited data. Whenever RAWMAX[1:0] + 1 buffers have been filled, the resulting buffer chain is placed in the ready queue. RPQ_RDYN/[2:0): The RPQ_RDYN|[Z2:0] field sets the number of receive packet descriptor references (RPDRs) that must be placed onto the RPDR ready queue before the RPDR ready interrupt (RPQRDY!1) is asserted, as follows: Table 27 RPQ_RDYN|[2:0] settings RPQ_RDYN[2:0] No of RPDRs 000 1 001 4 010 6 011 8 100 16 101 32 110 Reserved 111 Reserved If the value of RPQ_RDYN[2:0] is altered, the new value does not become effective until after the RPQRDYI interrupt is next generated. PROPRIETARY AND CONFIDENTIAL 161r-i\ fi co PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 RPQ_LFN[1:0]: The RPQ_LFN[1:0] field sets the number of times that a block of RPDRs are read from the Large Buffer Free Queue to the RMAC672s internal cache before the RPDR Large Buffer Free Queue interrupt (RPQLF1) is asserted, as follows: Table 28 RPQ_LFN[1:0] Settings RPQ_LFN[1:0] No of Reads 00 1 01 4 10 8 11 Reserved If the value of RPQ_LFN[1:0] is altered, the new value does not become effective until after the RPQLFI interrupt is next generated. RPQ_SEN[1:0]: The RPQ_SFN{[1:0] field sets the number of times that a block of RPDRs are read from the Small Buffer Free Queue to the RMAC672s internal cache before the RPDR Small Buffer Free Queue interrupt (RPQSF1) is asserted, as follows: Table 29 RPQ_SFN[1:0] Settings RPQ_SFN[1:0] No of Reads 00 1 01 4 10 8 11 Reserved If the value of RPQ_SFN[1:0] is altered, the new value does not become effective until after the RPQSFI interrupt is next generated. Reserved: The reserved bit must be set low for correct operation of the FREEDM- 84P672 device. PROPRIETARY AND CONFIDENTIAL 162DATASHEET PMC-1990445 rev Cc" PMC-Sierra, Inc. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x284 : RMAC Indirect Channel Provisioning Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R BUSY Xx Bit 14 R/W RWB 0 Bit 13 Unused XH to Bit 11 Bit 10 R/W PROV 0 Bit 9 R/W CHAN[9] 0 Bit 8 R/W CHAN{8] 0 Bit 7 R/W CHAN[7] 0 Bit 6 R/W CHAN{6] 0 Bit 5 R/W CHANI[5] 0 Bit 4 R/W CHAN[4] 0 Bit 3 R/W CHAN{3] 0 Bit 2 R/W CHAN[2] 0 Bit 1 R/W CHAN{1] 0 Bit 0 R/W CHAN(0] 0 The Channel Provisioning Register is used to temporarily unprovision channels, and also to query the provision status of channels. Channel is permanently provisioned and can only be unprovisioned transiently. When a channel is unprovisioned, a partially received packet, if any, will be flushed and marked as unprovisioned in the RPDRR queue status field. The channel then returns to being provisioned automatically. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. PROPRIETARY AND CONFIDENTIAL 163ri fi as PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 CHAN[9:0}: The indirect data bits (CHAN[9:0]) report the channel number read from the RMAC672 internal memory after an indirect read operation has completed. Channel number to be written to the RMAC672 internal memory in an indirect write operation must be set up in this register before triggering the write. CHAN{9:0] reflects the value written until the completion of a subsequent indirect read operation. PROV: The indirect provision enable bit (PROV) reports the channel provision enable flag read from the RMAC672 internal memory after an indirect read operation has completed. The provision enable flag to be written to the RMAC672 internal memory, in an indirect write operation, must be set up in this register before triggering the write. When PROV is set high, the channel indicated by CHAN[9:0] is provisioned. When PROV is set low, the channel indicated by CHAN|[9:0] is unprovisioned temporarily. Any partially received packets are flushed and the status in the RPDRR queue is marked unprovisioned. The channel then returns to being provisioned and PROV will report a logic high after the next indirect read operation. PROV reflects the value written until the completion of a subsequent indirect read operation. RWB: The Read/Write Bar (RWB) bit selects between a provisioning/unprovisioning operation (write) or a query operation (read). Writing a logic O to RWB triggers the provisioning or unprovisioning of a channel as specified by CHANI[9:0] and PROV. Writing a logic 1 to RWB triggers a query of the channel specified by CHAN[9:0]. BUSY: The indirect access status bit (BUSY) reports the progress of an indirect access. BUSY is set high when this register is written to trigger an indirect access, and will stay high until the access is complete. At which point, BUSY will be set low. This register should be polled to determine when data from an indirect read operation is available or to determine when a new indirect write operation may commence. PROPRIETARY AND CONFIDENTIAL 164DATASHEET PMC-1990445 ri fi Cc PMC-Sierra, Inc. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER &4P672 Register 0x288 : RMAC Packet Descriptor Table Base LSW Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R/W RPDTB[15] 0 Bit 14 R/W RPDTB[14] 0 Bit 13 R/W RPDTB[13] 0 Bit 12 R/W RPDTB[12] 0 Bit 11 R/W RPDTB[11] 0 Bit 10 R/W RPDTB[10] 0 Bit 9 R/W RPDTB[9] 0 Bit 8 R/W RPDTB[8] 0 Bit 7 R/W RPDTB[7] 0 Bit 6 R/W RPDTB[6] 0 Bit 5 R/W RPDTB[5] 0 Bit 4 R/W RPDTB[4] 0 Bit 3 R/W RPDTB[3] 0 Bit 2 R/W RPDTB[2] 0 Bit 1 R/W RPDTB[1] 0 Bit 0 R/W RPDTB[0] 0 This register provides the less significant word of the Receive Descriptor Table Base address. The contents of this register is held in a holding register until a write access to the companion RMAC Receive Descriptor Table Base MSW register. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. PROPRIETARY AND CONFIDENTIAL 165DATASHEET PMC-1990445 r? [\ I Cc PMC-Sierra, Inc. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x28C : RMAC Packet Descriptor Table Base MSW Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R/W RPDTB[31] 0 Bit 14 R/W RPDTB[30] 0 Bit 13 R/W RPDTB[29] 0 Bit 12 R/W RPDTB[28] 0 Bit 11 R/W RPDTB[27] 0 Bit 10 R/W RPDTB[26] 0 Bit 9 R/W RPDTB[25] 0 Bit 8 R/W RPDTB[24] 0 Bit 7 R/W RPDTB[23] 0 Bit 6 R/W RPDTB[22] 0 Bit 5 R/W RPDTB[21] 0 Bit 4 R/W RPDTB[20] 0 Bit 3 R/W RPDTB[19] 0 Bit 2 R/W RPDTB[18] 0 Bit 1 R/W RPDTB[1 7] 0 Bit 0 R/W RPDTB[16] 0 This register provides the more significant word of the Receive Descriptor Table Base address. The contents of the companion RMAC Receive Descriptor Table Base LSW register is held in a holding register until a write access to this register, at which point, the base address of the receive packet descriptor table is updated. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enabie signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. PROPRIETARY AND CONFIDENTIAL 166[ > [\ fi a PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 RPDTB[31:01: The receive packet descriptor table base bits (RPDTB[31:0]) provides the base address of the Receive Packet Descriptor Table in PCI host memory. This register is initialised by the host. To calculate the physical address of a RPD, the 15 bit RPD offset must be added to bits 31 to 4 of the Receive Packet Descriptor Table Base (RPDTB[31:4]). The table must be on a 16 byte boundary and thus the least significant four bits must be written to logic zero. PROPRIETARY AND CONFIDENTIAL 167DATASHEET PMC-1990445 PMV c PMC-Sierra, inc. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x290 : RMAC Queue Base LSW Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R/W RQB[15] 0 Bit 14 R/W RQB[14] 0 Bit 13 R/W RQB[13] 0 Bit 12 R/W RQB[12] 0 Bit 11 R/W RQB[11] 0 Bit 10 R/W RQB[10] 0 Bit 9 R/W RQB[9] 0 Bit 8 R/W RQB[8] 0 Bit 7 R/W RQB[7] 0 Bit 6 R/W RQB[6] 0 Bit 5 R/W RQB[5] 0 Bit 4 R/W ROQB/[4] 0 Bit 3 R/W RQB[3] 0 Bit 2 R/W RQB[2] 0 Bit 1 R/W RQB[1] 0 Bit 0 R/W RQB[0] 0 This register provides the less significant word of the Receive Queue Base address. The contents of this register is held in a holding register until a write access to the companion RMAC Receive Queue Base MSW register. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. PROPRIETARY AND CONFIDENTIAL 168DATASHEET PMC-1990445 r- IV c* PMC-Sierra, Inc. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x294 : RMAC Queue Base MSW Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R/W RQBJ[31] 0 Bit 14 R/W RQB[30] 0 Bit 13 R/W RQB[29] 0 Bit 12 R/W RQB[28] 0 Bit 11 R/W RQB[27] 0 Bit 10 R/W RQB[26] 0 Bit 9 R/W RQB[25] 0 Bit 8 R/W RQB[24] 0 Bit 7 R/W RQB[23] 0 Bit 6 R/W RQB[22] 0 Bit 5 R/W RQB[21] 0 Bit 4 R/W RQB[20] 0 Bit 3 R/W RQB[19] 0 Bit 2 R/W RQB[18] 0 Bit 1 R/W RQB[17] 0 Bit 0 R/W RQB[16] 0 This register provides the more significant word of the Receive Queue Base address. The contents of the companion RMAC Receive Queue Base LSW register is held in a holding register until a write access to this register, at which point, the base address of the receive queue is updated. Note This register is not byte addressabie. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. PROPRIETARY AND CONFIDENTIAL 169r> iN f\ o PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 RQBJ31:0]: The receive queue base bits (RQB[31:0]) provides the base address of the Large Buffer RPDR Free, Small Buffer RPDR Free and RPDR Ready queues in PCI host memory. This register is initialised by the host. To calculate the physical address of a particular receive queue element, the RQB bits are added with the appropriate queue start, end, read or write index registers to form the physical address. The base address must be dword aligned and thus the least significant two bits must be written to logic zero. PROPRIETARY AND CONFIDENTIAL 170DATASHEET PMC-1990445 ISSUE 4 r [\ /\ c* PMC-Sierra, Inc. PM7384 FREEDM-84P672 sees FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x298 : RMAC Packet Descriptor Reference Large Buffer Free Queue Start Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R/W RPDRLFQS[15] 0 Bit 14 R/W RPDRLFQS[14] 0 Bit 13 R/W RPDRLFQS[13] 0 Bit 12 R/W RPDRLFQS[12] 0 Bit 11 R/W RPDRLFQS[11] 0 Bit 10 R/W RPDRLFQS|10] 0 Bit 9 R/W RPDRLFQS[9] 0 Bit 8 R/W RPDRLFQS[8] 0 Bit 7 R/W RPDRLFQS[7] 0 Bit 6 R/W RPDRLFQSJ[6] 0 Bit 5 R/W RPDRLFQSJ[5}] 0 Bit 4 R/W RPDRLFQS[4] 0 Bit 3 R/W RPDRLFQSJ[3] 0 Bit 2 R/W RPDRLFQS[2] 0 Bit 1 R/W RPDRLFQS[1] 0 Bit O R/W RPDRLFQSJ0] 0 This register provides the Packet Descriptor Reference Large Buffer Free Queue start address. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. PROPRIETARY AND CONFIDENTIAL 171r> [\ fl PMC-Sierra, inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 RPDRLFQS/15:0]: The receive packet descriptor reference (RPDR) large buffer free queue start bits (RPDRLFQS[15:0]) define bits 17 to 2 of the Receive Packet Descriptor Reference Large Buffer Free Queue start address. This register is initialised by the host. The physical start address of the RPDRLF queue is the sum of RPDRLFQS[15:0] left shifted by 2 bits with the RQB[31:0] bits in the RMAC Receive Queue Base register. PROPRIETARY AND CONFIDENTIAL 172r = [\ i PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x29C : RMAC Packet Descriptor Reference Large Buffer Free Queue Write Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R/W RPDRLFQW([15] 0 Bit 14 R/W RPDRLFQW([14] 0 Bit 13 R/W RPDRLFQW([13] 0) Bit 12 R/W RPDRLFQW([12] 0 Bit 11 R/W RPDRLFQW(11] 0 Bit 10 R/W RPDRLFQW([10] 0 Bit 9 R/W RPDRLFQW[9] 0 Bit 8 R/W RPDRLFQWJ8] 0 Bit 7 R/W RPDRLFQW[7] 0 Bit 6 R/W RPDRLFQWJ6] 0 Bit 5 R/W RPDRLFQWJ[5] 0 Bit 4 R/W RPDRLFQW[4] 0 Bit 3 R/W RPDRLFQW[3] 0 Bit 2 R/W RPDRLFQW[2] 0 Bit 1 R/W RPDRLFQW(1] 0 Bit O R/W RPDRLFQW/(0] 0 This register provides the Packet Descriptor Reference Large Buffer Free Queue write address. Notes 1. This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. PROPRIETARY AND CONFIDENTIAL 173r > [\ fi PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET ee PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 2. If consecutive write accesses to this register are performed, they must be spaced at least 4 SYSCLK periods apart. RPDRLFQW/15:0]: The receive packet descriptor reference (RPDR) large buffer free queue write bits (RPDRLFQW[15:0}) define bits 17 to 2 of the Receive Packet Descriptor Reference Large Buffer Free Queue write pointer. This register is initialised by the host. The physical write address in the RPDRLF queue is the sum of RPDRLFQW[15:0] left shifted by 2 bits with the RQB[31:0] bits in the RMAC Receive Queue Base register. PROPRIETARY AND CONFIDENTIAL 174r> [\ fi PMC-Sierra, inc. PM7384 FREEDM-84P672 DATASHEET ee! PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER &4P672 Register 0x2A0 : RMAC Packet Descriptor Reference Large Buffer Free Queue Read Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R/W RPDRLFQR[15] 0 Bit 14 R/W RPDRLFQR[14] 0 Bit 13 R/W RPDRLFQR[13] 0 Bit 12 R/W RPDRLFQR[12] 0 Bit 11 R/W RPDRLFQR[11]} 0 Bit 10 R/W RPDRLFQR[10] 0 Bit 9 R/W RPDRLFQR[9] 0 Bit 8 R/W RPDRLFQR{[8] 0 Bit 7 R/V RPDRLFQR[7] 0 Bit 6 RAW RPDRLFQRJ6] 0 Bit 5 R/W RPDRLFQR[5] 0 Bit 4 R/W RPDRLFQR{[4] 0 Bit 3 R/W RPDRLFQR{[3] 0 Bit 2 R/W RPDRLFQR[2] 0 Bit 1 R/W RPDRLFQR[1] 0 Bit 0 R/AW RPDRLFOR(0] 0 This register provides the Packet Descriptor Reference Large Buffer Free Queue read address. Notes 1. This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. PROPRIETARY AND CONFIDENTIAL 175rf\ /| PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER &4P672 2. If consecutive write accesses to this register are performed, they must be spaced at least 4 SYSCLK periods apart. RPDRLFQR[15:0]: The receive packet descriptor reference (RPDR) large buffer free queue read bits (RPDRLFQR[15:0]) define bits 17 to 2 of the Receive Packet Descriptor Reference Large Buffer Free Queue read pointer. This register is initialised by the host. The physical read address in the RPDRLF queue is the sum of RPDRLFQR[15:0] left shifted by 2 bits with the RQB[31:0] bits in the RMAC Receive Queue Base register. PROPRIETARY AND CONFIDENTIAL 176DATASHEET PMC-1990445 PTV C PMC-Sierra, Inc. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x2A4 : RMAC Packet Descriptor Reference Large Buffer Free Queue End Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R/W RPDRLFQE[15] 0 Bit 14 R/W RPDRLFQE[14] 0 Bit 13 R/W RPDRLFQE[13] 0 Bit 12 R/W RPDRLFQE[12] 0 Bit 11 R/W RPDRLFQE[11] 0 Bit 10 R/W RPDRLFQE[10] 0 Bit 9 R/W RPDRLFQE[9] 9) Bit 8 R/W RPDRLFQE[8] 0 Bit 7 R/W RPDRLFQE[7] 0 Bit 6 R/W RPDRLFQE[6] 0 Bit 5 R/W RPDRLFQE[5] 0 Bit 4 R/W RPDRLFQE[4] 0 Bit 3 R/W RPDRLFQE[3] 0 Bit 2 R/W RPDRLFQE[2] 0 Bit 1 R/W RPDRLFQE[1] 9) Bit 0 R/W RPDRLFQE[0] 0 This register provides the Packet Descriptor Reference Large Buffer Free Queue end address. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. PROPRIETARY AND CONFIDENTIAL 177r [\ fi q PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET a PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 RPDRLFQE/15:0): The receive packet descriptor reference (RPDR) large buffer free queue end bits (RPDRLFQE[15:0]) define bits 17 to 2 of the Receive Packet Descriptor Reference Large Buffer Free Queue end address. This register is initialised by the host. The physical end address in the RPDRLF queue is the sum of RPDRLFQE[15:0] left shifted by 2 bits with the RQB[31:0] bits in the RMAC Receive Queue Base register. PROPRIETARY AND CONFIDENTIAL 178DATASHEET PMC-1990445 ISSUE 4 r-f\ y/ re PMC-Sierra, Inc. PM7384 FREEDM-84P672 Le FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x2A8 : RMAC Packet Descriptor Reference Small Buffer Free Queue Start Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R/W RPDRSFQS/[15] 0 Bit 14 R/W RPDRSFQS[14] 0 Bit 13 R/W RPDRSFQS[13] 0 Bit 12 R/W RPDRSFQS[12] 0 Bit 11 R/W RPDRSFQS[11] 0 Bit 10 R/AW RPDRSFQS[10] 0 Bit 9 R/W RPDRSFQSJ9] 0 Bit 8 RAW RPDRSFQS[8] 0 Bit 7 R/AW RPDRSFQS[7] 0 Bit 6 RW RPDRSFQS[6] 0 Bit 5 R/W RPDRSFQS[5] 0 Bit 4 R/W RPDRSFQS[4] 0 Bit 3 R/W RPDRSFQS{3] 0 Bit 2 R/W RPDRSFQS[2] 9) Bit 1 R/W RPDRSFQS[1] 0 Bit 0 R/W RPDRSFQSJ[0] ) This register provides the Packet Descriptor Reference Small Buffer Free Queue start address. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. PROPRIETARY AND CONFIDENTIAL 179r> [\ fl co PMC-Sierra, Inc. PM7384 FREEDM-84P672 aa ena nn nena nan nant nanan PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 DATASHEET RPDRSFQS[15:0]: The receive packet descriptor reference (RPDR) small buffer free queue start bits (RPDRSFQS[15:0]) define bits 17 to 2 of the Receive Packet Descriptor Reference Small Buffer Free Queue start address. This register is initialised by the host. The physical start address of the RPDRSF queue is the sum of RPDRSFQS[15:0] left shifted by 2 bits with the RQB[31:0] bits in the RMAC Receive Queue Base register. PROPRIETARY AND CONFIDENTIAL 180r- Mi PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register O0x2AC : RMAC Packet Descriptor Reference Small Buffer Free Queue Write Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R/W RPDRSFQW[15] 0 Bit 14 R/W RPDRSFQW[14] 0 Bit 13 R/W RPDRSFQW[13] 0 Bit 12 R/W RPDRSFQW[12] 0 Bit 11 R/W RPDRSFQW[11] 0 Bit 10 R/W RPDRSFQW[10] 0 Bit 9 R/W RPDRSFQW{[9] 0 Bit 8 R/W RPDRSFQWJ[8] 0 Bit 7 R/W RPDRSFQW[7] 0 Bit 6 R/W RPDRSFQWI[6] 0 Bit 5 R/W RPDRSFQWI5] 0 Bit 4 R/W RPDRSFQW{[4] 0 Bit 3 R/W RPDRSFQW{[3] ) Bit 2 R/W RPDRSFQW[2] 0 Bit 1 R/W RPDRSFQW[1] 0 Bit 0 R/W RPDRSFQW/[0] 0 This register provides the Packet Descriptor Reference Small Buffer Free Queue write address. Notes 1. This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when ail four byte enables are negated, no access is made to this register. PROPRIETARY AND CONFIDENTIAL 181r [\ /\ cf PMC-Sierra, inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 2. If consecutive write accesses to this register are performed, they must be spaced at least 4 SYSCLK periods apart. RPDRSFQW/15:0]: The receive packet descriptor reference (RPDR) small buffer free queue write bits (RPDRSFQW[15:0]) define bits 17 to 2 of the Receive Packet Descriptor Reference Small Buffer Free Queue write pointer. This register is initialised by the host. The physical write address in the RPDRSF queue is the sum of RPDRSFQW([15:0] left shifted by 2 bits with the RQB([31:0] bits in the RMAC Receive Queue Base register. PROPRIETARY AND CONFIDENTIAL 182r- IVI PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x2B0 : RMAC Packet Descriptor Reference Small Buffer Free Queue Read Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R/W RPDRSFQR[15] 0 Bit 14 R/W RPDRSFQR[14] 0 Bit 13 R/W RPDRSFQR[13] 0 Bit 12 R/W RPDRSFQR[12] 0 Bit 11 R/W RPDRSFQR[11] 0 Bit 10 R/W RPDRSFQR[10] 0 Bit 9 R/W RPDRSFQRI9] 0 Bit 8 R/W RPDRSFQRJ8] 0 Bit 7 R/W RPDRSFQR[7] 0 Bit 6 R/W RPDRSFQRJ6] 0 Bit 5 R/W RPDRSFQR[5] 0 Bit 4 R/W RPDRSFQRJ4] 0 Bit 3 R/W RPDRSFQRJ3] 0 Bit 2 R/W RPDRSFQR[2] 0 Bit 1 R/W RPDRSFQR[1] 0 Bit 0 R/W RPDRSFQR[0] 0 This register provides the Packet Descriptor Reference Small Buffer Free Queue read address. Notes 1. This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. PROPRIETARY AND CONFIDENTIAL 183rf A PMC-Sierra, Inc. PM7384 FREEDM-84P672 a PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 DATASHEET 2. If consecutive write accesses to this register are performed, they must be spaced at least 4 SYSCLK periods apart. RPDRSFQR[15:0]: The receive packet descriptor reference (RPDR) small buffer free queue read bits (RPDRSFQR[15:0]) define bits 17 to 2 of the Receive Packet Descriptor Reference Small Buffer Free Queue read pointer. This register is initialised by the host. The physical read address in the RPDRSF queue is the sum of RPDRSFQR[15:0] left shifted by 2 bits with the RQB[31:0] bits in the RMAC Receive Queue Base register. PROPRIETARY AND CONFIDENTIAL 184DATASHEET PMC-1990445 ISSUE 4 rf fi c PMC-Sierra, Inc. PM7384 FREEDM-84P672 as FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x2B4 : RMAC Packet Descriptor Reference Small Buffer Free Queue End Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R/W RPDRSFQE[15] 0 Bit 14 R/W RPDRSFQE[14] 0 Bit 13 R/W RPDRSFQE[13] 0 Bit 12 R/W RPDRSFQE[12] 0 Bit 11 R/W RPDRSFQE[11] 0 Bit 10 R/W RPDRSFQE[10] 0 Bit 9 R/W RPDRSFQE[9] 0 Bit 8 R/W RPDRSFQE[8] 0 Bit 7 R/W RPDRSFQE[7] 0 Bit 6 R/W RPDRSFQE[6] 0 Bit 5 R/W RPDRSFQE[5] 0 Bit 4 R/W RPDRSFQE[4] 0 Bit 3 R/W RPDRSFQE{3] 0 Bit 2 R/W RPDRSFQE[2] 0 Bit 1 R/W RPDRSFQE[1] 0 Bit O R/W RPDRSFQE/(0] 0 This register provides the Packet Descriptor Reference Small Buffer Free Queue end address. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. PROPRIETARY AND CONFIDENTIAL 185i [\ I PMC-Sierra, Inc. PM7384 FREEDM-84P672 (a DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER &4P672 RPDRSFQE[15:0]: The receive packet descriptor reference (RPDR) small buffer free queue end bits (RPDRSFQE[15:0]) define bits 17 to 2 of the Receive Packet Descriptor Reference Small Buffer Free Queue end address. This register is initialised by the host. The physical end address in the RPDRSF queue is the sum of RPDRSFQE[15:0] left shifted by 2 bits with the ROQB[31:0] bits in the RMAC Receive Queue Base register. PROPRIETARY AND CONFIDENTIAL 186DATASHEET PMC-1990445 r- [\ AI C PMC-Sierra, Inc. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x2B8 : RMAC Packet Descriptor Reference Ready Queue Start Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R/W RPDRRQS[15] 0 Bit 14 R/W RPDRRQS[14] 0 Bit 13 R/W RPDRRQS[13] 0 Bit 12 R/W RPDRRQS[12] 0 Bit 11 R/W RPDRRQS[11]} 0 Bit 10 R/W RPDRRQS[10] 0 Bit 9 R/W RPDRRQSJ9] 0 Bit 8 R/W RPDRRQSJ8] 0 Bit 7 R/W RPDRRQSJ7] 0 Bit 6 R/W RPDRRQSJ6] 0 Bit 5 R/W RPDRRQSJ[5] 0 Bit 4 R/W RPDRRQSJ[4] 0 Bit 3 R/W RPDRRQS{3] 0 Bit 2 R/W RPDRRQS[2] 0 Bit 1 R/iW RPDRRQS[1] 0 Bit 0 R/W RPDRRQS(0] 0 This register provides the Packet Descriptor Reference Ready Queue start address. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. PROPRIETARY AND CONFIDENTIAL 187i ~ i\ y, \ PMC-Sierra, inc. PM7384 FREEDM-84P672 DATASHEET A PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 RPDRRQSJ15:0]: The receive packet descriptor reference (RPDR) ready queue start bits (RPDRRQS[15:0]) define bits 17 to 2 of the Receive Packet Descriptor Reference Ready Queue start address. This register is initialised by the host. The physical start address of the RPDRR queue is the sum of RPDRRQS{[15:0] left shifted by 2 bits with the RQB[31:0] bits in the RMAC Receive Queue Base register. PROPRIETARY AND CONFIDENTIAL 188DATASHEET PMC-1990445 PV C PMC-Sierra, inc. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x2BC : RMAC Packet Descriptor Reference Ready Queue Write Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R/W RPDRRQW([15] ) Bit 14 R/W RPDRRQW([14] 0 Bit 13 R/W RPDRRQW([13} 0 Bit 12 R/W RPDRRQW([12} 0 Bit 11 R/W RPDRRQW[11] 0 Bit 10 R/W RPDRRQW([10] 0 Bit 9 R/W RPDRRQWI9] 0 Bit 8 R/W RPDRRQWI8] 0 Bit 7 R/W RPDRRQWI7] 0 Bit 6 R/W RPDRRQW/{6] 0 Bit 5 R/W RPDRRQWI5] 0 Bit 4 RW RPDRRQW{4] ) Bit 3 R/W RPDRRQW{[3] 0 Bit 2 R/W RPDRRQW[2] 0 Bit 1 R/W RPDRRQW([1] 0 Bit 0 R/W RPDRRQW/(0] 0 This register provides the Packet Descriptor Reference Ready Queue write address. Notes 1. This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. 2. If consecutive write accesses to this register are performed, they must be spaced at least 4 SYSCLK periods apart. PROPRIETARY AND CONFIDENTIAL 189rit y/ ce PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 RPDRRQW[15:0): The receive packet descriptor reference (RPDR) ready queue write bits (RPDRRQW/([15:0]) define bits 17 to 2 of the Receive Packet Descriptor Reference Ready Queue write pointer. This register is initialised by the host. The physical write address in the RPDRR queue is the sum of RPDRRQWI[15:0] left shifted by 2 bits with the RQB[31:0] bits in the RMAC Receive Queue Base register. PROPRIETARY AND CONFIDENTIAL 190DATASHEET PMC-1990445 rlVi C PMC-Sierra, inc. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x2C0O : RMAC Packet Descriptor Reference Ready Queue Read Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R/W RPDRRQR[15] 0 Bit 14 R/W RPDRRQR[14] 0 Bit 13 R/W RPDRRQR[13] 0 Bit 12 R/W RPDRRQR[12} 0 Bit 11 R/W RPDRROQR[11] 0 Bit 10 R/W RPDRRQR[10} 0 Bit 9 R/W RPDRRQR[9] 0 Bit 8 R/W RPDRRQR{[8] 0 Bit 7 R/W RPDRRQR[7] 0 Bit 6 R/W RPDRROR{[6] 0 Bit 5 R/W RPDRRQR[5] 0 Bit 4 R/wW RPDRRQRJ[4] 0 Bit 3 R/W RPDRRQR{[3] 0 Bit 2 R/W RPDRRQR[2] 0 Bit 1 R/W RPDRRQR[1] 0 Bit 0 R/W RPDRRQR[O] 0 This register provides the Packet Descriptor Reference Ready Queue read address. Notes 1. This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB([3:0]) are not implemented. However, when ail four byte enables are negated, no access is made to this register. 2. If consecutive write accesses to this register are performed, they must be spaced at least 4 SYSCLK periods apart. PROPRIETARY AND CONFIDENTIAL 191i > [\ fA PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET ee errr eee ee as PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 RPDRRQRJ15:0]: The receive packet descriptor reference (RPDR) ready queue read bits (RPDRRQR[15:0]) define bits 17 to 2 of the Receive Packet Descriptor Reference Ready Queue read pointer. This register is initialised by the host. The physical read address in the RPDRR queue is the sum of RPDRRQR[15:0] left shifted by 2 bits with the RQB[31:0] bits in the RMAC Receive Queue Base register. PROPRIETARY AND CONFIDENTIAL 192DATASHEET PMC-1990445 ISSUE 4 r : VM ens PMC-Sierra, Inc. PM7384 FREEDM-84P672 eee ee eee eee eee eee eee ce FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x2C4 : RMAC Packet Descriptor Reference Ready Queue End Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R/W RPDRRQE[15] 0 Bit 14 R/W RPDRRQE[14] 0 Bit 13 R/W RPDRRQE[13] 0 Bit 12 R/W RPDRRQE|12] 0 Bit 11 R/W RPDRRQE[11]} 0 Bit 10 R/W RPDRRQE[10] 0 Bit 9 R/W RPDRRQE[9] 0 Bit 8 R/W RPDRRQE[8] 0 Bit 7 R/W RPDRRQE[7] 0 Bit 6 R/W RPDRRQE[6] 0 Bit 5 R/W RPDRRQE[5] 0 Bit 4 R/W RPDRRO@E[4] 0 Bit 3 R/W RPDRRQE[3] 0 Bit 2 R/W RPDRRQE[2] 0 Bit 1 R/W RPDRRQE[1] 0 Bit 0 R/W RPDRRQE[O] 0 This register provides the Packet Descriptor Reference Ready Queue end address. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. PROPRIETARY AND CONFIDENTIAL 193r- [\ /\ PMC-Sierra, inc. PM7384 FREEDM-84P672 DATASHEET a eS PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 RPDRRQE/[15:0]: The receive packet descriptor reference (RPDR) ready queue end bits (RPDRRQE[15:0]) define bits 17 to 2 of the Receive Packet Descriptor Reference Ready Queue end address. This register is initialised by the host. The physical end address in the RPDRR queue is the sum of RPDRRQE[15:0] left shifted by 2 bits with the RQB[31:0] bits in the RMAC Receive Queue Base register. PROPRIETARY AND CONFIDENTIAL 194DATASHEET PMC-1990445 PV c* PMC-Sierra, Inc. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x300 : TMAC Control Bit Type Function Default Bit 31 Unused XXXXXXH to Bit 8 Bit 7 R/W FQFLUSH 0 Bit 6 R/W TDQ_FRN[1] 0 Bit 5 R/W TDQ_FRN(0] ) Bit 4 R/W TDQ_RDYN[2] ) Bit 3 R/W TDQ_RDYN{[1] 0 Bit 2 R/W TDQ_RDYN(0] 0 Bit 1 R/W CACHE 1 Bit O R/W ENABLE 0 This register provides control of the TMAC672 block. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. ENABLE: The transmit DMA controller enable bit (ENABLE) enables the TMAC672 to accept TDRs from the TDR Ready Queue and reads packet data from host memory. When ENABLE is set high, the TMAC672 is enabled. When ENABLE is set low, the TDR Ready Queue is ignored. Once all linked lists of TDs built up by the TMAC672 have been exhausted, no more data will be transmitted on the TD[31:0] links. CACHE: The transmit descriptor reference cache enable bit (CACHE) controls the frequency at which TDRs are written to the TDR Free Queue. When CACHE is set high, freed TDRs are cached and then written up to six at a time. When CACHE is set low, freed TDRs are written one at a time. PROPRIETARY AND CONFIDENTIAL 195r? [\ fi cr PMC-Sierra, Inc. PM7384 FREEDM-84P672 | PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 DATASHEET TDQ_RDYN[2:0): The TDQ_RDYN[2:0] field sets the number of transmit descriptor references (TDRs) that must be read from the TDR Ready Queue before the TDR Ready interrupt (TDQRDY]) is asserted, as follows: Table 30 - TDQ_RDYN[2:0] Settings TDQ_RDYN[2:0] No of TDRs 000 1 001 4 010 6 011 8 100 16 101 32 110 Reserved 111 Reserved TDQ_FRN{[1:0]: The TDQ_FRN[1:0] field sets the number of times that a block of TDRs are written to the TDR Free Queue from the TMAC672s internal cache before the TDR Free Queue Interrupt (TDQFI) is asserted, as follows: Table 31 TDQ_FRN[1:0] Settings TDQ_FRN[1:0] No of Reads 00 1 01 4 10 8 11 Reserved FQFLUSH: The Free Queue Flush bit (FQFLUSH) may be used to initiate a dump of the free queue cache retained locally within the TMAC672 to the free queue located in PCI host memory. When the FQFLUSH bit is set high, the TMAC672 dumps the contents of the free queue cache to the free queue in PCI host memory. The FQFLUSH bit is self clearing and will reset to zero when the flush is complete. Setting the FQFLUSH bit to zero has no affect. PROPRIETARY AND CONFIDENTIAL 196DATASHEET PMC-1990445 PMV C PMC-Sierra, Inc. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x304 : TMAC Indirect Channel Provisioning Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R BUSY X Bit 14 R/W RWB 0 Bit 13 R/W PROV 0 Bit 12 Unused XH to Bit 10 Bit 9 R/W CHAN[9] 0 Bit 8 R/W CHAN(8] 0 Bit 7 R/W CHAN[7] 0 Bit 6 R/AW CHAN[6] 0 Bit 5 R/W CHAN[5] 0 Bit 4 R/W CHAN[4] 0 Bit 3 R/W CHAN{3] 0 Bit 2 R/W CHAN[2] 0 Bit 1 R/W CHAN[1] 0) Bit 0 R/W CHAN[O] 0 The Channel Provisioning Register is used to provision and unprovision channels, and also to query the provision status of channels. When a channel is provisioned, chains of packet data for that channel will be accepted by the TMAC672 and placed on the channel's linked list of packets to be transmitted. When a channel is unprovisioned, chains of packet data for that channel will be rejected by the TMAC672 and returned to the TDR Free Queue with the status bits in the queue element set to indicate the rejection. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not PROPRIETARY AND CONFIDENTIAL 197r-l\ fi o PMC-Sierra, inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 implemented. However, when all four byte enables are negated, no access is made to this register. CHANJ9:0]: The indirect data bits (CHAN[9:0]) report the channel number read from the TMAC672 internal memory after an indirect read operation has completed. Channel number to be written to the TMAC672 internal memory in an indirect write operation must be set up in this register before triggering the write. CHAN[9:0] reflects the value written until the completion of a subsequent indirect read operation. PROV: The indirect provision enable bit (PROV) reports the channel provision enable flag read from the TMAC672 internal memory after an indirect read operation has completed. The provision enable flag to be written to the TMAC672 internal memory, in an indirect write operation, must be set up in this register before triggering the write. When PROV is set high, the channel as indicated by CHAN[9:0] is provisioned. When PROV is set low, the channel indicated by CHAN[9:0] is unprovisioned. PROV reflects the value written until the completion of a subsequent indirect read operation. RWB: The Read/Write Bar (RWB) bit selects between a provisioning/unprovisioning operation (write) or a query operation (read). Writing a logic 0 to RWB triggers the provisioning or unprovisioning of a channel as specified by CHAN[9:0] and PROV. Writing a logic 1 to RWB triggers a query of the channel specified by CHAN[9:0]. BUSY: The indirect access status bit (BUSY) reports the progress of an indirect access. BUSY is set high when this register is written to trigger an indirect access, and will stay high until the access is complete. At which point, BUSY will be set low. This register should be polled to determine when data from an indirect read operation is available or to determine when a new indirect write operation may commence. PROPRIETARY AND CONFIDENTIAL 198DATASHEET PMC-1990445 Pvc PMC-Sierra, Inc. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x308 : TMAC Descriptor Table Base LSW Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R/W TDTB[15] 0 Bit 14 R/W TDTB[14} 0 Bit 13 R/W TDTB[13] 0 Bit 12 R/W TDTB[12} 0 Bit 11 R/W TDTB[11] 0 Bit 10 R/W TDTB[10} 0 Bit 9 R/W TDTB[9] 0 Bit 8 R/W TDTB[8] 0 Bit 7 R/W TDTB[7] 0 Bit 6 R/W TDTB[6] 0 Bit 5 R/W TDTB[5] 0 Bit 4 R/W TDTB[4] 0 Bit 3 R/W TDTB[3] 0 Bit 2 R/W TDTB[2] 0 Bit 1 R/W TDTB[1] 0 Bit O R/W TDTB[O] 0 This register provides the less significant word of the Transmit Descriptor Table Base address. The contents of this register is held in a holding register until a write access to the companion TMAC Transmit Descriptor Table Base MSW register. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. PROPRIETARY AND CONFIDENTIAL 199DATASHEET PMC-1990445 r> iV C PMC-Sierra, Inc. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x30C : TMAC Descriptor Table Base MSW Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R/W TDTB[31] 0 Bit 14 R/W TDTB[30] 0 Bit 13 R/W TDTB[29] 0 Bit 12 R/W TDTB[28} 0 Bit 11 R/W TDTB[27] 0 Bit 10 R/W TDTB[26] 0 Bit 9 R/W TDTB[25] 0 Bit 8 R/W TDTB[24] 0 Bit 7 R/W TDTB[23] 0 Bit 6 R/W TDTB[22] 0 Bit 5 R/W TDTB[21] 0 Bit 4 R/W TDTB[20] 0 Bit 3 R/W TDTB[19] 0 Bit 2 R/W TDTB[18] 0 Bit 1 R/W TDTB[17] 0 Bit 0 R/W TDTB[16] 0 This register provides the more significant word of the Transmit Descriptor Table Base address. The contents of the companion TMAC Transmit Descriptor Table Base LSW register is held in a holding register until a write access to this register, at which point, the base address of the transmit descriptor table is updated. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. PROPRIETARY AND CONFIDENTIAL 200rl fi PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 TDTBJ31:0]: The transmit descriptor table base bits (TDTB[31:0]) provides the base address of the Transmit Descriptor Table in PCI host memory. This register is initialised by the host. To calculate the physical address of a TD, the 15 bit TD offset must be added to bits 31 to 4 of the Transmit Descriptor Table Base (TDTB[31:4)). The table must be on a 16 byte boundary and thus the least significant four bits must be written to logic zero. PROPRIETARY AND CONFIDENTIAL 201DATASHEET PMC-1990445 PV Cc" PMC-Sierra, Inc. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x310 : TMAC Queue Base LSW Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R/W TQB[15] 0 Bit 14 R/W TQB[14] 0 Bit 13 R/W TQB[13] 0 Bit 12 R/W TQB[12] 0 Bit 11 R/W TQB[11] 0 Bit 10 R/W TQB[10] 0 Bit 9 R/W TQB[9] 0 Bit 8 R/W TQB[8} 0 Bit 7 R/W TQB[7] 0 Bit 6 R/W TQB[6] 0 Bit 5 R/W TQB[5] 0 Bit 4 R/W TQB[4] 0 Bit 3 R/W TQB[3] 0 Bit 2 R/W TQB[2] 0 Bit 1 R/W TQB[1] 0 Bit 0 R/W TQB[0] 0 This register provides the less significant word of the Transmit Queue Base address. The contents of this register is held in a holding register until a write access to the companion TMAC Transmit Queue Base MSW register. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. PROPRIETARY AND CONFIDENTIAL 202DATASHEET PMC-1990445 PV Cc PMC-Sierra, Inc. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x314 : TMAC Queue Base MSW Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R/W TQB[31] 0 Bit 14 R/W TQB[30] 0 Bit 13 R/W TQB[29] 0 Bit 12 R/W TQB[28] 0 Bit 11 R/W TQB[27] 0 Bit 10 R/AW TQB[26] 0 Bit 9 R/W TQB[25] 0 Bit 8 R/W TQB[24] 0 Bit 7 R/W TQB[23] 0 Bit 6 R/W TQB[22] 0 Bit 5 R/W TQB[21] 0 Bit 4 R/W TQB[20] 0 Bit 3 R/W TQB[19] 0 Bit 2 R/W TQB[18] 0 Bit 1 R/W TQB[17] 0 Bit 0 R/W TQB[16] 0 This register provides the more significant word of the Transmit Queue Base address. The contents of the companion TMAC Transmit Descriptor Table Base LSW register is held in a holding register until a write access to this register, at which point, the base address of the transmit queue is updated. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. PROPRIETARY AND CONFIDENTIAL 203r> [\ f| PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET a PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 TQB[31:0]: The transmit queue base bits (TQB[31:0]) provides the base address of the Transmit Descriptor Reference Free and Transmit Descriptor Reference Ready queue in PCI host memory. This register is initialised by the host. To calculate the physical address of a particular transmit queue element, the TQB bits are added with the appropriate queue start, end, read or write index registers to form the physical address. The base address must be dword aligned and thus the least significant two bits must be written to logic zero. PROPRIETARY AND CONFIDENTIAL 204DATASHEET PMC-1990445 ri fl Cc PMC-Sierra, inc. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x318 : TMAC Descriptor Reference Free Queue Start Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R/W TDRFQS[15] 0 Bit 14 R/W TDRFQS[14] 0 Bit 13 R/W TDRFQS[13] 0 Bit 12 R/W TDRFQS[12] 0 Bit 11 R/W TDRFQS[11] 0 Bit 10 R/W TDRFQS[10] 0 Bit 9 R/W TDRFQS[9] 0 Bit 8 R/W TDRFQS[8] 0 Bit 7 R/W TDRFQSJ7] 0 Bit 6 R/W TDRFQSJ[6] 0 Bit 5 R/W TDRFQSJ5] 0 Bit 4 R/W TDRFQS[4] 0 Bit 3 R/W TDRFQSJ3] 0 Bit 2 R/W TDRFQS[2] 0 Bit 1 R/W TDRFQS[1] 0 Bit O R/W TDRFQS[0] 0 This register provides the Transmit Descriptor Reference Free Queue start address. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. PROPRIETARY AND CONFIDENTIAL 205r [\ /\ co" PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 TDREQS/15:0]: The transmit packet descriptor reference (TDR) free queue start bits (TDRFQS[15:0]) define bits 17 to 2 of the Transmit Packet Descriptor Reference Free Queue start address. This register is initialised by the host. The physical start address of the TDRF queue is the sum of TDRFQS[15:0] left shifted by 2 bits with the TQB[31:0] bits in the TMAC Transmit Queue Base register. PROPRIETARY AND CONFIDENTIAL 206DATASHEET PMC-1990445 Py C PMC-Sierra, Inc. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x31C TMAC Descriptor Reference Free Queue Write Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R/W TDRFQW([15] 0 Bit 14 R/W TDRFQW([14] 0 Bit 13 R/W TDRFQW([13] 0 Bit 12 R/W TDRFQW[12] 0 Bit 11 R/W TDRFQW([11] 0 Bit 10 R/W TDRFQW([10] 0 Bit 9 R/W TDRFQW{9] ) Bit 8 R/W TDRFQW{[8] 8) Bit 7 R/W TDRFQW{7] 0 Bit 6 R/W TDRFQW{6] 0 Bit 5 R/W TDRFQW{5] 0 Bit 4 R/W TDRFQW[4] 0 Bit 3 R/iW TDRFQW{3] 0 Bit 2 R/W TDRFQW/[2] 0 Bit 1 R/iW TDRFQW[1] 0 Bit 0 R/W TDRFQW/[0] 0 This register provides the Transmit Descriptor Reference Free Queue write address. Notes 1. This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. 2. If consecutive write accesses to this register are performed, they must be spaced at least 4 SYSCLK periods apart. PROPRIETARY AND CONFIDENTIAL 207roi fi ae PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 TDREQW([15:0]: The transmit packet descriptor reference (TPDR) free queue write bits (TDRFQW[15:0]) define bits 17 to 2 of the Transmit Packet Descriptor Reference Free Queue write pointer. This register is initialised by the host. The physical write address in the TDRF queue is the sum of TDRFQW/[15:0] left shifted by 2 bits with the TQB[31:0] bits in the TMAC Transmit Queue Base register. PROPRIETARY AND CONFIDENTIAL 208DATASHEET PMC-1990445 PV Cc PMC-Sierra, Inc. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x320 : TMAC Descriptor Reference Free Queue Read Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R/W TDRFQR[15] 0) Bit 14 R/W TDRFQR[14] 0 Bit 13 R/W TDRFQR[13] 0 Bit 12 R/W TDRFQR[12] 0) Bit 11 R/W TDRFQR[11] 0 Bit 10 R/W TDRFQR[10] 0 Bit 9 R/W TDRFQRIQ] 0 Bit 8 R/W TDRFQR{8] 0 Bit 7 R/W TDRFQRI[7] 0 Bit 6 R/W TDRFQR{[6] 0) Bit 5 R/W TDRFQR{5] 0 Bit 4 RW TDRFQRI4] 0 Bit 3 R/W TDRFQR[3] 0 Bit 2 R/W TDRFQR[2] 0 Bit 1 R/W TDRFQR([1] 0 Bit 0 R/W TDRFQR(O] 0 This register provides the Transmit Descriptor Reference Free Queue read address. Notes 1. This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. 2. If consecutive write accesses to this register are performed, they must be spaced at least 4 SYSCLK periods apart. PROPRIETARY AND CONFIDENTIAL 209i [\ fi \ PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 TDRFQRI15:0}: The transmit packet descriptor reference (TPDR) free queue read bits (TDRFQR[15:0]) define bits 17 to 2 of the Transmit Packet Descriptor Reference Free Queue read pointer. This register is initialised by the host. The physical read address in the TDRF queue is the sum of TDRFQR[15:0] left shifted by 2 bits with the TQB[31:0] bits in the TMAC Transmit Queue Base register. PROPRIETARY AND CONFIDENTIAL 210DATASHEET PMC-1990445 PM ce PMC-Sierra, Inc. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x324 : TMAC Descriptor Reference Free Queue End Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R/W TDRFQE[15] 0 Bit 14 R/W TDRFQE[14] 0 Bit 13 R/W TDRFQE[13] 0 Bit 12 R/W TDRFQE[12] 0 Bit 11 R/W TDRFQE[11] 0 Bit 10 R/W TDRFQE[10] 0 Bit 9 R/W TDRFQE[9] 0 Bit 8 R/W TDRFQE[8] 0 Bit 7 R/W TDRFQE[7] 0 Bit 6 R/W TDRFQE[6] 0 Bit 5 R/W TDRFQE[5] 0 Bit 4 R/W TDRFQE[4] 0 Bit 3 R/W TDRFQE[3] 0 Bit 2 R/W TDRFQE[2] 0 Bit 1 R/W TDRFQE[1] 0 Bit 0 R/W TDRFQE[0] 0 This register provides the Transmit Descriptor Reference Free Queue end address. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. PROPRIETARY AND CONFIDENTIAL 21i 2 Mi PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET a PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 TDRFQE[15:0]: The transmit packet descriptor reference (TDR) free queue end bits (TDRFQE[15:0]) define bits 17 to 2 of the Transmit Packet Descriptor Reference Free Queue end address. This register is initialised by the host. The physical end address of the TDRF queue is the sum of TDRFQE[15:0] left shifted by 2 bits with the TQB[31:0] bits in the TMAC Transmit Queue Base register. PROPRIETARY AND CONFIDENTIAL 212DATASHEET PMC-1990445 rv Ce PMC-Sierra, inc. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x328 :TMAC Descriptor Reference Ready Queue Start Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R/W TDRRQS[15] 0 Bit 14 R/W TDRRQS[14] 0 Bit 13 R/W TDRRQS[13] 0 Bit 12 R/W TDRRQS[12] 0 Bit 11 R/W TDRRQS[11] 0 Bit 10 R/W TDRRQS[10] 0 Bit 9 R/W TDRRQS[9] 0 Bit 8 R/W TDRRQS{[8] 0 Bit 7 R/W TDRRQS[7] 0 Bit 6 R/W TDRRQSJ[6] 0 Bit 5 R/W TDRRQSJ[5] 0 Bit 4 R/W TDRRQS[4] 0 Bit 3 R/W TDRRQS[3] 0 Bit 2 R/W TDRRQS[2] 0 Bit 1 R/W TDRRQS([1] 0 Bit 0 R/W TDRRQS(0] 0 This register provides the Transmit Descriptor Reference Ready Queue start address. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. PROPRIETARY AND CONFIDENTIAL 213r-i\ fi Ge PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 TORRQS/15:0]: The transmit packet descriptor reference (TDR) ready queue start bits (TDRRQS[15:0]) define bits 17 to 2 of the Transmit Packet Descriptor Reference Ready Queue start address. This register is initialised by the host. The physical start address of the TDRF queue is the sum of TDRRQS[15:0] left shifted by 2 bits with the TQB[31:0] bits in the TMAC Transmit Queue Base register. PROPRIETARY AND CONFIDENTIAL 214DATASHEET PMC-1990445 ISSUE 4 r [\ A PMC-Sierra, Inc. PM7384 FREEDM-84P672 a FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x32C : TMAC Descriptor Reference Ready Queue Write Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R/W TDRRQW[15] 0 Bit 14 R/W TDRRQW[14] 0 Bit 13 R/W TDRRQW([13] 0 Bit 12 R/W TDRRQW/([12] 0 Bit 11 R/W TDRRQW [11] 0 Bit 10 R/W TDRRQW/[10] 0 Bit 9 R/W TDRRQWIY] 0 Bit 8 R/W TDRRQWJ8] 0 Bit 7 R/W TDRRQWI7] 0 Bit 6 R/W TDRRQWJI6] 0 Bit 5 R/W TDRRQWJI5] 0 Bit 4 R/W TDRRQWI4] 0 Bit 3 R/W TDRRQWJ3] 0 Bit 2 R/W TDRRQW[2] 0 Bit 1 R/W TDRRQW[1] 0 Bit 0 R/W TDRRQW)[0] 0 This register provides the Transmit Descriptor Reference Ready Queue write address. Notes 1. This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEBJ[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. 2. If consecutive write accesses to this register are performed, they must be spaced at least 4 SYSCLK periods apart. PROPRIETARY AND CONFIDENTIAL 215r- I\ /\ PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET | PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 TDRRQWI[15:0]: The transmit packet descriptor reference (TPDR) ready queue write bits (TDRRQW[15:0]) define bits 17 to 2 of the Transmit Packet Descriptor Reference Ready Queue write pointer. This register is initialised by the host. The physical write address in the TDRF queue is the sum of TDRRQW[15:0] left shifted by 2 bits with the TQB[31:0] bits in the TMAC Transmit Queue Base register. PROPRIETARY AND CONFIDENTIAL 216DATASHEET PMC-1990445 PV c PMC-Sierra, Inc. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x330 : TMAC Descriptor Reference Ready Queue Read Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R/W TDRRQR[15] 0 Bit 14 R/W TDRRQR[14] 0 Bit 13 R/W TDRRQR[13] 0 Bit 12 R/W TDRRQR[12] 0 Bit 11 R/W TDRRQR[11] 0 Bit 10 R/W TDRRQR[10] 0 Bit 9 R/W TDRRQR{9] 0 Bit 8 R/W TDRRQR{8] 0 Bit 7 R/W TDRRQR{[7] 0 Bit 6 R/W TDRRQRJ6] 0 Bit 5 R/W TDRRQRI5] 0 Bit 4 R/W TDRRQRI4] 0 Bit 3 R/W TDRRQR[3] 0 Bit 2 R/W TDRRQR[2] 0 Bit 1 R/W TDRRQR[1] 0 Bit 0 R/W TDRRQR[O] 0 This register provides the Transmit Descriptor Reference Ready Queue read address. Notes 1. This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. 2. If consecutive write accesses to this register are performed, they must be spaced at least 4 SYSCLK periods apart. PROPRIETARY AND CONFIDENTIAL 217i > [\ fi PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 TDRRQRJ15:0}: The transmit packet descriptor reference (TPDR) ready queue read bits (TDRRQR[15:0]) define bits 17 to 2 of the Transmit Packet Descriptor Reference Ready Queue read pointer. This register is initialised by the host. The physical read address in the TDRF queue is the sum of TDRRQR[15:0] left shifted by 2 bits with the TQB[31:0] bits in the TMAC Transmit Queue Base register. PROPRIETARY AND CONFIDENTIAL 218DATASHEET PMC-1990445 i > [\ I c PMC-Sierra, Inc. PM7384 FREEDM-84P672 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x334 : TMAC Descriptor Reference Ready Queue End Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R/W TDRRQE[15] 0 Bit 14 R/W TDRRQE[14] 0 Bit 13 R/W TDRRQE[13] 0 Bit 12 R/W TDRRQE[12] 0 Bit 11 R/W TDRRQE[11] 0 Bit 10 R/W TDRRQE[10] 0 Bit 9 R/W TDRRQE[9] 0 Bit 8 R/W TDRRQE[8] 0 Bit 7 R/W TDRRQE[7] 0 Bit 6 R/W TDRRQE[6] 0 Bit 5 R/W TDRRQE[5] 0 Bit 4 R/W TDRRQE[4] 0 Bit 3 R/W TDRRQE[3] 0 Bit 2 R/W TDRRQE[2] 0 Bit 1 R/W TDRRQE[1] 0 Bit 0 R/W TDRRQE[0] 0 This register provides the Transmit Descriptor Reference Ready Queue end address. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. PROPRIETARY AND CONFIDENTIAL 219r- [\ /\ \ PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET a PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 TDRRQE[15:0]: The transmit packet descriptor reference (TDR) ready queue end bits (TDRRQE[15:0]) define bits 17 to 2 of the Transmit Packet Descriptor Reference Ready Queue end address. This register is initialised by the host. The physical end address of the TDRF queue is the sum of TDRRQE[15:0] left shifted by 2 bits with the TQB[31:0] bits in the TMAC Transmit Queue Base register. PROPRIETARY AND CONFIDENTIAL 220DATASHEET PMC-1990445 PIVIC sues ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x380 : THDL indirect Channel Select Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R BUSY x Bit 14 R/W CRWB 0 Bit 13 Unused XH to Bit 10 Bit 9 R/W CHAN{[9] 0 Bit 8 R/W CHAN[8] 0 Bit 7 R/W CHAN[7] 0 Bit 6 R/W CHANJ[6] 0 Bit 5 R/W CHAN[5] 0 Bit 4 R/W CHAN[4] 0 Bit 3 R/W CHAN[3] 0 Bit 2 R/W CHAN[2] 0 Bit 1 R/W CHAN([1] 0 Bit 0 R/W CHAN/[0} 0 This register provides the channel number used to access the transmit channel provision RAM. Writing to this register triggers an indirect channel register access. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. CHANJ9:0}: The indirect channel number bits (CHAN[9:0]) indicate the channel to be configured or interrogated in the indirect access. PROPRIETARY AND CONFIDENTIAL 221i oS [\ fi q PMC-Sierra, inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 CRWB: The channel indirect access control bit (CRWB) selects between a configure (write) or interrogate (read) access to the channel provision RAM. Writing a logic zero to CRWB triggers an indirect write operation. Data to be written is taken from the Indirect Channel Data registers. Writing a logic one to CRWB triggers an indirect read operation. The data read can be found in the Indirect Channel! Data registers. BUSY: The indirect access status bit (BUSY) reports the progress of an indirect access. BUSY is set high when this register is written to trigger an indirect access, and will stay high until the access is complete. At which point, BUSY will be set low. This register should be polled to determine when data from an indirect read operation is available in the THDL Indirect Channel Data #1, #2 and #3 registers or to determine when a new indirect write operation may commence. PROPRIETARY AND CONFIDENTIAL 222DATASHEET PMC-1990445 rl C PMC-Sierra, Inc. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x384 : THDL Indirect Channel Data #1 Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R/W PROV 0 Bit 14 R/IW CRC[1] 0 Bit 13 R/W CRC[0] 0 Bit 12 R/W DELIN 0 Bit 11 WwW Reserved x Bit 10 WwW FPTR[10] 0 Bit 9 W FPTR[9] 0 Bit 8 WwW FPTR[8] 0 Bit 7 WwW FPTR[7] 0 Bit 6 WwW FPTR[6] 0 Bit 5 WwW FPTR[5] 0 Bit 4 WwW FPTR{[4] 0 Bit 3 WwW FPTR[3] 0 Bit 2 WwW FPTR[2]} 0 Bit 1 WwW FPTR[1] 0 Bit 0 WwW FPTR[O} 0 This register contains data read from the channel provision RAM after an indirect channel read operation or data to be inserted into the channel provision RAM in an indirect channel write operation. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. PROPRIETARY AND CONFIDENTIAL 223r>i\ fi c* PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 FPTR[10:0]: The indirect FIFO block pointer (FPTR[10:0]) informs the partial packet buffer processor the circular linked list of blocks to use for a FIFO for the channel. The FIFO pointer to be written to the channel provision RAM, in an indirect write operation, must be set up in this register before triggering the write. The FIFO pointer value can be any one of the block numbers provisioned, by indirect block write operations, to form the circular buffer. Reserved: The reserved bit must be set low for correct operation of the FREEDM- 84P672 device. DELIN: The indirect delineate enable bit (DELIN) configures the HDLC processor to perform flag sequence insertion and bit stuffing on the outgoing data stream. The delineate enable bit to be written to the channel provision RAM, in an indirect channel write operation, must be set up in this register before triggering the write. When DELIN is set high, flag sequence insertion, bit stuffing and ,optionally, CRC generation is performed on the outgoing HDLC data stream. When DELIN is set low, the HDLC processor does not perform any processing (flag sequence insertion, bit stuffing nor CRC generation) on the outgoing stream. DELIN reflects the value written until the completion of a subsequent indirect channel read operation. CRCJ1:0}: The CRC algorithm (CRC[1:0]) configures the HDLC processor to perform CRC generation on the outgoing HDLC data stream. The value of CRC[1:0] to be written to the channel provision RAM, in an indirect channel write operation, must be set up in this register before triggering the write. CRC[1:0] is ignored when DELIN is low. CRC[1:0] reflects the value written until the completion of a subsequent indirect channel read operation. Table 32 CRC[1:0] Settings CRC[1] CRC[0] Operation 0 0 No CRC 0 1 CRC-CCITT 1 0 CRC-32 1 1 Reserved PROPRIETARY AND CONFIDENTIAL 224r? [\ fi c PMC-Sierra, Inc. PM7384 FREEDM-84P672 ee PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 DATASHEET PROV: The indirect provision enable bit (PROV) reports the channel provision enable flag read from the channel provision RAM after an indirect channel read operation has completed. The provision enable flag to be written to the channel provision RAM, in an indirect write operation, must be set up in this register before triggering the write. When PROV is set high, the HDLC processor will service requests for data from the TCAS672 block. When PROV is set low, the HDLC processor will ignore requests from the TCAS672 block. PROV reflects the value written until the completion of a subsequent indirect channel read operation. PROPRIETARY AND CONFIDENTIAL 225DATASHEET PMC-1990445 PV Cc PMC-Sierra, Inc. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x388 : THDL Indirect Channel Data #2 Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R/W 7BIT 0 Bit 14 R/W PRIORITYB 0 Bit 13 R/W INVERT 0 Bit 12 R/W DFCS 0 Bit 11 W Reserved 0 Bit 10 WwW FLEN[10] 0 Bit 9 WwW FLEN[9] 0 Bit 8 WwW FLEN([8} 0 Bit 7 WwW FLEN{7]} 0 Bit 6 WwW FLEN(6] 0 Bit 5 WwW FLEN[5] 0 Bit 4 WwW FLEN[4] 0 Bit 3 W FLEN[3] 0 Bit 2 WwW FLEN[2] 0 Bit 1 WwW FLEN[1] 0 Bit O WwW FLEN{O0} 0 This register contains data to be inserted into the channel provision RAM in an indirect write operation. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. PROPRIETARY AND CONFIDENTIAL 226r- [\ fi Y PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET | PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 FLEN[10:01: The indirect FIFO length (FLEN[10:0]) is the number of blocks, less one, that is provisioned to the circular channel FIFO specified by the FPTR[10:0] block pointer. The FIFO length to be written to the channel provision RAM, in an indirect channel write operation, must be set up in this register before triggering the write. Reserved: The reserved bit must be set low for correct operation of the FREEDM- 84P672 device. DFCS: The diagnose frame check sequence bit (DFCS) controls the inversion of the FCS field inserted into the transmit packet. The value of DFCS to be written to the channel provision RAM, in an indirect channel write operation, must be set up in this register before triggering the write. When DFCS is set to one, the FCS field in the outgoing HDLC stream is logically inverted allowing diagnosis of downstream FCS verification logic. The outgoing FCS field is not inverted when DFCS is set to zero. DFCS reflects the value written until the completion of a subsequent indirect channel read operation. INVERT: The HDLC data inversion bit (INVERT) configures the HDLC processor to logically invert the outgoing HDLC stream. The value of INVERT to be written to the channel provision RAM, in an indirect channel write operation, must be set up in this register before triggering the write. When INVERT is set to one, the outgoing HDLC stream is logically inverted. The outgoing HDLC stream is not inverted when INVERT is set to zero. INVERT reflects the value written until the completion of a subsequent indirect channel read operation. PRIORITYB: The active low channel FIFO starving enable bit (PRIORITYB) informs the partial packet processor of the priority of the channel relative to other channels when requesting data from the DMA port. The value of PRIORITYB to be written to the channel provision RAM, in an indirect channel write operation, must be set up in this register before triggering the write. Channel FIFOs with PRIORITYEB set to one are inhibited from making expedited requests for data to the TMAC672. When PRIORITYB is set to zero, both normal and expedited requests can be made to the TMAC672. Channels with HDLC data rate to FIFO size ratio that is significantly lower than other channels should have PRIORITYB set to one. PRIORITYB reflects the value written until the completion of a subsequent indirect channel read operation. PROPRIETARY AND CONFIDENTIAL 227r- [\ f | Y PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET TO )] PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 TBIT: The least significant stuff enable bit (7BIT) configures the HDLC processor to stuff the least significant bit of each octet in the outgoing channel stream. The value of 7BIT to be written to the channel provision RAM, in an indirect channel write operation, must be set up in this register before triggering the write. When 7BIT is set high, the least significant bit (last bit of each octet transmitted) does not contain channel data and is forced to the value configured by the BIT8 register bit. When 7BIT is set low, the entire octet contains valid data and BIT8 is ignored. 7BIT reflects the value written until the completion of a subsequent indirect channel read operation. PROPRIETARY AND CONFIDENTIAL 228DATASHEET PMC-1990445 PMC PMC-Sierra, Inc. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x38C : THDL Indirect Channel Data #3 Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R/W TRANS 0 Bit 14 R/W IDLE 0 Bit 13 Unused X Bit 12 Unused X Bit 11 R/W LEVEL[3] 0 Bit 10 R/W LEVEL[2] 0 Bit 9 R/W LEVEL[1] 0 Bit 8 R/W LEVEL[0] 0 Bit 7 R/W FLAG[2] 0 Bit 6 R/W FLAG[1]} 0 Bit 5 R/W FLAG[0] 0 Bit 4 Unused x Bit 3 R/W XFER[3] 0 Bit 2 R/W XFER[2] 0 Bit 1 R/W XFER[1] 0 Bit 0 R/W XFER[O] 0 This register contains data read from the channel provision RAM after an indirect read operation or data to be inserted into the channel provision RAM in an indirect write operation. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. PROPRIETARY AND CONFIDENTIAL 229r> [\ A Y PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET Caen eeeeeee eee ee PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 XFERJ3:01: The indirect channel transfer size (XFER[3:0]) specifies the amount of data the partial packet processor requests from the TMAC672 block. The channel transfer size to be written to the channel provision RAM, in an indirect write operation, must be set up in this register before triggering the write. When the channel FIFO free space reaches or exceeds the limit specified by XFER[3:0], the partial packet processor will make a request for data to the TMAC672 to retrieve the XFER[3:0] + 1 blocks of data. FIFO free space and transfer size are measured in the number of 16-byte blocks. XFER[3:0] reflects the value written until the completion of a subsequent indirect channel read operation. To prevent lockup, the channel transfer size (XFER[3:0]) can be configured to be less than or equal to the start transmission level set by LEVEL[3:0] and TRANS. Alternatively, the channel transfer size can be set, such that, the total number of blocks in the logical channel FIFO minus the start transmission level is an integer multiple of the channel transfer size. The case of a single block transfer size is a special. When BURSTEN is set high and XFER[3:0] = 'bOO0O0, the transfer size is variable. The THDL672 will request the TMAC672 to transfer as much data as there is free space in the FIFO, up to a maximum set by BURST[3:0]. FLAG[2:0]: The flag insertion control (FLAG[2:0]) configures the minimum number of flags or bytes of idle bits the HDLC processor inserts between HDLC packets. The value of FLAG[2:0] to be written to the channel provision RAM, in an indirect channel write operation, must be set up in this register before triggering the write. The minimum number of flags or bytes of idle (8 bits of 1's) inserted between HDLC packets is shown in the table below. FLAG[2:0] reflects the value written until the completion of a subsequent indirect channel read operation. Table 33 FLAG[2:0] Settings FLAG[2:0] | Minimum Number of Flag/idie Bytes 000 1 flag / 0 Idle byte 001 2 flags / 0 idle byte 010 4 flags / 2 idle bytes 011 8 flags / 6 idle bytes 100 _ 16 flags / 14 idle bytes PROPRIETARY AND CONFIDENTIAL 230r? [\ /\ Gs PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 FLAG[2:0] | Minimum Number of Flag/Idle Bytes 101 32 flags / 30 idle bytes 110 64 flags / 62 idle bytes 1114 128 flags / 126 idle bytes LEVEL[3:0]: The indirect channel FIFO trigger level (LEVEL[3:0]), in concert with the TRANS bit, configure the various channel FIFO free space levels which trigger the HDLC processor to start transmission of a HDLC packet as well as trigger the partial packet buffer to make DMA request for data as shown in the following table. The channel FIFO trigger level to be written to the channel provision RAM, in an indirect write operation, must be set up in this register before triggering the write. LEVEL[3:0] reflects the value written until the completion of a subsequent indirect channel read operation. The HDLC processor starts transmitting a packet when the channel FIFO free space is less than or equal to the level specified in the appropriate Start Transmission Level column of the following table or when an end of a packet is stored in the channel FIFO. When the channel FIFO free space is greater than or equal to the level specified in the Starving Trigger Level column of the following table and the HDLC processor is transmitting a packet and an end of a packet is not stored in the channel FIFO, the partial packet buffer makes expedite requests to the TMAC672 to retrieve XFER[3:0] + 1 blocks of data. To prevent lockup, the channel transfer size (XFER[3:0]) can be configured to be less than or equal to the start transmission level set by LEVEL[3:0] and TRANS. Alternatively, the channel transfer size can be set such that the total number of blocks in the logical channel FIFO, minus the start transmission level, is an integer multiple of the channel transfer size. The starving trigger level must always be set to a number of blocks greater than or equal to the channel transfer size. IDLE: The interframe time fill bit (IDLE) configures the HDLC processor to use flag bytes or HDLC idle as the interframe time fill between HDLC packets. The value of IDLE to be written to the channel provision RAM, in an indirect channel write operation, must be set up in this register before triggering the write. When IDLE is set low, the HDLC processor uses flag bytes as the interframe time fill. When IDLE is set high, the HDLC processor uses HDLC idle (all one's bit with no bit-stuffing pattern is transmitted) as the interframe time fill. IDLE reflects the value written until the completion of a subsequent indirect channel read operation. PROPRIETARY AND CONFIDENTIAL 231DATASHEET PMC-1990445 r- [\ fl c PMC-Sierra, Inc. PM7384 FREEDM-84P672 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 TRANS: The indirect transmission start bit (TRANS), in concert with the LEVEL[3:0] bits, configure the various channel FIFO free space levels which trigger the HDLC processor to start transmission of a HDLC packet as well as trigger the partial packet buffer to make DMA request for data as shown in the following table. The transmission start mode to be written to the channel provision RAM, in an indirect write operation, must be set up in this register before triggering the write. TRANS reflects the value written until the completion of a subsequent indirect channel read operation. The HDLC processor starts transmitting a packet when the channel FIFO free space is less than or equal to the level specified in the appropriate Start Transmission Level column of the following table or when an end of a packet is stored in the channel FIFO. When the channel FIFO free space is greater than or equal to the level specified in the Starving Trigger Level column of the following table and the HDLC processor is transmitting a packet and an end of a packet is not stored in the channel FIFO, the partial packet buffer makes expedite requests to the TMAC672 to retrieve XFER[3:0] + 1 blocks of data. To prevent lockup, the channel transfer size (XFER[3:0]) can be configured to be less than or equal to the start transmission level set by LEVEL[3:0] and TRANS. Alternatively, the channel transfer size can be set, such that, the total number of blocks in the logical channel FIFO minus the start transmission level is an integer multiple of the channel transfer size. The starving trigger level must always be set to a number of blocks greater than or equal to the channel transfer size. Table 34 Level[3:0]/TRANS Settings LEVEL[3:0] Starving Start Start Transmission Trigger Level Transmission Level (TRANS=1) Level (TRANS=0) 0000 2 Blocks 1 Block 1 Block (32 bytes free) (16 bytes free) (16 bytes free) 0001 3 Blocks 2 Blocks 1 Block (48 bytes free) (32 bytes free) (16 bytes free) 0010 4 Blocks 3 Blocks 2 Blocks (64 bytes free) (48 bytes free) (32 bytes free) 0011 6 Blocks 4 Blocks 3 Blocks (96 bytes free) (64 bytes free) (48 bytes free) 0100 8 Blocks 6 Blocks 4 Blocks (128 bytes free) (96 bytes free) (64 bytes free) PROPRIETARY AND CONFIDENTIAL 232PM Cc PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 LEVEL[3:0] Starving Start Start Transmission Trigger Level Transmission Level (TRANS=1) Level (TRANS=0) 0101 12 Blocks 8 Blocks 6 Blocks (192 bytes free) (128 bytes free) (96 bytes free) 0110 16 Blocks 12 Blocks 8 Blocks (256 bytes free) (192 bytes free) (128 bytes free) 0111 24 Blocks 16 Blocks 12 Blocks (384 bytes free) (256 bytes free) (192 bytes free) 1000 32 Blocks 24 Blocks 16 Blocks (512 bytes free) (384 bytes free) (256 bytes free) 1001 48 Blocks 32 Blocks 24 Blocks (768 bytes free) (512 bytes free) (384 bytes free) 1010 64 Blocks 48 Blocks 32 Blocks (1 Kbytes free) (768 bytes free) (512 bytes free) 1011 96 Blocks 64 Blocks 48 Blocks (1.5 Kbytes free) (1 Kbytes free) (768 bytes free) 1100 192 Blocks 128 Blocks 96 Blocks (3 Kbytes free) (2 Kbytes free) (1.5 Kbytes free) 1101 384 Blocks 256 Blocks 192 Blocks (6 Kbytes free) (4 Kbytes free) (2 Kbytes free) 1110 768 Blocks 512 Blocks 384 Blocks (12 Kbytes free) (8 Kbytes free) (4 Kbytes free) 1111 1536 Blocks 1024 Blocks 768 Blocks (24 Kbytes free) (16 Kbytes free) (8 Kbytes free) PROPRIETARY AND CONFIDENTIAL 233DATASHEET PMC-1990445 rlVi Cc PMC-Sierra, inc. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER &4P672 Register 0x3A0 : THDL Indirect Block Select Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R BUSY X Bit 14 R/W BRWB 0 Bit 13 Unused XH to Bit 12 Bit 11 R/W Reserved X Bit 10 R/W BLOCK[10] 0 Bit 9 R/W BLOCK[9] 0 Bit 8 R/W BLOCK[8] 0 Bit 7 R/W BLOCK[7] 0 Bit 6 R/W BLOCK[6] 0 Bit 5 R/W BLOCK[5] 0 Bit 4 R/W BLOCK[4] 0 Bit 3 R/W BLOCK[3] 0 Bit 2 R/W BLOCK[2] 0 Bit 1 R/W BLOCK[1] 0 Bit 0 R/W BLOCK[0] 0 This register provides the block number used to access the block pointer RAM. Writing to this register triggers an indirect block register access. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. PROPRIETARY AND CONFIDENTIAL 234ri I PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 BLOCK{10:0]: The indirect block number (BLOCK[10:0]) indicate the block to be configured or interrogated in the indirect access. Reserved: The reserved bit must be set low for correct operation of the FREEDM- 84P672 device. BRWB: The block indirect access control bit (BRWB) selects between a configure (write) or interrogate (read) access to the block pointer RAM. Writing a logic zero to BRWB triggers an indirect block write operation. Data to be written is taken from the Indirect Block Data register. Writing a logic one to BRWB triggers an indirect block read operation. The data read can be found in the Indirect Block Data register. BUSY: The indirect access status bit (BUSY) reports the progress of an indirect access. BUSY is set high when this register is written to trigger an indirect access, and will stay high until the access is complete. At which point, BUSY will be set low. This register should be polled to determine when data from an indirect read operation is available in the THDL Indirect Block Data register or to determine when a new indirect write operation may commence. PROPRIETARY AND CONFIDENTIAL 235DATASHEET PMC-1990445 revi C PMC-Sierra, Inc. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x3A4 : THDL Indirect Block Data Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R/W Reserved 0 Bit 14 Unused XH to Bit 12 Bit 11 R/W Reserved X Bit 10 R/W BPTRI[10] 0 Bit 9 R/W BPTR[9] 0 Bit 8 R/W BPTR[8] 0) Bit 7 R/W BPTR[7] 0 Bit 6 R/W BPTR[6] 0 Bit 5 R/W BPTR[5] 0 Bit 4 R/W BPTR[4] 0 Bit 3 R/W BPTR[3] 0 Bit 2 R/W BPTR[2] 0 Bit 1 R/W BPTR[1] 0 Bit 0 R/W BPTR[O] 0 This register contains data read from the transmit block pointer RAM after an indirect block read operation or data to be inserted into the transmit block pointer RAM in an indirect block write operation. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. PROPRIETARY AND CONFIDENTIAL 236rf\ fi PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 BPTR/10:0): The indirect block pointer (BPTR[10:0]) configures the block pointer of the block specified by the Indirect Block Select register. The block pointer to be written to the transmit block pointer RAM, in an indirect write operation, must be set up in this register before triggering the write. The block pointer value is the block number of the next block in the linked list. A circular list of blocks must be formed in order to use the block list as a channel FIFO buffer. FPTR[10:0] reflects the value written until the completion of a subsequent indirect block read operation. When provisioning a channel FIFO, all blocks pointers must be re-written to properly initialize the FIFO. Reserved: The reserved bits must be set low for correct operation of the FREEDM- 84P672 device. PROPRIETARY AND CONFIDENTIAL 237DATASHEET PMC-1990445 r? McC PMC-Sierra, Inc. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x3B0 : THDL Configuration Bit Type Function Default Bit 31 Unused XXXXXXH to Bit 10 Bit 9 RAW BIT8 0 Bit 8 R/W TSTD 0 Bit 7 R/W BURSTEN 0 Bit 6 Unused Xx Bit 5 Unused Xx Bit 4 Unused Xx Bit 3 R/W BURST{[3] 0 Bit 2 R/W BURST[2] 0 Bit 1 R/W BURST[1]} 0 Bit 0 R/W BURST[0] 0 This register configures all provisioned channels. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. BURST[3:0]: The DMA burst length bits (BURST[3:0]) configure the maximum amount of transmit data that can be requested in a single DMA transaction for channels whose channel transfer size is set to one block (XFER[3:0] = 'b0000). BURST[3:0] has no effect when BURSTEN is set low, nor on channels configured with other transfer sizes. BURST[3:0] defines the maximum number of 16 byte blocks, less one, that is transferred in each DMA transaction. Thus, the minimum number of blocks is one (16 bytes) and the maximum is sixteen (256 bytes). PROPRIETARY AND CONFIDENTIAL 238r- [\ v/ Y PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET a PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 BURSTEN: The burst length enable bit (BURSTEN) controls the use of BURST[3:0] in determining the amount of data requested in a single DMA transaction for channels whose channel transfer size is set to one block (XFER[3:0] = p0000). BURSTEN has no effect on channels configured with other transfer sizes. When BURSTEN is set high, the maximum size of DMA transfer is limited by BURST[3:0]. The transmit HDLC processor may combine several channel transfer size amounts into a single transaction. When BURSTEN is set low, the amount of data in a DMA transfer is limited to one block. TSTD: The telecom standard bit (TSTD) controls the bit ordering of the HDLC data transferred from the PCI host. When TSTD is set low, the least significant bit of the each byte on the PCI bus (AD[0], AD[8], AD[16] and AD[24)) is the first HDLC bit transmitted and the most significant bit of each byte (AD[7], AD[15], AD[23] and AD[31]}) is the last HDLC bit transmitted (datacom standard). When TSTD is set high, AD[0], AD[8], AD[16] and AD[24] are the last HDLC bit transmitted and AD[7], AD[15], AD[23] and AD[31] are the first HDLC bit transmitted (telecom standard). BITS: The least significant stuff control bit (BIT8) carries the value placed in the least significant bit of each octet when the HDLC processor is configured (7BIT set high) to stuff the least significant bit of each octet in the corresponding transmit link (TD[n]). When BIT8 is set high, the least significant bit (last bit of each octet transmitted) is forced high. When BITS8 is set low, the least significant bit is forced low. BIT8 is ignored when 7BIT is set low. PROPRIETARY AND CONFIDENTIAL 239DATASHEET PMC-1990445 PV C PMC-Sierra, Inc. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x400 : TCAS Indirect Link and Time-slot Select Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R BUSY x Bit 14 R/W RWB 0 Bit 13 Unused Xx Bit 12 R/W LINK[6] 0 Bit 11 R/W LINK[5] 0 Bit 10 R/W LINK[4] 0 Bit 9 R/W LINK[3] 0 Bit 8 R/IW LINK[2] 0 Bit 7 R/W LINK[1] 0 Bit 6 R/W LINK[0] 0 Bit 5 Unused X Bit 4 R/W TSLOT[4] 0 Bit 3 R/AW TSLOT{[3] 0 Bit 2 R/W TSLOT[2] 0 Bit 1 R/IW TSLOT[1] 0 Bit 0 R/W TSLOT[0] 0 This register provides the link number and time-slot number used to access the transmit channel provision RAM. Writing to this register triggers an indirect register access and transfers the contents of the Indirect Channel Data register to an internal holding register. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. PROPRIETARY AND CONFIDENTIAL 240r- [\ A c PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 TSLOT[4:0]: The indirect time-slot number bits (TSLOT[4:0]) indicate the time-slot to be configured or interrogated in the indirect access. For a channelised T1/J1 link, time-slots 1 to 24 are valid. For a channelised E1 link, time-slots 1 to 31 are valid. For unchannelised or unframed links, only time-slot 0 is valid. LINK[6:0]: The indirect link number bits (LINK[6:0]) select amongst the 84 transmit links to be configured or interrogated in the indirect access. RWB: The indirect access control bit (RWB) selects between a configure (write) or interrogate (read) access to the transmit channel provision RAM. The address to the transmit channel provision RAM is constructed by concatenating the TSLOT[4:0] and LINK[4:0] bits. Writing a logic zero to RWB triggers an indirect write operation. Data to be written is taken from the PROV and the CHAN{[9:0] bits of the Indirect Data register. Writing a logic one to RWB triggers an indirect read operation. Addressing of the RAM is the same as in an indirect write operation. The data read can be found in the PROV and the CHAN[9:0] bits of the Indirect Channel Data register. BUSY: The indirect access status bit (BUSY) reports the progress of an indirect access. BUSY is set high when this register is written to trigger an indirect access, and will stay high until the access is complete. At which point, BUSY will be set low. This register should be polled to determine when data from an indirect read operation is available in the TCAS Indirect Channel Data register or to determine when a new indirect write operation may commence. PROPRIETARY AND CONFIDENTIAL 241DATASHEET PMC-1990445 r? iV Cc PMC-Sierra, Inc. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x404 : TCAS Indirect Channel Data Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R/W PROV 0 Bit 14 Unused XXH to Bit 10 Bit 9 R/W CHAN[9] 0 Bit 8 R/W CHAN[8] 0 Bit 7 R/W CHAN[7] 0 Bit 6 R/W CHAN[6] 0 Bit 5 R/W CHAN[5] 0 Bit 4 R/W CHAN/4] 0 Bit 3 R/W CHAN[3] 0 Bit 2 R/W CHAN[2] 0 Bit 4 R/W CHAN|1] 0 Bit O R/W CHAN[(O] 0 This register contains the data read from the transmit channel provision RAM after an indirect read operation or the data to be inserted into the transmit channel provision RAM in an indirect write operation. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. CHANJ9:0]: The indirect data bits (CHAN[9:0]) report the channel number read from the transmit channel provision RAM after an indirect read operation has completed. Channel number to be written to the transmit channel provision RAM in an indirect write operation must be set up in this register before PROPRIETARY AND CONFIDENTIAL 242r > [\ A c PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 triggering the write. CHAN[9:0] reflects the value written until the completion of a subsequent indirect read operation. PROV: The indirect provision enable bit (PROV) reports the channel provision enable flag read from transmit channel provision RAM after an indirect read operation has completed. The provision enable flag to be written to the transmit channel provision RAM in an indirect write operation must be set up in this register before triggering the write. When PROV is set high, the current time-slot is assigned to the channel as indicated by CHAN[9:0]. When PROV is set low, the time-slot does not belong to any channel. The transmit link data is set to the contents of the Idle Time-slot Fill Data register. PROV reflects the value written until the completion of a subsequent indirect read operation. PROPRIETARY AND CONFIDENTIAL 243DATASHEET PMC-1990445 r-ivi Cc PMC-Sierra, Inc. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x40C : TCAS Idle Time-slot Fill Data Bit Type Function Default Bit 31 Unused XXXXXXH to Bit 8 Bit 7 R/W FDATA7] 1 Bit 6 R/W FDATA[6] 1 Bit 5 R/W FDATAI[5] 1 Bit 4 R/W FDATA[4] 1 Bit 3 R/W FDATA[3] 1 Bit 2 R/W FDATA[2] 1 Bit 1 R/W FDATA[1] 1 Bit 0 R/W FDATA[QO} 1 This register contains the data to be written to disabled time-slots of a channelised link. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. FDATAI?:0]: The fill data bits (FDATA[7:0]) are transmitted during disabled (PROV set low) time-slots of channelised links. PROPRIETARY AND CONFIDENTIAL 244DATASHEET PMC-1990445 PMC w= ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x410 : TCAS Channel Disable Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R/W CHDIS 0 Bit 14 Unused XXH to Bit 10 Bit 9 R/W DCHAN{9] 0 Bit 8 R/V DCHAN[8} 0 Bit 7 R/W DCHAN[7] 8) Bit 6 R/W DCHAN[6] 0 Bit 5 R/W DCHAN[5] 0 Bit 4 R/W DCHAN/4] 0 Bit 3 R/W DCHAN{[3} 0 Bit 2 R/W DCHAN[2] 0 Bit 1 R/W DCHAN[1] 0 Bit 0 R/W DCHAN[0} 0 This register controls the disabling of one specific channel to allow orderly provisioning of time-siots. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. DCHANJ9:0): The disable channel number bits (DCHAN[9:0]) selects the channel to be disabled. When CHDIS is set high, the channel specified by DCHAN{[9:0] is disabled. Data in time-slots associated with the specified channel is set to FDATA|7:0] in the Idle Time-siot Fill Data register. When CHDIS is set low, the channel specified by DCHAN[9:0] operates normally. PROPRIETARY AND CONFIDENTIAL 245r-f\ /| PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET ee PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 CHDIS: The channel disable bit (CHDIS) controls the disabling of the channels specified by DCHAN[9:0]. When CHDIS is set high, the channel selected by DCHANI9:0] is disabled. Data in time-slots associated with the specified channel is set to FDATA[7:0] in the Idle Time-slot Fill Data register. When CHDIS is set low, the channel specified by DCHAN[9:0] operates normally. PROPRIETARY AND CONFIDENTIAL 246DATASHEET PMC-1990445 i Mc PMC-Sierra, Inc. PM7384 FREEDM-84P672 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x440 : TCAS SBI SPE1 Configuration Register #1 Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R/W FEN[11] 0 Bit 14 R/W FEN[10] 0 Bit 13 R/W FEN[9} 0 Bit 12 R/W FEN{[8]} 0 Bit 11 R/W FEN{7] 0 Bit 10 R/W FEN[6] 0 Bit 9 R/W FEN[5] 0 Bit 8 R/W FEN[4] 0 Bit 7 R/W FEN[3] 0 Bit 6 R/W FEN[2] 0 Bit 5 R/W FEN[1] 0 Bit 4 R/W FEN[O} 0 Bit 3 Unused X Bit 2 R/W SBI_MODE[2] 0 Bit 1 R/W SBI_MODE[1] 0 Bit 0 R/W SBI_MODE[0] 0 This register configures the operational mode of transmit links 0, 3, 6, 9, ... 33, 36, 39, ...81, i.e. those links mapped to SPE 1 of the SBI ADD BUS. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. PROPRIETARY AND CONFIDENTIAL 247r> [\ fi PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET eT PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 SBI_MODE[2:0]: The SBI mode select bits (SBI_LMODE[2:0]) configure the transmit links of SPE1, as shown in the following table: Table 35 - SBI Mode SPE1 Configuration SBI_MODE [2:0] | SPE1 Configuration 000 Single unchannelised DS-3 on link 0 001 28 T1/J1 links 010 21 E1 links (links 63, 66, 69, ... , 81 are unused) 011 Reserved 100 Reserved 101 Reserved 110 Reserved 111 Reserved FEN[11:0] Each FEN bit, FEN(n], configures link 3n for framed operation. In unframed operation (FEN[n] = 0), HDLC data is transmitted in all framing bit locations. In framed mode (FEN[n] = 1), the framing bit locations are unused. PROPRIETARY AND CONFIDENTIAL 248DATASHEET PMC-1990445 r- VM cc" PMC-Sierra, Inc. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x444 : TCAS SBI SPE1 Configuration Register #2 Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R/W FEN[27] 0 Bit 14 R/W FEN[26] 0 Bit 13 R/W FEN[25] 0 Bit 12 R/W FEN[24] 0 Bit 11 R/W FEN[23] 0 Bit 10 R/W FEN[22] 0 Bit 9 R/W FEN[21] 0 Bit 8 R/W FEN[20] 0 Bit 7 R/W FEN[19] 0 Bit 6 R/W FEN[18] 0 Bit 5 R/W FEN[17] 0 Bit 4 R/W FEN[16] 0 Bit 3 R/W FEN[15] 0 Bit 2 R/W FEN[14] 0 Bit 1 R/W FEN[13] 0 Bit 0 R/W FEN[12] 0 The bits of this register set are used to configure the framing modes of transmit links 36, 39, 42 ... 81. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. PROPRIETARY AND CONFIDENTIAL 249r [\ v/ co PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 FEN[27:12]: Each FEN bit, FEN[n], configures link 3n for framed operation. In unframed operation (FEN[n] = 0), HDLC data is transmitted in all framing bit locations. In framed mode (FEN[n] = 1), the framing bit locations are unused. PROPRIETARY AND CONFIDENTIAL 250DATASHEET PMC-1990445 ISSUE 4 ri /\ PMC-Sierra, Inc. PM7384 FREEDM-84P672 ee FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x448 : TCAS SBI SPE2 Configuration Register #1 Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R/W FEN[11]} 0 Bit 14 R/W FEN[10] 0 Bit 13 R/W FEN[{9] 0 Bit 12 R/W FEN[8] 0 Bit 11 R/W FEN[7] 0 Bit 10 R/W FEN[6] 0 Bit 9 R/W FEN[5] 0 Bit 8 R/W FEN[4] 0 Bit 7 R/W FEN[3] 0 Bit 6 R/W FEN[2] 0 Bit 5 R/W FEN[1] 0 Bit 4 R/W FEN[O] 0 Bit 3 Unused Xx Bit 2 R/W SBI_MODE[2] 0 Bit 1 R/W SBI_MODE[1] 0 Bit 0 R/W SBI_MODE[0] 0 This register configures the operational mode of transmit links 1, 4, 7, 10, ... 34, 37, ...82, i.e. those links mapped to SPE 2 of the SBI ADD BUS. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. PROPRIETARY AND CONFIDENTIAL 251ri i PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET | PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 SBI_MODE[2:0]: The SBI mode select bits (SBI_MODE[2:0]) configure the transmit links of SPE2, as shown in the following table: Table 36 SBI Mode SPE2 Configuration SBI_MODE [2:0] | SPE2 Configuration 000 Single unchannelised DS-3 on link 1 001 28 T1/J1 links 010 21 E1 links (links 64, 67, 70, ... , 82 are unused) 011 Reserved 100 Reserved 101 Reserved 110 Reserved 111 Reserved FEN[11:0] Each FEN bit, FEN[n], configures link 3n+1 for framed operation. In unframed operation (FEN[n] = 0), HDLC data is transmitted in all framing bit locations. In framed mode (FEN[n] = 1), the framing bit locations are unused. PROPRIETARY AND CONFIDENTIAL 252DATASHEET PMC-1990445 r-i\ AC PMC-Sierra, Inc. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x44C : TCAS SBI SPE2 Configuration Register #2 Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R/W FEN[27] 0 Bit 14 R/W FEN(26] 0 Bit 13 R/W FEN[25] 0) Bit 12 R/W FEN[24] 0 Bit 11 R/W FEN([23] 0 Bit 10 R/W FEN[22] 0 Bit 9 R/W FEN[21] 0 Bit 8 R/W FEN[20] 0 Bit 7 R/W FEN[19] 0 Bit 6 R/W FEN[18] 0 Bit 5 R/W FEN[17] 0 Bit 4 R/W FEN[16] 0 Bit 3 R/W FEN[15] 0 Bit 2 R/W FEN[14] 0 Bit 1 R/W FEN[13] 0 Bit O R/W FEN[12] 0 The bits of this register set are used to configure the framing modes of transmit links 37, 40, 43 ... 82. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. PROPRIETARY AND CONFIDENTIAL 253r-i\ fi PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 FEN[27:12]: Each FEN bit, FEN[n], configures link 3n+1 for framed operation. In unframed operation (FEN[n] = 0), HDLC data is transmitted in all framing bit locations. In framed mode (FEN{n] = 1), the framing bit locations are unused. PROPRIETARY AND CONFIDENTIAL 254DATASHEET PMC-1990445 ISSUE 4 r- [\ fl ae PMC-Sierra, Inc. PM7384 FREEDM-84P672 a FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x450 : TCAS SBI SPE3 Configuration Register #1 Bit Type Function Default Bit 31 Unused XXXXKH to Bit 16 Bit 15 R/W FEN[11] 0 Bit 14 R/W FEN[10] 0 Bit 13 R/W FEN[9] 0 Bit 12 R/W FEN[8] 0 Bit 11 R/W FEN[7] 0 Bit 10 R/W FEN[6] 0 Bit 9 R/W FEN[5] 0 Bit 8 R/W FEN[4] 0 Bit 7 R/W FEN[3] 0 Bit 6 R/W FEN[2] 0 Bit 5 R/V FEN[1] 0 Bit 4 RW FEN[O] 0 Bit 3 Unused xX Bit 2 R/W SBI_MODE[2] 0 Bit 1 R/W SBI_MODE[1] 0 Bit 0 R/W SBI_MODE/[0} 0 This register configures the operational mode of transmit links 2, 5, 8, 11, ... 35, 38, ...83, i.e. those links mapped to SPE 3 of the SB! ADD BUS. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. PROPRIETARY AND CONFIDENTIAL 255r > [\ | PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET es PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 SBI_MODE[2:0): The SBI mode select bits (SBI_MODE[2:0]) configure the transmit links of SPE3, as shown in the following table: Table 37 SBI Mode SPE3 Configuration SBI_MODE [2:0] | SPE3 Configuration 000 Single unchannelised DS-3 on link 2 001 28 T1/J1 links 010 21 E1 links (links 65, 68, 71, ... , 83 are unused) 011 Reserved 100 Reserved 101 Reserved 110 Reserved 111 Reserved FEN[11:0] Each FEN bit, FEN[n], configures link 3n+2 for framed operation. In unframed operation (FEN[n] = 0), HDLC data is transmitted in all framing bit locations. In framed mode (FEN[n] = 1), the framing bit locations are unused. PROPRIETARY AND CONFIDENTIAL 256DATASHEET PMC-1990445 PIMC ~~. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x454 : TCAS SBI SPE3 Configuration Register #2 Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R/W FEN[27] 0 Bit 14 R/W FEN[26] 0 Bit 13 R/W FEN[25] 0 Bit 12 R/W FEN[24] 0 Bit 11 R/W FEN[23] 0 Bit 10 R/W FEN[22] 0 Bit 9 R/W FEN[21] 0 Bit 8 R/W FEN[20] 0 Bit 7 R/W FEN[19] ) Bit 6 R/W FEN(18] 0 Bit 5 R/W FEN[17] 0 Bit 4 R/W FEN([16] 0 Bit 3 R/W FEN(15] 0 Bit 2 R/W FEN([14] 0 Bit 1 R/AW FEN[13] 0 Bit 0 R/W FEN[12] 0 The bits of this register set are used to configure the framing modes of transmit links 38, 41, 44 ... 83. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0}) are not implemented. However, when all four byte enables are negated, no access is made to this register. PROPRIETARY AND CONFIDENTIAL 257ri y/ PMC-Sierra, inc. PM7384 FREEDM-84P672 DATASHEET ee cece eee e ee e PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 FEN[27:12]: Each FEN bit, FEN[n], configures link 3n+2 for framed operation. In unframed operation (FEN{[n] = 0), HDLC data is transmitted in all framing bit locations. In framed mode (FEN[n] = 1), the framing bit locations are unused. PROPRIETARY AND CONFIDENTIAL 258r 2 [\ /I q PMC-Sierra, inc. PM7384 FREEDM-84P672 DATASHEET a PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x480 0x488 : TCAS Links #0 to #2 Configuration Bit Type Function Default Bit 31 Unused XXXXXXXH to Bit 5 Bit 4 R/W Reserved 0 Bit 3 Unused X Bit 2 R/W Reserved 0 Bit 1 R/W Reserved 0 Bit 0 R/W Reserved 0 This register controls the operation of transmit links #0 to #2 when they are configured to transmit data on the TD[2:0] outputs (i.e. SPEn_EN is low). Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. Reserved: The reserved bits must be set low for correct operation of the FREEDM- 84P672 device. PROPRIETARY AND CONFIDENTIAL 259r [\ AI PMC-Sierra, inc. PM7384 FREEDM-84P672 DATASHEET Tt PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x500 : PMON Status Bit Type Function Default Bit 31 Unused XXXXXXXH to Bit 6 Bit 5 R C2DET X Bit 4 R C1DET X Bit 3 R UFDET X Bit 2 R OFDET X Bit 1 Unused X Bit 0 Unused Xx This register contains status information indicating whether a non-zero count has been latched in the count registers. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. OFDET: The overflow detect bit (OFDET) indicates the status of the PMON Receive FIFO Overflow Count register. OFDET is set high when overflow events have occurred during the latest PMON accumulation interval. OFDET is set low if no overflow events are detected. UFDET: The underflow detect bit (UFDET) indicates the status of the PMON Transmit FIFO Underflow Count register. UFDET is set high when underflow events have occurred during the latest PMON accumulation interval. UFDET is set low if no underflow events are detected. C1DET: The configurable event #1 detect bit (C1DET) indicates the status of the PMON Configurable Count #1 register. C1DET is set high when selected PROPRIETARY AND CONFIDENTIAL 260r? [\ /| PMC-Sierra, Inc. PM7384 FREEDM-84P672 PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 DATASHEET events have occurred during the latest PMON accumulation interval. C1DET is set low if no selected events are detected. C2DET: The configurable event #2 detect bit (C2DET) indicates the status of the PMON Configurable Count #2 register. C2DET is set high when selected events have occurred during the latest PMON accumulation interval. C2DET is set low if no selected events are detected. PROPRIETARY AND CONFIDENTIAL 261DATASHEET PMC-1990445 r-i\ fi C PMC-Sierra, Inc. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x504 : PMON Receive FIFO Overflow Count Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R OF[15] X Bit 14 R OF[14] X Bit 13 R OF[13] X Bit 12 R OF[12] X Bit 11 R OF[11] X Bit 10 R OF[10] X Bit 9 R OF[9] X Bit 8 R OF[8] X Bit 7 R OF[7] X Bit 6 R OF [6] X Bit 5 R OF[5] X Bit 4 R OF[4] X Bit 3 R OF[3] X Bit 2 R OF[2] X Bit 1 R OF[1] X Bit 0 R OF[0] X This register reports the number of receive FIFO overflow events in the previous accumulation interval. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. PROPRIETARY AND CONFIDENTIAL 262ri fl PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 OF[15:0]: The OF[15:0] bits reports the number of receive FIFO overflow events that have been detected since the last time this register was polled. This register is polled by writing to the FREEDM-84P672 Master Clock / Frame Pulse Activity Monitor and Accumulation Trigger register. The write access transfers the internally accumulated error count to the FIFO overflow register and simultaneously resets the internal counter to begin a new cycle of error accumulation. PROPRIETARY AND CONFIDENTIAL 263DATASHEET PMC-1990445 rPMv Cc" PMC-Sierra, Inc. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x508 : PMON Transmit FIFO Underflow Count Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R UF[15] Xx Bit 14 R UF[14] X Bit 13 R UF[13] X Bit 12 R UF[12] Xx Bit 11 R UF[11] x Bit 10 R UF([10] X Bit 9 R UF[9] Xx Bit 8 R UF[8] Xx Bit 7 R UF[7] X Bit 6 R UF[6] Xx Bit 5 R UF[5] X Bit 4 R UF[4] X Bit 3 R UF[3] X Bit 2 R UF[2] X Bit 1 R UF[1] X Bit O R UF[0O] X This register reports the number of transmit FIFO underflow events in the previous accumulation interval. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. PROPRIETARY AND CONFIDENTIAL 264r- MV PMC-Sierra, inc. PM7384 FREEDM-84P672 DATASHEET ( PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 8&4P672 UF[15:0]: The UF[15:0] bits reports the number of transmit FIFO underflow events that have been detected since the last time this register was polled. This register is polled by writing to the FREEDM-84P672 Master Clock / Frame Pulse Activity Monitor and Accumulation Trigger register. The write access transfers the internally accumulated error count to the FIFO underflow register and simultaneously resets the internal counter to begin a new cycle of error accumulation. PROPRIETARY AND CONFIDENTIAL 265DATASHEET PMC-1990445 PMV Cc" PMC-Sierra, Inc. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x50C : PMON Configurable Count #1 Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R C1[15] X Bit 14 R C1[14] X Bit 13 R C1[13] Xx Bit 12 R C1[12] X Bit 11 R C1[11] x Bit 10 R C1[10} xX Bit 9 R C1[9] xX Bit 8 R C1[8] X Bit 7 R Ci[7] x Bit 6 R C1[6] X Bit 5 R C1[5] X Bit 4 R C1[4] xX Bit 3 R C1[3] X Bit 2 R Ci[2] X Bit 1 R C1[1] X Bit 0 R C1[0] X This register reports the number events, selected by the FREEDM-84P672 Master Performance Monitor Control register, that occurred in the previous accumulation interval. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. PROPRIETARY AND CONFIDENTIAL 266r> [\ I PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET RT PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 C1[15:0]: The C1[15:0] bits reports the number of selected events that have been detected since the last time this register was polled. This register is polled by writing to the FREEDM-84P672 Master Clock / Frame Pulse Activity Monitor and Accumulation Trigger register. The write access transfers the internally accumulated error count to the configurable count #1 register and simultaneously resets the internal counter to begin a new cycle of event accumulation. PROPRIETARY AND CONFIDENTIAL 267DATASHEET PMC-1990445 rv c PMC-Sierra, Inc. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x510 : PMON Configurable Count #2 Bit Type Function Default Bit 31 Unused XXXXH to Bit 16 Bit 15 R C2[15] X Bit 14 R C2[14] X Bit 13 R C2[13] x Bit 12 R C2[12] Xx Bit 11 R C2[11] X Bit 10 R C2[10] Xx Bit 9 R C2[9] X Bit 8 R C2[8] xX Bit 7 R C2[7] Xx Bit 6 R C2[6] Xx Bit 5 R C2[5] Xx Bit 4 R C2[4] Xx Bit 3 R C2[3] xX Bit 2 R C2[2] X Bit 1 R C21] X Bit 0 R C2 [0] X This register reports the number events, selected by the FREEDM-84P672 Master Performance Monitor Control register, that occurred in the previous accumulation interval. Note This register is not byte addressable. Writing to this register modifies ail the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. PROPRIETARY AND CONFIDENTIAL 268r-f\ fi PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET ee PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 C2[15:0]: The C2[15:0] bits reports the number of selected events that have been detected since the last time this register was polled. This register is polled by writing to the FREEDM-84P672 Master Clock / Frame Pulse Activity Monitor and Accumulation Trigger register. The write access transfers the internally accumulated error count to the configurable count #2 register and simultaneously resets the internal counter to begin a new cycle of event accumulation. PROPRIETARY AND CONFIDENTIAL 269r- [\ v/ ce PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x5C0 : SBI EXTRACT Control Bit Type Function Default Bit 15 Unused XXXXXXH to Bit 8 Bit 7 R/W Reserved 0 Bit 6 Unused xX Bit 5 Unused Xx Bit 4 R/W Reserved 0 Bit 3 R/W Reserved 0 Bit 2 R/W Reserved 0 Bit 1 R/W SBI_PERR_EN 0 Bit 0 R/W SBI_PAR_CTL 1 This register controls the operation of the SBI EXTRACT block. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. SBI PAR CTL The SBI_PAR_CTL bit is used to configure the Parity mode for checking of the SBI parity signal, DDP as follows: When SBI_PAR_CTLis '0 parity is even. When SBI_PAR_CTL is 1 parity is odd. SBI PERR_EN The SBILPERR_EN bit is used to enable SBI Parity Error interrupt generation. When SBI_LPERR_EN is 0, SBI Parity Error Interrupts are disabled. When SBI_LPERR_EN is 1, SBI Parity Error interrupts are enabled. In both cases the SBI Parity checker logic will update the SBI EXTRACT Parity Error Interrupt Reason Register when a parity error occurs. PROPRIETARY AND CONFIDENTIAL 270r- M | PMC-Sierra, inc. PM7384 FREEDM-84P672 DATASHEET rene PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Reserved: The reserved bits must be set low for correct operation of the FREEDM- 84P672 device. PROPRIETARY AND CONFIDENTIAL 271DATASHEET [ Mc PMC-Sierra, Inc. PM7384 FREEDM-84P672 Ree eee ee eee ee erence ee ae PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x5CC : SBI EXTRACT Tributary RAM Indirect Access Address Bit Type Function Default Bit 31 Unused XXXXXXH to Bit 8 Bit 7 R/W Reserved 0 Bit 6 R/W SPE[1] 0 Bit 5 R/W SPE[0] 0 Bit 4 R/W TRIB[4] 0 Bit 3 R/W TRIB[3] 0 Bit 2 R/W TRIB[2] 0 Bit 1 R/W TRIB[1] 0 Bit 0 R/W TRIB[O] 0 This register provides the receive SPE and link number used to access the SBI EXTRACT tributary control configuration RAM. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. TRIB[4:0] and SPE[1:0] The TRIB[4:0] and SPE[1:0] fields are used to specify which SBI tributary the control configuration RAM write or read operation will apply to. Legal values for TRIB[4:0] are b00001 through b11100. Legal values for SPE[1:0] are b01 through b11. Reserved: The reserved bit must be set low for correct operation of the FREEDM- 84P672 device. PROPRIETARY AND CONFIDENTIAL 272r 2 [\ A Y PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET ON PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x5D0 : SBI EXTRACT Tributary RAM Indirect Access Control Bit Type Function Default Bit 31 Unused XXXXXXH to Bit 8 Bit 7 R/W BUSY X Bit 6 Unused XXH to Bit 2 Bit 1 R/W RWB 0 Bit 0 R/W Reserved 0 This register controls access the SBI EXTRACT tributary control configuration RAM. Writing to this register triggers an indirect register access. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. Reserved: The reserved bit must be set low for correct operation of the FREEDM- 84P672 device. RWB The indirect access control bit (RWB) selects between a configure (write) or interrogate (read) access to the tributary control configuration RAM. Writing a 0 to RWB triggers an indirect write operation. Data to be written is taken from the SBI EXTRACT Tributary RAM Indirect Access Data Register. Writing a 1 to RWB triggers an indirect read operation. The data read can be found in the SBI EXTRACT Tributary RAM Indirect Access Data Register. BUSY The indirect access status bit (BUSY) reports the progress of an indirect access. BUSY is set high when a write to the SBI EXTRACT Tributary RAM Indirect Access Control Register triggers an indirect access and will stay high until the access is complete. This register should be polled to determine PROPRIETARY AND CONFIDENTIAL 273r [\ fi Y PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET ee PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 when data from an indirect read operation is available in the SBI EXTRACT Tributary RAM Indirect Access Data Register or to determine when a new indirect write operation may commence. PROPRIETARY AND CONFIDENTIAL 274i oj JI PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET ne PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x5D8 : SBI EXTRACT Tributary RAM Indirect Access Data Bit Type Function Defauit Bit 31 Unused XXXXXXXH to Bit 7 Bit 6 R/W Reserved 0 Bit 5 R/W Reserved 0 Bit 4 R/W Reserved 0 Bit 3 R/W TRIB_TYP[1] 9) Bit 2 R/W TRIB_TYP[0] 0 Bit 1 R/W Reserved 0 Bit O R/W ENBL 0 This register contains data read from the SBI EXTRACT tributary control configuration RAM after an indirect read operation or data to be written to the tributary contro! configuration RAM in an indirect write operation. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. ENBL The ENBL bit is used to enable the Tributary. Writing to the SBI EXTRACT tributary control configuration RAM with the ENBL bit set enables the SBI EXTRACT block to take tributary data from an SBI tributary and output that data to the SBI PISO blocks. Reserved: The reserved bits must be set low for correct operation of the FREEDM- 84P672 device. TRIB_TYP[1:0] The TRIB_TYP[1:0] field is used to specify the characteristics of the SBI tributary as shown in Table 38 below: PROPRIETARY AND CONFIDENTIAL 275r? [\ Y)| cr PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Table 38 TRIB_TYP Encoding TRIB_TYP[1:0] | Tributary type 00 Reserved 01 Framed 10 Unframed 11 Reserved PROPRIETARY AND CONFIDENTIAL 276DATASHEET r> [\ fi PMC-Sierra, inc. PM7384 FREEDM-84P672 a PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x5DC : SBI EXTRACT Parity Error Interrupt Reason Bit Type Function Default Bit 31 Unused XXXXXXH to Bit 8 Bit 7 R/W SPE[1] 0 Bit 6 R/W SPE[0] 1 Bit 5 R/W TRIB[4] 0 Bit 4 R/W TRIB[3] 0 Bit 3 R/W TRIB[2] 0 Bit 2 R/W TRIB[1] 0 Bit 1 R/W TRIB[O] 1 Bit 0 R PERRI 0 This register provides information about the most recent parity error on the SBI DROP BUS. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. PERRI When set PERRI indicates that an SBI parity error has been detected. Reading the SBI EXTRACT Parity Error Interrupt Reason Register clears this bit. TRIB[4:0] and SPE[1:0] The TRIB[4:0] and SPE[1:0] fields specify the SBI tributary for which a parity error was detected. These fields are only valid when PERRI is set. PROPRIETARY AND CONFIDENTIAL 277rf /\ PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET ee PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x680 : SBI INSERT Control Bit Type Function Default Bit 31 Unused XXXXXXH to Bit 8 Bit 7 R/W Reserved 0 Bit 6 Unused Xx Bit 5 Unused xX Bit 4 R/W Reserved 0 Bit 3 R/W Reserved 0 Bit 2 R/W Reserved 0 Bit 1 Unused Xx Bit 0 R/W SBI_PAR_CTL 1 This register controls the operation of the SBI INSERT block. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. SBI PAR CTL The SBI_PAR_CTL bit is used to configure the Parity mode for generation of the SBI parity signal, ADP as follows: When SBI_PAR_CTL is 0O parity is even. When SBI_PAR_CTL is 1 parity is odd. Reserved: The reserved bits must be set low for correct operation of the FREEDM- 84P672 device. PROPRIETARY AND CONFIDENTIAL 278DATASHEET r- [\ fi eo PMC-Sierra, inc. PM7384 FREEDM-84P672 ee eee eee eee e eee eee PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x68C : SBI INSERT Tributary RAM Indirect Access Address Bit Type Function Default Bit 34 Unused XXXXXXH to Bit 8 Bit 7 R/W Reserved 0 Bit 6 R/W SPE[1] 0 Bit 5 R/W SPE[0] 0 Bit 4 R/W TRIB[4] 0 Bit 3 R/W TRIB[3] 0 Bit 2 R/W TRIB[2] 0 Bit 1 R/W TRIB[1] 0 Bit 0 R/W TRIB[0] 0 This register provides the transmit SPE and link number used to access the SBI INSERT tributary control configuration RAM. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. TRIB[4:0] and SPE[1:0] The TRIB[4:0] and SPE[1:0] fields are used to specify which SBI tributary the control configuration RAM write or read operation will apply to. Legal values for TRIB[4:0] are b00001 through b11100. Legal values for SPE[1:0] are b01 through b11. Reserved: The reserved bit must be set low for correct operation of the FREEDM- 84P672 device. PROPRIETARY AND CONFIDENTIAL 279r ~ i\ fl \ PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET Et PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x690 : SBI INSERT Tributary RAM Indirect Access Control Bit Type Function Default Bit 31 Unused XXXXXXH to Bit 8 Bit 7 R/W BUSY X Bit 6 Unused XXH to Bit 2 Bit 1 R/W RWB Bit 0 R/W Reserved 0 This register controls access to the SBI INSERT tributary control configuration RAM. Writing to this register triggers an indirect register access. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. Reserved: The reserved bits must be set low for correct operation of the FREEDM- 84P672 device. RWB The indirect access control bit (RWB) selects between a configure (write) or interrogate (read) access to the tributary control configuration RAM. Writing a 0 to RWB triggers an indirect write operation. Data to be written is taken from the SBI INSERT Tributary RAM Indirect Access Data Register. Writing a 1 to RWB triggers an indirect read operation. The data read can be found in the SBI INSERT Tributary RAM Indirect Access Data Register. BUSY The indirect access status bit (BUSY) reports the progress of an indirect access. BUSY is set high when a write to the SBI INSERT Tributary RAM Indirect Access Control Register triggers an indirect access and will stay high until the access is complete. This register should be polled to determine PROPRIETARY AND CONFIDENTIAL 280r- [\ fi \ PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET EEE PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 when data from an indirect read operation is available in the SBI INSERT Tributary RAM Indirect Access Data Register or to determine when a new indirect write operation may commence. PROPRIETARY AND CONFIDENTIAL 281rl AC X PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET a PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x698 : SBI INSERT Tributary RAM Indirect Access Data Bit Type Function Default Bit 31 Unused XXXXXXXH to Bit 5 Bit 4 R/W CLK_MSTR 0 Bit 3 R/W TRIB_TYP([1] 0 Bit 2 R/W TRIB_TYP[O] 0 Bit 1 R/W Reserved 0 Bit 0 R/W ENBL 0 This register contains data read from the SBI INSERT tributary control configuration RAM after an indirect read operation or data to be written to the tributary control configuration RAM in an indirect write operation. Note This register is not byte addressable. Writing to this register modifies all the bits in the register. Byte selection using byte enable signals (CBEB[3:0]) are not implemented. However, when all four byte enables are negated, no access is made to this register. ENBL The ENBL bit is used to enable the Tributary. Writing to the SBI INSERT tributary control configuration RAM with the ENBL bit set enables the SBI INSERT block to output tributary data on an SBI tributary. Reserved: The reserved bit must be set low for correct operation of the FREEDM- 84P672 device. TRIB_TYP[1:0] The TRIB_TYP[1:0] field is used to specify the characteristics of the SBI tributary as shown in Table 39 below: PROPRIETARY AND CONFIDENTIAL 282r- [\ fl PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET a PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Table 39 TRIB_TYP Encoding TRIB_TYP[1:0] | Tributary type 00 Reserved 01 Framed 10 Unframed 11 Reserved CLK _MSTR The CLK_MSTR bit configures the SBI tributary to operate as a timing master or slave. Setting CLK_MSTR to 1 configures the tributary as a timing master (AJUST_REQ input ignored). Setting CLK_MSTR to 0 configures the tributary as a timing slave (requests on AJUST_REQ honoured). PROPRIETARY AND CONFIDENTIAL 283DATASHEET PMC-1990445 r McC PMC-Sierra, inc. PM7384 FREEDM-84P672 Reece eee eee ee ee eee eee es ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 11 PCI CONFIGURATION REGISTER DESCRIPTION PCI configuration registers are implemented by the PCI Interface. These registers can only be accessed when the PCI Interface is a target and a configuration cycle is in progress as indicated using the IDSEL input. Notes on PCI Configuration Register Bits: 1. Writing values into unused register bits has no effect. However, to ensure software compatibility with future, feature-enhanced versions of the product, unused register bits must be written with logic zero. Reading back unused bits can produce either a logic one or a logic zero; hence unused register bits should be masked off by software when read. Except where noted, all configuration bits that can be written into can also be read back. This allows the processor controlling the FREEDM-84P672 to determine the programming state of the block. Writable PCI configuration register bits are cleared to logic zero upon reset uniess otherwise noted. Writing into read-only PCI configuration register bit locations does not affect FREEDM-84P672 operation unless otherwise noted. Certain register bits are reserved. These bits are associated with megacell functions that are unused in this application. To ensure that the FREEDM- 84P672 operates as intended, reserved register bits must only be written with their default values. Similarly, writing to reserved registers should be avoided. 11.1 PCI Configuration Registers PCI configuration registers can only be accessed by the PCI host. For each register description below, the hexadecimal register number indicates the PCI offset. PROPRIETARY AND CONFIDENTIAL 284r- [\ fi ae PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER &4P672 Register 0x00 : Vendor Identification/Device Identification Bit Type Function Default Bit 31 R DEVID[15:0] 7384H to Bit 16 Bit 15 R VNDRID[15:0] 11F8H to Bit 0 VNDRIDJ15:0]: The VNDRID[15:0] bits identifies the manufacturer of the device. Valid vendor identifiers are allocated by the PCI SIG. DEVID[15:0]: The DEVID[15:0] bits define the particular device. Valid device identifiers will be specified by PMC-Sierra. The default value of DEVID[15:0] is that of the FREEDM-84P672 device. PROPRIETARY AND CONFIDENTIAL 285DATASHEET PMC-1990445 ISSUE 4 rl /I PMC-Sierra, Inc. PM7384 FREEDM-84P672 ee eee FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x04 : Command/Status Bit Type Function Default Bit 31 R/W PERR 0 Bit 30 R/W SERR 0 Bit 29 R/W MABT 0 Bit 28 R/W RTABT 0 Bit 27 R/W TABT 0 Bit 26 R DVSLT[1] 0 Bit 25 R DVSLT[0] 1 Bit 24 R/W DPR 0 Bit 23 R FBTBE 1 Bit 22 R Reserved 0 Bit 21 R 66MHZ_CAPABLE 1 Bit 20 R Reserved OOH to Bit 16 Bit 15 R Reserved OOH to Bit 10 Bit 9 R FBTBEN 0 Bit 8 R/W SERREN 0 Bit 7 R ADSTP 0 Bit 6 R/W PERREN 0 Bit 5 R VGASNP 0 Bit 4 R MWAI 0 Bit 3 R SPCEN 0 Bit 2 R/W MSTREN 0 Bit 1 R/W MCNTRL 0 Bit 0 R IOCNTRL 0 The lower 16 bits of this register make up the Command register which provides basic control over the GPIC's ability to respond to PCI accesses. When a 0 is PROPRIETARY AND CONFIDENTIAL 286r- [\ fi Y PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET ee PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 written to all bits in the command register, the GPIC is logically disconnected from the PCI bus for all accesses except configuration accesses. The upper 16- bits is used to record status information for PCI bus related events. Reads to the status portion of this register behave normally. Writes are slightly different in that bits can be reset, but not set. A bit is reset wnenever the register is written, and the data in the corresponding bit location is a 1. IOCNTRL: When IOCNTRL is set to zero, the GPIC will not respond to PCI bus {/O accesses. MCNTRL: When MCNTRL is set to one, the GPIC will respond to PCI bus memory accesses. Clearing MCNTRL disables memory accesses. MSTREN: When MSTREN is set to one, the GPIC can act as a Master. Clearing MSTREN disables the GPIC from becoming a Master. SPCEN: The GPIC does not decode PCI special cycles. The SPCEN bit is forced low. MWAI: The GPIC does not generate memory-write-and-invalidate commands. The MWAI bit is forced low. VGASNP: The GPIC is not a VGA device. The VGASNP bit is forced low. PERREN: When the PERREN bit is set to one, the GPIC can report parity errors. Clearing the PERREN bit causes the GPIC to ignore parity errors. ADSTP: The GPIC does not perform address and data stepping. The ADSTP bit is forced low. SERREN: When the SERREN bit is set high, the GPIC can drive the SERRB line. Clearing the SERREN bit disables the SERRB line. SERREN and PERREN must be set to report an address parity error. PROPRIETARY AND CONFIDENTIAL 287r- [\ fi \ PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET a PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 FBTBEN: As a master, the GPIC does not generate fast back-to-back cycles to different devices. This bit is forced low. The upper 16-bits make up the PCI Status field. The status field tracks the status of PCI bus related events. Reads to this register behave normally. Writes are slightly different in that bits can be reset, but not set. A bit is reset whenever the register is written, and the data in the corresponding bit location is a one. 66MHZ_ CAPABLE: The 66 MHz Capable bit is hardwired to one to indicate the GPIC is capable of operating in 66 MHz mode. FBTBE: The FBTBE bit is hardwired to one to indicate the GPIC supports fast back- to-back transactions with other targets. DPR: The Data Parity Reported (DPR) bit is set high if the GPIC is an initiator and asserts or detects a parity error on the PERRB signal while the PERREN bit is set in the Command register. The DPR bit is cleared by the PCI Host. DVSLT[1:0]: The Device Select Timing (DEVSLT) bits specify the allowable timings for the assertion of DEVSELB by the GPIC as a target. These are encoded as 00B for fast, 01B for medium, 10B for slow and 11B is not used. The GPIC allows for medium timing. TABT: The Target Abort (TABT) bit is set high by the GPIC when as a target, it terminates a transaction with a target abort. The TABT bit is cleared by the PCI Host. RTABT: The Received Target Abort (RTABT) bit is set high by the GPIC when as an initiator, its transaction is terminated by a target abort. The RTABT bit is cleared by the PCI Host. MABT: The Master Abort (MABT) bit is set high by the GPIC when as an initiator, its transaction is terminated by a master abort and a special cycle was not in progress. The MABT bit is cleared by the PCI Host. PROPRIETARY AND CONFIDENTIAL 288roi fi PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 SERR: The System Error (SERR) bit is set high whenever the GPIC asserts the SERRB output. The SERR bit is cleared by the PCI Host. PERR: The Parity Error (PERR) bit is set high whenever the GPIC detects a parity error, even if parity error handling is disabled by clearing PERREN in the Command register. The PERR bit is cleared by the PCI Host. PROPRIETARY AND CONFIDENTIAL 289DATASHEET PMC-1990445 ISSUE 4 i > MV i PMC-Sierra, inc. PM7384 FREEDM-84P672 ena FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x08 : Revision Identifier/Class Code Bit Type Function Default Bit 31 to Bit 24 R CCODE[23:16] 02H Bit 23 to Bit 16 CCODE[15:8] 80H Bit 15 to Bit 8 CCODE{7:0] 00H Bit 7 to Bit 0 REVID[7:0] 02H REVIDJ[7:0]: The Revision Identifier (REVID[7:0]) bits specify a device specific revision identifier and are chosen by PMC-Sierra. CCODE[23:0]: The class code (CCODE[23:0]) bits are divided into three groupings: CCODE[23:16] define the base class of the device, CCODE[15:8] define the sub-class of the device and CCODE[7:0] specify a register specific programming interface. Note: Base Class Code: Sub-Class Code: Register Class Code: 02H 80H 00H Network Controller Other Controllers None defined. PROPRIETARY AND CONFIDENTIAL 290DATASHEET PMC-1990445 ISSUE 4 r-f\ | PMC-Sierra, Inc. PM7384 FREEDM-84P672 ee FRAME ENGINE AND DATA LINK MANAGER &84P672 Register 0x0C : Cache Line Size/Latency Timer/Header Type Bit Type Function Default Bit 31 to Bit 24 R Reserved 00H Bit 23 MLTFNC Bit 22 to Bit 16 HDTYPE[6:0] 00H Bit 15 to Bit 8 LT[7:0] 00H Bit 7 to Bit 0 CLSIZE 00H CLSIZE[7:0]: The Cache Line Size (CLSIZE[7:0]) bits specify the size of the system cacheline in units of dwords. The GPIC uses this value to determine the type of read command to issue in a Master Read transfer. If the transfer size is equal to one, the GPIC will issue a Memory Read command. If the transfer size is equal to or less than the CLSIZE, the GPIC will issue a Memory Read Line command. For transfers larger than CLSIZE, the GPIC issues a Memory Read Multiple command. LT{7:0}: The Latency Timer (LT[7:0]) bits specify, in units of the PCI clock, the value of the Latency Timer for the GPIC. At reset the value is zero. The value of the LT is application specific and should be programmed by software. HDTYPEJ6:0]: The Header Type (HDTYPE[7:0]) bits specify the layout of the base address registers. Only the OOH encoding is supported. MLTFENC: The Multi-Function (MLTFNC) bit specifies if the GPIC supports multiple PCI functions. If this bit is set low, the device only supports one function and if the bit is set high, the device supports multi-functions. The MLTFNC bit is set low to indicate the GPIC only supports one PCI function. PROPRIETARY AND CONFIDENTIAL 291i > i\ I PMC-Sierra, inc. PM7384 FREEDM-84P672 DATASHEET ee ee eee eee PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x10 : CBI Memory Base Address Register Bit Type Function Default Bit 31 R/W BSAD[27:9] 00000H Bit 3 Bit 12 R BSADJ[8:0] 000H to Bit 4 Bit 3 R PRFTCH 0 Bit 2 R TYPE[1] 0 Bit 1 R TYPE[0] 0 Bit 0 R MSI 0 The GPIC supports memory mapping only. At boot-up the internal registers space is mapped to memory space. The device driver can disable memory space through the PCI Configuration Command register. MSI: MSI is forced low to indicate that the internal registers map into memory space. TYPE[1:0]: The TYPE field indicates where the internal registers can be mapped. The encoding OOB indicates the registers may be located anywhere in the 32 bit address space, 01B indicates that the registers must be mapped below 1 Meg in memory space, 10B indicates the base register is 64 bits and the encoding 11B is reserved. The TYPE field is set to 0OB to indicate that the CBI registers can be mapped anywhere in the 32 bit address space. PRETCH: The Prefetchable (PRFTCH) bit is set if there are no side effects on reads and data is returned on all the lanes regardless of the byte enables. Otherwise the bit is cleared. TSBs contain registers, such as interrupt status registers, in which bits are cleared on a read. If the PC! Host is caching data there is a possibility an interrupt status could be lost if data is prefetched, but the cache is flushed and the data is not used. The PRFTCH bit is forced low to indicate that prefetching of data is not supported for internal registers. PROPRIETARY AND CONFIDENTIAL 292PTV PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET ae PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 BSAD[27:0]: The Base Address (BSAD[27:0]) bits defines the size and location of the memory space required for the CBI registers. The BSAD[27:0] bits correspond to the most significant 28 bits of the PCl address space. The size of the address space required can be determined by writing all ones to Base Address register and then reading from it. By scanning the returned value from the least significant bit upwards, the size of the required address space can be determined. The binary weighted value of the first one bit found (after the configuration bits) indicates the required amount of space. The BSAD{(8:0] bits are forced low to indicate that the CBI registers require 8K bytes of memory space. After determining the memory requirements of the CBI registers, the PCI Host can map them to its desired location by modifying the BSAD[27:9] bits in the Base Address register. PROPRIETARY AND CONFIDENTIAL 293i > i\ I PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET ne] PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Register 0x3C : interrupt Line / Interrupt Pin / MIN_GNT / MAX_LAT Bit Type Function Default Bit 31 R MAXLAT[7:0] OFH to Bit 24 Bit 23 R MINGNT[7:0] 05H to Bit 16 Bit 15 R INTPIN[7:0] 01H to Bit 8 Bit 7 R/W INTLNE[7:0] 00H to Bit 0 INTLNE[7:0]: The Interrupt Line (INTLNE[7:0]) field is used to indicate interrupt line routing information. The values in this register are system specific and set by the PCI Host. INTPIN{[7:0]: The Interrupt Pin (INTPIN[7:0]) field is used to specify the interrupt pin the GPIC uses. Since the GPIC will use INTAB on the PCI bus, the value in this register is set to one. MINGNT[7:01: The Minimum Grant (MINGNT[7:0]) field specifies how long of a burst period the bus master needs (in increments of 250 nsec). MAXLAT{[7:0]: The Maximum Latency (MAXLAT[7:0]) field specifies how often a bus master needs access to the PCI bus (in increments of 250 nsec). PROPRIETARY AND CONFIDENTIAL 294r 2 IVI q PMC-Sierra, inc. PM7384 FREEDM-84P672 DATASHEET eee PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 12 TEST FEATURES DESCRIPTION The FREEDM-84P672 also supports a standard IEEE 1149.1 five signal JTAG boundary scan test port for use in board testing. All device inputs may be read and all device outputs may be forced via the JTAG test port. 12.1 Test Mode Registers Test mode registers are used to apply test vectors during production testing of the FREEDM-84P672. Production testing is enabled by asserting the PMCTEST pin. During production tests, FREEDM-84P672 registers are selected by the TA[12:0] pins. The address of a register on TA[12:0] is identical to the PCI offset of that register when production testing is disabled (PMCTEST low). Read accesses are enabled by asserting TRDB low while write accesses are enabled by asserting TWRB low. Test mode register data is conveyed on the TDAT[15:0] pins. Test mode registers (as opposed to normal mode registers) are selected when TA[12]/TRS is set high. PROPRIETARY AND CONFIDENTIAL 295ry Cc PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Table 40 Test Mode Register Memory Map Address TA[12:0] Register 0x0000 - 0x07FC Normal Mode Registers 0x0800 - 0x107C Reserved 0x1080 - Ox10FC GPIC Test Registers 0x1100 - Ox11FC RCAS Test Registers 0x1200 - 0x123C RHDL Test Registers 0x1240 - 0x127C Reserved 0x1280 - Ox12FC RMAC Test Registers 0x1300 - 0x137C TMAC Test Registers 0x1380 - 0x13BC THDL Test Registers 0x13C0 - Ox13FC Reserved 0x1400 - Ox14FC TCAS Test Registers 0x1500 - 0x151C PMON Test Registers 0x1520 - 0x15BC Reserved 0x15CO - Ox15FC SBI EXTRACT Test Registers 0x1600 - 0x167C Reserved 0x1680 - Ox16FC SBI INSERT Test Registers 0x1700 - Ox17FC Reserved 0x1800 - Ox18FC SBI PISO#1 Test Registers 0x1900 - Ox19FC SBI PISO#2 Test Registers Ox1A00 - Ox1AFC SBI PISO#3 Test Registers 0x1B00 - 0xi1BFC SBI SIPO#1 Test Registers 0x1C00 - Ox1CFC SBI SIPO#2 Test Registers 0x1D00 - Ox1DFC SBI SIPO#3 Test Registers 0x1E00 - Ox1FFC Reserved Notes on Test Mode Register Bits: 1. Writing values into unused register bits has no effect. However, to ensure software compatibility with future, feature-enhanced versions of the product, PROPRIETARY AND CONFIDENTIAL 296r> [\ f\ q PMC-Sierra, inc. PM7384 FREEDM-84P672 DATASHEET a PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 unused register bits must be written with logic zero. Reading back unused bits can produce either a logic one or a logic zero; hence unused register bits should be masked off by software when read. 2. Writable test mode register bits are not initialized upon reset unless otherwise noted. 12.2 JTAG Test Port The FREEDM-84P672 JTAG Test Access Port (TAP) allows access to the TAP controller and the 4 TAP registers: instruction, bypass, device identification and boundary scan. Using the TAP, device input logic levels can be read, device outputs can be forced, the device can be identified and the device scan path can be bypassed. For more details on the JTAG port, please refer to the Operations section. Table 41 Instruction Register Length - 3 bits Instructions | Selected Register | Instruction Code IR[2:0] EXTEST Boundary Scan 000 IDCODE Identification 001 SAMPLE Boundary Scan 010 BYPASS Bypass 011 BYPASS Bypass 100 STCTEST Boundary Scan 101 BYPASS Bypass 110 BYPASS Bypass 1114 12.2.1 identification Register Length - 32 bits Version number - 2H Part Number - 7384H Manufacturer's identification code - OCDH PROPRIETARY AND CONFIDENTIAL 297i > [\ fi cr PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Device identification - 273840CDH 12.2.2 Boundary Scan Register The boundary scan register is made up of 365 boundary scan cells, divided into input observation (in_cell), output (out_cell), and bi-directional (io_cell) cells. These cells are detailed in the following pages. The first 32 cells form the ID code register, and carry the code 273840CDH. The cells are arranged as follows: Table 42 - Boundary Scan Chain Pin/ Enable Register Bit Cell Type Device |.D. Unconnected 0 OUT_CELL - Unconnected 1 OUT_CELL - Unconnected 2 OUT_CELL - Unconnected 3 OUT_CELL - FASTCLK 4 IN_ CELL - Logic 0 5 IN_CELL - SPE1_EN 6 IN_CELL - SPE2_EN 7 IN_ CELL - SPE3_EN 8 IN_ CELL - TD_OEN(0] 9 OUT_CELL - TD[0] 10 OUT_CELL - TCLK[O] 11 IN_CELL - TD_OEN[1] 12 OUT_CELL - TD[1] 13 OUT_CELL - TCLK[1]} 14 IN_CELL - TD_OEN[2] 15 OUT_CELL - TD[2] 16 OUT_CELL - TCLK[2] 17 IN_CELL - C1FPOUT_OEN 18 OUT_CELL - C1FPOUT 19 OUT_CELL - REFCLK 20 IN_CELL - PROPRIETARY AND CONFIDENTIAL 298PM7384 FREEDM-84P672 PMV Cc PMC-Sierra, Inc. ISSUE 4 DATASHEET PMC-1990445 FRAME ENGINE AND DATA LINK MANAGER 84P672 Pin/ Enable Register Bit Cell Type Device |.D. APL_OEN 21 OUT_CELL - APL 22 OUT_CELL - DPL 23 IN_CELL - AV5_OEN 24 OUT_CELL - AV5 25 OUT_CELL - DV5 26 IN_CELL - ADP_OEN 27 OUT_CELL - ADP 28 OUT_CELL - DDP 29 IN_CELL - AACTIVE_OEN 30 OUT_CELL - AACTIVE 31 OUT_CELL - C1FP 32 IN_CELL - Logic 0 33 IN_CELL - Logic 0 34 IN_CELL - ADATA_OEN[0] 35 OUT_CELL - ADATA(0] 36 OUT_CELL - DDATA|O] 37 IN_CELL - ADATA_OEN[1] 38 OUT_CELL - ADATA|1] 39 OUT_CELL - DDATA[1] 40 IN_CELL - ADATA_OEN[2] 41 OUT_CELL - ADATA[2] 42 OUT_CELL - DDATA[2] 43 IN_CELL - ADATA_OENJ3] 44 OUT_CELL - ADATA[3] 45 OUT_CELL - DDATA[3] 46 IN_CELL - ADATA_OENJ[4] 47 OUT_CELL - ADATA[4] 48 OUT_CELL - DDATAI4] 49 IN_CELL - PROPRIETARY AND CONFIDENTIAL 299r VI Cc PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Pin/ Enable Register Bit Cell Type Device I.D. ADATA_OEN[5] 50 OUT_CELL - ADATAI[5] 51 OUT_CELL - DDATA[5] 52 IN_CELL - ADATA_OEN[6} 53 OUT_CELL - ADATA|6] 54 OUT_CELL - DDATA|6] 55 IN_CELL - ADATA_OEN[7] 56 OUT_CELL - ADATA[7] 57 OUT_CELL - DDATAI7] 58 IN_CELL - Logic 0 59 IN_CELL - Logic 0 60 IN_CELL - TDAT_OEN|[0] 61 OUT_CELL - TDAT{[O] 62 1IO_CELL - AJUST_REQ 63 IN_CELL - TDAT_OEN{1] 64 OUT_CELL - TDAT[1] 65 1O_CELL - ADETECT(O] 66 IN_CELL - TDAT_OEN[2] 67 OUT_CELL - TDAT[2] 68 1IO_CELL - ADETECT{[1] 69 IN_CELL - TDAT_OEN{3] 70 OUT_CELL - TDAT{[3] 71 JO_CELL - Logic 0 72 IN_CELL - TDAT_OEN(4] 73 OUT_CELL - TDAT[4] 74 1O_CELL - Logic 0 75 IN_CELL - TDAT_OEN[5] 76 OUT_CELL - TDAT[5] 77 lIO_CELL - Logic 0 78 IN_CELL - PROPRIETARY AND CONFIDENTIAL 300r-ivV/ c PMC-Sierra, inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Pin/ Enable Register Bit Celi Type Device I.D. TDAT_OENJ[6] 79 OUT_CELL - TDAT[6] 80 lIO_CELL - Logic 0 81 IN_CELL - TDAT_OEN[7] 82 OUT_CELL - TDAT{7} 83 JO_CELL - Logic 0 84 IN_ CELL - Logic 0 85 IN_CELL - Logic 0 86 IN_CELL - TDAT_OEN[8] 87 OUT_CELL - TDAT[8] 88 1IO_CELL - Logic 0 89 IN_CELL - TDAT_OEN[9] 90 OUT_CELL - TDAT{[9] 91 1IO_CELL - Logic 0 92 IN_CELL - TDAT_OEN[10} 93 OUT_CELL - TDAT[10] 94 lO_CELL - Logic 0 95 IN_CELL - TDAT_OEN[11] 96 OUT_CELL - TDAT[11] 97 10_CELL - Logic 0 98 IN_ CELL - TDAT_OEN[12] 99 OUT_CELL - TDAT[12] 100 lIO_CELL - Logic 0 101 IN_CELL - TDAT_OEN[13] 102 OUT_CELL - TDAT[13] 103 JO_CELL - Logic 0 104 IN_ CELL - TDAT_OEN[14] 105 OUT_CELL - TDAT[14] 106 1O_CELL - Logic 0 107 IN_CELL - PROPRIETARY AND CONFIDENTIAL 307rl Ac PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Pin/ Enable Register Bit Cell Type Device I.D. TDAT_OEN[15] 108 OUT_CELL - TDAT[15] 109 1IO_CELL - Logic 0 110 IN_CELL - Logic 0 111 IN_ CELL - Unconnected 112 OUT_CELL - Unconnected 113 OUT_CELL - PMCTEST 114 IN_ CELL - Logic 0 115 IN_ CELL - Logic 0 116 IN_CELL - Logic 0 117 IN_CELL - M66EN 118 IN_CELL - AD_OEN[0] 119 OUT_CELL - AD[O] 120 lIO_CELL - AD_OEN[14] 121 OUT_CELL - AD[1] 122 lO_CELL - AD_OEN[2] 123 OUT_CELL - AD[2] 124 1O_CELL - AD_OEN[3] 125 OUT_CELL - AD[3] 126 lIO_CELL - AD_OEN[4] 127 OUT_CELL - AD[4] 128 1O_CELL - AD_OEN[5] 129 OUT_CELL - AD[5] 130 IO_CELL - AD_OEN[6] 131 OUT_CELL - AD[6] 132 1O_CELL - AD_OEN[7] 133 OUT_CELL - AD{[7] 134 lIO_CELL - CBEB_OEN[0] 135 OUT_CELL - CBEB/0] 136 1O_CELL - PROPRIETARY AND CONFIDENTIAL 302rv C PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Pin/ Enable Register Bit Celi Type Device I.D. AD_OENJ[8] 137 OUT_CELL - AD[8] 138 1O_CELL - AD_OEN[9] 139 OUT_CELL - AD[9] 140 lIO_CELL - AD_OEN[10] 141 OUT_CELL - AD[10] 142 JO_CELL - AD_OEN[11] 143 OUT_CELL - AD[11] 144 1O_CELL - AD_OEN[12] 145 OUT_CELL - AD[12]} 146 1O_CELL - AD_OEN[13] 147 OUT_CELL - AD[13] 148 1O_CELL - AD_OEN[14] 149 OUT_CELL - AD[14] 150 1O_CELL - AD_OEN{(15] 151 OUT_CELL - AD[15] 152 1O_CELL - CBEB_OEN(1] 153 OUT_CELL - CBEB[1] 154 IO_CELL - PAR_OEN 155 OUT_CELL - PAR 156 jO_CELL - SERRB_OEN 157 OUT_CELL - SERRB 158 1O_CELL - PERRB_OEN 159 OUT_CELL - PERRB 160 1O_CELL - LOCKB 161 IN_CELL - STOPB_OEN 162 OUT_CELL - STOPB 163 lIO_CELL - DEVSELB_OEN 164 OUT_CELL - DEVSELB 165 IO_CELL - PROPRIETARY AND CONFIDENTIAL 303PV Cc PMC-Sierra, inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Pin/ Enable Register Bit Cell Type Device I.D. TRDYB_OEN 166 OUT_CELL - TRDYB 167 1IO_CELL - IRDYB_OEN 168 OUT_CELL IRDYB 169 1IO_CELL - FRAMEB_OEN 170 OUT_CELL - FRAMEB 171 1O_CELL - CBEB_OEN[2] 172 OUT_CELL - CBEBj2] 173 1O_CELL - AD_OEN[16] 174 OUT_CELL - AD[16] 175 lIO_CELL - AD_OEN([17] 176 OUT_CELL - AD[17] 177 iO_CELL - AD_OEN[18] 178 OUT_CELL - AD[18] 179 1IO_CELL - AD_OEN[19] 180 OUT_CELL - AD[19] 181 1IO_CELL - AD_OEN[20] 182 OUT_CELL - AD[20] 183 IO_CELL - AD_OEN[21] 184 OUT_CELL - AD[21] 185 1IO_CELL - AD_OEN[22] 186 OUT_CELL - AD[22] 187 1IO_CELL - AD_OEN[23] 188 OUT_CELL - AD[23] 189 1IO_CELL - IDSEL 190 IN_CELL - CBEB_OEN[3] 191 OUT_CELL - CBEB{3] 192 1IO_CELL - AD_OEN[24] 193 OUT_CELL - AD[24] 194 1O_CELL - PROPRIETARY AND CONFIDENTIAL 304PV Cc" PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Pin/ Enable Register Bit Cell Type Device |.D. AD_OEN[25] 195 OUT_CELL - AD[25] 196 IO_CELL - AD_OEN[26] 197 OUT_CELL - AD[26] 198 1O_CELL - AD_OEN[27] 199 OUT_CELL - AD[27] 200 1O_CELL - AD_OEN[28] 201 OUT_CELL - AD[28] 202 lIO_CELL - AD_OEN[29] 203 OUT_CELL - AD[29] 204 lIO_CELL - AD_OEN(30] 205 OUT_CELL - AD[30] 206 1O_CELL - AD_OEN[31] 207 OUT_CELL - AD[31] 208 lIO_CELL - REQB_OEN 209 OUT_CELL - REQB 210 1O_CELL - Logic 0 211 IN_CELL - GNTB 212 IN_CELL - PCICLK 213 IN_CELL - Logic 0 214 IN_CELL - PCICLKO_OEN 215 OUT_CELL - PCICLKO 216 OUT_CELL - Logic 0 217 IN_CELL - PCIINTB_OEN 218 OUT_CELL - PCIINTB 219 IO_CELL - Logic 0 220 IN_CELL - Logic 0 221 IN_CELL - Logic 0 222 IN_CELL - Logic 0 223 IN_CELL - PROPRIETARY AND CONFIDENTIAL 305ri fi PMC-Sierra, Inc. PM7384 FREEDM-84P672 eee ence ence eee ee eee eee DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Pin/ Enable Register Bit Cell Type Device I.D. Logic O 224 IN_CELL - Logic 0 225 IN_CELL - Logic 0 226 IN_ CELL - Logic 0 227 IN_CELL - Unconnected 228 OUT_CELL - Unconnected 229 1O_CELL - Unconnected 230 OUT_CELL - Unconnected 231 1O_CELL - Unconnected 232 OUT_CELL - Unconnected 233 1O_CELL - Unconnected 234 OUT_CELL - Unconnected 235 1IO_CELL - Unconnected 236 OUT_CELL - Unconnected 237 1IO_CELL - Unconnected 238 OUT_CELL - Unconnected 239 1IO_CELL - Unconnected 240 OUT_CELL - Unconnected 241 IO_CELL - Unconnected 242 OUT_CELL - Unconnected 243 lO_CELL - Unconnected 244 OUT_CELL - Unconnected 245 lO_CELL - Unconnected 246 OUT_CELL - Unconnected 247 lIO_CELL - Unconnected 248 OUT_CELL - Unconnected 249 lIO_CELL - Unconnected 250 OUT_CELL - Unconnected 251 lIO_CELL - Unconnected 252 OUT_CELL - PROPRIETARY AND CONFIDENTIAL 306r [\ fi ce PMC-Sierra, Inc. PM7384 FREEDM-84P672 a DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Pin/ Enable Register Bit Cell Type Device I.D. Unconnected 253 10_CELL - Unconnected 254 OUT_CELL - Unconnected 255 1IO_CELL - Unconnected 256 OUT_CELL - Unconnected 257 lIO_CELL - Unconnected 258 OUT_CELL - Unconnected 259 1O_CELL - Unconnected 260 OUT_CELL - Unconnected 261 1jO_CELL - Unconnected 262 OUT_CELL - Unconnected 263 lIO_CELL - Unconnected 264 OUT_CELL - Unconnected 265 1IO_CELL - Unconnected 266 OUT_CELL - Unconnected 267 lIO_CELL - Unconnected 268 OUT_CELL - Unconnected 269 {O_CELL - Unconnected 270 OUT_CELL - Unconnected 271 lO_CELL - Logic 0 272 IN_CELL - Logic 0 273 IN CELL - Logic 0 274 IN_CELL - Logic 0 275 IN_CELL - Logic 0 276 IN_CELL - Logic 0 277 IN_CELL - Logic 0 278 IN_CELL - Logic 0 279 IN_CELL - Logic 0 280 IN_CELL - Logic 0 281 IN_CELL - PROPRIETARY AND CONFIDENTIAL 307ri f\ cr PMC-Sierra, Inc. PM7384 FREEDM-84P672 a DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Pin/ Enable Register Bit Cell Type Device I.D. Logic 1 282 IN_CELL - Logic 1 283 IN_CELL - Logic 1 284 IN_CELL - Logic 4 285 IN_ CELL - Unconnected 286 OUT_CELL - Unconnected 287 OUT_CELL - Logic 0 288 IN_CELL - Logic 0 289 IN_CELL - Logic 0 290 IN_CELL - Logic 0 291 IN_CELL - Logic 0 292 IN_CELL - Logic 0 293 IN_CELL - Logic 0 294 IN_CELL - Logic 0 295 IN_ CELL - Logic 0 296 IN_CELL - Logic 0 297 IN_ CELL - Logic 0 298 IN_CELL - Logic 0 299 IN_CELL - Logic 0 300 IN_CELL - Logic 0 301 IN_CELL - Logic 0 302 IN_CELL - TA[12] 303 IN_CELL - Logic 0 304 IN_ CELL - Logic 0 305 IN_CELL - Logic 0 306 IN_CELL - TWRB 307 IN_CELL - Logic 0 308 IN_ CELL - TRDB 309 IN_CELL - Logic 0 310 IN_CELL - PROPRIETARY AND CONFIDENTIAL 308r- \ /\ Y PMC-Sierra, Inc. PM7384 FREEDM-84P672 a DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Pin/ Enable Register Bit Cell Type Device I.D. TA[11] 311 IN_CELL - Logic O 312 IN_CELL - TA[10] 313 IN_CELL - Logic 0 314 IN_CELL - TA[9] 315 IN_CELL - Logic 0 316 IN_CELL - TA[8]} 317 IN_CELL - Logic 0 318 IN_CELL - TA[7] 319 IN_CELL - Logic 0 320 IN_CELL - TA[6] 321 IN-CELL - Logic O 322 IN_CELL - Logic 0 323 IN_CELL - Logic 0 324 IN_CELL - TA[5] 325 IN_CELL - RSTB 326 IN_CELL - Logic O 327 IN_ CELL - TA[4] 328 IN_CELL - Logic 0 329 IN_CELL - TA[3] 330 IN_CELL - Logic 0 331 IN_CELL - TA[2] 332 IN_CELL - Logic 0 333 IN_CELL 1 TA[1] 334 IN_CELL 0 Logic O 335 IN_CELL 1 TAO] 336 IN_CELL 1 Logic O 337 IN_CELL 0 Logic O 338 IN_CELL 0 Logic 0 339 IN_CELL 1 PROPRIETARY AND CONFIDENTIAL 309r> MV c PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Pin/ Enable Register Bit Cell Type Device I.D. Logic 0 340 IN_CELL 1 Logic 0 341 IN_CELL 0 Logic 0 342 IN_CELL 0 Logic 0 343 IN_CELL 0 Logic 0 344 IN_CELL 0 Logic 0 345 IN_CELL 0 Logic 0 346 IN_CELL 0 SYSCLK 347 IN_CELL 1 Logic 0 348 IN_CELL 0 Logic 0 349 IN_ CELL 0 Logic 0 350 IN_CELL 0 Logic 0 351 IN_CELL 0 Logic 0 352 IN_CELL 1 Logic 0 353 IN_CELL 1 RCLK[2] 354 IN_CELL 1 RD[2] 355 IN_CELL 0 RCLK[1] 356 IN_CELL 0 RD[1] 357 IN_CELL 1 RCLK[O] 358 IN_CELL 1 RD[0] 359 IN_CELL 1 Logic 0 360 IN_CELL 0 Logic 0 361 IN_CELL 0 Logic 0 362 IN_CELL 1 Logic 0 363 IN_ CELL 0 Logic 0 364 IN_CELL 0 TDO TAP Output - TDI TAP Input - TCK TAP Clock - TMS TAP Input - PROPRIETARY AND CONFIDENTIAL 310rf f\ PMC-Sierra, Inc. PM7384 FREEDM-84P672 a DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Pin/ Enable Register Bit Cell Type Device I.D. TRSTB TAP Input - Notes: 1. Register bit 364 is the first bit of the scan chain (closest to TDI). 2. Enable cell pinname_OEN, tristates pin pinname when set high. 3. Cells Logic 0 and Logic 1 are Input Observation cells whose input pad is bonded to VSS or VDD internally. 4. Cells titled Unconnected are Output or Bi-directional cells whose pad is unconnected to the device package. In the case of bi-directional cells, the pad always drives (i.e. never tri-states) and the pad input is the same logic value as the pad output. Figure 16 Input Observation Cell (IN_CELL) IDCODE Scan Chain Out Input INPUT Pad to internal logic SHIFT-DR 2 MUX 12 12 1.D. Code bit CLOCK-DR Scan Chain In In this diagram and those that follow, CLOCK-DR is equal to TCK when the current controller state is SHIFT-DR or CAPTURE-DR, and unchanging otherwise. The multiplexor in the center of the diagram selects one of four inputs, depending on the status of select lines G1 and G2. The ID Code bit is as listed in the table above. PROPRIETARY AND CONFIDENTIAL 37roi fi PMC-Sierra, Inc. PM7384 FREEDM-84P672 ISSUE 4 DATASHEET PMC-1990445 FRAME ENGINE AND DATA LINK MANAGER 84P672 Figure 17 Output Cell (OUT_CELL) Scan Chain Out EXTEST G1 Output or from system logic Output or 1 1 Enable IDCODE SHIFT-DR |.D. code CLOCK-DR UPDATE-DR Scan Chain In Figure 18 Bi-directional Cell (1O_CELL) Scan Chain Out INPUT >to internal EXTEST G1 logic 1 i OUTPUT from T internal logic OUTPUT IDCODE G1 1 MUX ;* to pin SHIFT-DR G2 LL [UL INPUT Ts from pin T2 muxt_|p 12 1.D. code bit {], 5 pe SC CLOCK-DR - UPDATE-DR Scan Chain In PROPRIETARY AND CONFIDENTIAL 312r > [\ fi PMC-Sierra, inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Figure 19 - Layout of Output Enable and Bi-directional Cells Scan Chain Out OUTPUT ENABLE from internal tw| OUT_CELL logic (0 = drive) Scan Chain In Scan " Out INPUT to internal logic <4 iO CELL OUTPUT from p} + internal logic n Scan Chain In PROPRIETARY AND CONFIDENTIAL 313r> [\ fi q PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET Cee aaa PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 13. OPERATIONS This section presents operating details for the JTAG boundary scan feature. 13.1 JTAG Support The FREEDM-84P672 supports the IEEE Boundary Scan Specification as described in the IEEE 1149.1 standards. The Test Access Port (TAP) consists of the five standard pins, TRSTB, TCK, TMS, TDI and TDO used to control the TAP controller and the boundary scan registers. The TRSTB input is the active low reset signal used to reset the TAP controller. TCK is the test clock used to sample data on input, TDI and to output data on output, TDO. The TMS input is used to direct the TAP controller through its states. The basic boundary scan architecture is shown below. PROPRIETARY AND CONFIDENTIAL 314rlVi PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET Cee reer errr reer ee eee a PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Figure 20 - Boundary Scan Architecture TD! 4 Boundary Scan Register Lp Device Identification Register Bypass Register > Instruction Mux Register >, DFF po and TDO Decode ste Control Test Select Access Port . 3 Controller Tri-state Enable TRSTB TCK > The boundary scan architecture consists of a TAP controller, an instruction register with instruction decode, a bypass register, a device identification register and a boundary scan register. The TAP controller interprets the TMS input and generates control signals to load the instruction and data registers. The instruction register with instruction decode block is used to select the test to be executed and/or the register to be accessed. The bypass register offers a single bit delay from primary input, TDI to primary output , TDO. The device identification register contains the device identification code. The boundary scan register allows testing of board inter-connectivity. The boundary scan register consists of a shift register placed in series with device inputs and outputs. Using the boundary scan register, all digital inputs can be PROPRIETARY AND CONFIDENTIAL 315ri fi PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 sampled and shifted out on primary output TDO. In addition, patterns can be shifted in on primary input, TDI and forced onto all digital outputs. TAP Controller The TAP controller is a synchronous finite state machine clocked by the rising edge of primary input, TCK. All state transitions are controlled using primary input, TMS. The finite state machine is described below. PROPRIETARY AND CONFIDENTIAL 316r- [\ I PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Figure 21 TAP Controller Finite State Machine [rrste-o ( Test-Logic-Reset}@ 1 fo 1 1 1 Run-Test-Idle ! Select-DR-Scan[>|_:s Select-IR-Scan 0 A | 0 | 0 1 1 Capture-DR Capture-IR y 0 y 0 y Shift-DR > Shift-IR | 1 0 i 1 lo 1 1 Exit1-DR PP Exit1-IR 1 0 y 0 y Pause-DR Pause-IR y 1 ] \ 1 [o. 0 0 Exit2-DR Exit2-IR tr q Update-DR [ Update-IR 4 Y 0 { 0 v All transitions dependent on input TMS PROPRIETARY AND CONFIDENTIAL 317r> [\ v, Y PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET eer PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Test-Logic-Reset The test logic reset state is used to disable the TAP logic when the device is in normal mode operation. The state is entered asynchronously by asserting input, TRSTB. The state is entered synchronously regardless of the current TAP controller state by forcing input, TMS high for 5 TCK clock cycles. While in this state, the instruction register is set to the IDCODE instruction. Run-Test-Idle The run test/idle state is used to execute tests. Capture-DR The capture data register state is used to load parallel data into the test data registers selected by the current instruction. If the selected register does not allow parallel loads or no loading is required by the current instruction, the test register maintains its value. Loading occurs on the rising edge of TCK. Shift-DR The shift data register state is used to shift the selected test data registers by one stage. Shifting is from MSB to LSB and occurs on the rising edge of TCK. Update-DR The update data register state is used to load a test register's parallel output latch. In general, the output latches are used to control the device. For example, for the EXTEST instruction, the boundary scan test register's parallel output latches are used to control the device's outputs. The parallel output latches are updated on the falling edge of TCK. Capture-IR The capture instruction register state is used to load the instruction register with a fixed instruction. The load occurs on the rising edge of TCK. Shift-IR The shift instruction register state is used to shift both the instruction register and the selected test data registers by one stage. Shifting is from MSB to LSB and occurs on the rising edge of TCK. PROPRIETARY AND CONFIDENTIAL 318rl f\ PMC-Sierra, inc. PM7384 FREEDM-84P672 DATASHEET ee aaa PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Update-IR The update instruction register state is used to load a new instruction into the instruction register. The new instruction must be scanned in using the Shift-IR state. The load occurs on the falling edge of TCK. The Pause-DR and Pause-IR states are provided to allow shifting through the test data and/or instruction registers to be momentarily paused. Boundary Scan Instructions The following is a description of the standard instructions. Each instruction selects a serial test data register path between input, TDI and output, TDO. BYPASS The bypass instruction shifts data from input, TDI to output, TDO with one TCK clock period delay. The instruction is used to bypass the device. EXTEST The external test instruction allows testing of the interconnection to other devices. When the current instruction is the EXTEST instruction, the boundary scan register is place between input, TDI and output, TDO. Primary device inputs can be sampled by loading the boundary scan register using the Capture-DR state. The sampled values can then be viewed by shifting the boundary scan register using the Shift-DR state. Primary device outputs can be controlled by loading patterns shifted in through input TDI into the boundary scan register using the Update-DR state. SAMPLE The sample instruction samples all the device inputs and outputs. For this instruction, the boundary scan register is placed between TDI and TDO. Primary device inputs and outputs can be sampled by loading the boundary scan register using the Capture-DR state. The sampled values can then be viewed by shifting the boundary scan register using the Shift-DR state. IDCODE The identification instruction is used to connect the identification register between TDI and TDO. The device's identification code can then be shifted out using the Shift-DR state. PROPRIETARY AND CONFIDENTIAL 319r > [\ fl PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 STCTEST The single transport chain instruction is used to test out the TAP controller and the boundary scan register during production test. When this instruction is the current instruction, the boundary scan register is connected between TDI and TDO. During the Capture-DR state, the device identification code is loaded into the boundary scan register. The code can then be shifted out output, TDO using the Shift-DR state. INTEST The internal test instruction is used to exercise the device's internal core logic. When this instruction is the current instruction, the boundary scan register is connected between TDI and TDO. During the Update-DR state, patterns shifted in on input, TDI are used to drive primary inputs. During the Capture-DR state, primary outputs are sampled and loaded into the boundary scan register. PROPRIETARY AND CONFIDENTIAL 320r- [\ i on PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 14. FUNCTIONAL TIMING 14.1 SBI DROP BUS Interface Timin Figure 22 - T1/E1 DROP BUS Functional Timing REFCLK> pte CI1FPO sss DDATA[7:0] Ci.~C;~C~*~*~ssCtesi(st(CSSCSSCS SO, V5 DOF. DPR rs DVS sss 7 - DDP CO TT ~ Figure 22 illustrates the operation of the SBI DROP BUS, using a negative justification on the second to last V3 octet as an example. The justification is indicated by asserting DPL high during the V3 octet. The timing diagram also shows the location of one of the tributaries by asserting DV5 high during the V5 octet. Figure 23 DS3 DROP BUS Functional Timing REFCLK Se CIFP > eee DDATA[7:0] = C1__ se H3 H3 _H3._OOS-3 #1 DS-3 #2 DS-3 #3DS-3 #1 DPE DVS tte _ DDP tt Z Figure 23 shows three DS-3 tributaries mapped onto the SBI bus. A negative justification is shown for DS-3 #2 during the H3 octet with DPL asserted high. A positive justification is shown for DS-3#1 during the first DS-3#1 octet after H3 which has DPL asserted low. PROPRIETARY AND CONFIDENTIAL 321r 2 [\ A c PMC-Sierra, inc. PM7384 FREEDM-84P672 DATASHEET Caen PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 14.2 SBI ADD BUS Interface Timin Figure 24 - DS3 Add Bus Adjustment Request Functional Timing REFCLK CIFP _ ADATA[?:0) C1 ee SH S-3 #1 DS-3#2DS-3 #BDS-3 1 APL ees AVS ee ee ee ADP AJUSTREQ Oc AACTIVE eee oo oo Figure 24 illustrates the operation of the SBI ADD BUS, using positive and negative justification requests as an example. (The responses to the justification requests would take effect during the next multi-frame.) The negative justification request occurs on the DS-3#3 tributary when AJUST_REQ is asserted high during the H3 octet. The positive justification occurs on the DS-3#2 tributary when AJUST_REQ is asserted high during the first DS-3#2 octet after the H3 octet. The AACTIVE signal is shown for the case in which FREEDM- 84P672 is only driving DS-3#2 onto the SBI ADD bus. 14.3 Receive Link Timing The timing relationship of the receive clock (RCLK[n]) and data (RD[n]) signals is shown in Figure 25. The receive data is viewed as a contiguous serial stream. | There is no concept of time-slots or framing. Every eight bits are grouped together into a byte with arbitrary alignment. The first bit received (B1 in Figure | 25) is deemed the most significant bit of an octet. The last bit received (B8) is deemed the least significant bit. Bits that are to be processed by the FREEDM- 84P672 are clocked in on the rising edge of RCLK[n]. Bits that should be ignored (X in Figure 25) are squelched by holding RCLK[n] quiescent. In Figure | 25, the quiescent period is shown to be a low level on RCLK[n]. A high level, effected by extending the high phase of the previous valid bit, is also acceptable. Selection of bits for processing is arbitrary and is not subject to any byte alignment nor frame boundary considerations. PROPRIETARY AND CONFIDENTIAL 322r > [\ f\ \ PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Figure 25 Receive Link Timing RcLKin) PULA _TS mA RD[n] |B1] 82/63] B4] x |B5| x | X | x |Be|B7| B8/B1] x | 14.4 Transmit Link Timing The timing relationship of the transmit clock (TCLK[n]) and data (TD[n]) signals is shown in Figure 26. The transmit data is viewed as a contiguous serial stream. There is no concept of time-slots or framing. Every eight bits are grouped together into a byte with arbitrary byte alignment. Octet data is transmitted from most significant bit (B1 in Figure 26) and ending with the least significant bit (B8 in Figure 26). Bits are updated on the falling edge of TCLK[n]. A transmit link may be stalled by holding the corresponding TCLK[n] quiescent. In Figure 26, bits B5 and B2 are shown to be stalled for one cycle while bit B6 is shown to be stalled for three cycles. In Figure 26, the quiescent period is shown to be a low level on TCLK[n]. A high level, effected by extending the high phase of the previous valid bit, is also acceptable. Gapping of TCLK[n] can occur arbitrarily without regard to byte nor frame boundaries. Figure 26 Transmit Link Timing TeLkKin) PLLA AA _ TD[n] |B1/B2/B3/B4] BS | Be [B7|Ba|B1] B2 14.5 PCI Interface A PCI burst read cycle is shown In Figure 27. The cycle is valid for target and initiator accesses. The target is responsible for incrementing the address during the data burst. The 'T' symbol stands for a turn around cycle. A turn around cycle is required on all signals which can be driven by more than one agent. During Clock 1, the initiator drives FRAMEB to indicate the start of a cycle. It also drives the address onto the AD[31:0] bus and drives the C/BEB[3:0] lines with the read command. In the example below, the command would indicate a burst read. The IRDYB, TRDYB and DEVSELB signals are in turnaround mode (i.e. no agent is driving the signals for this clock cycle). This cycle on the PCI bus is called the address phase. PROPRIETARY AND CONFIDENTIAL 323r ai / ae PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 During Clock 2, the initiator ceases to drive the AD[31:0] bus in order that the target can drive it in the next cycle. The initiator also drives the C/BEB[3:0] lines with the byte enables for the read data. IRDYB is driven active by the initiator to indicate it is ready to accept the data transfer. All subsequent cycles on the PCI bus are called data phases. During Clock 3, the target claims the transaction by driving DEVSELB active. It also places the first data word onto the AD[31:0] bus and drives TRDYB to indicate to the initiator that the data is valid. During Clock 4, the initiator latches in the first data word. The target negates TRDYEB to indicate to the initiator that it is not ready to transfer another data word. During Clock 5, the target places the second data word onto the AD[31:0] bus and drives TRDYB to indicate to the initiator that the data is valid. During Clock 6, the initiator latches the second data word and negates IRDYB to indicate to the target that it is not ready for the next transfer. The target shall drive the third data word until the initiator accepts it. During Clock 7, the initiator asserts IRDYB to indicate to the target it is ready for the third data word. It also negates FRAMEB since this shall be the last transfer. During Clock 8, the initiator latches in the last word and negates IRDYB. The target, having seen FRAMEB negated in the last clock cycle, negates TRDYB and DEVSELB. All of the above signals shall be driven to their inactive state in this clock cycle, except for FRAMEB which shall be tristated. The target shall stop driving the AD[31:0] bus and the initiator shall stop driving the C/BEB[3:0] bus; this shall be the turnaround cycle for these signals. PROPRIETARY AND CONFIDENTIAL 324i > [\ I PMC-Sierra, inc. PM7384 FREEDM-84P672 DATASHEET ee a PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Figure 27 PCI Read Cycle 4 5 6 7 8 9 poiik | LP LS LP LP LILI Le Li FRAMEB ] Oo AD[31:0] Addresst- D]_atat_ | Data2] _Datags___ <<] C/BEB[3:0] BusCmd| Byte Enable | Byte Enable | Byte Enable _}--)- IRDbYB ] [Lf TRDYB | | | | DEVSELB | A PCI burst write transaction is shown in Figure 28. The cycle is valid for target and initiator accesses. The target is responsible for incrementing the address for the duration of the data burst. The 'T symbol stands for a turn around cycle. A turn around cycle is required on all signals which can be driven by more than one agent. During clock 1, the initiator drives FRAMEB to indicate the start of a cycle. It also drives the address onto the AD[31:0] bus and drives the C/BEB[3:0] lines with the write command (in the above example the command would indicate a burst write). The IRDYB, TRDYB and DEVSELB signals are in turnaround mode (no agent is driving the signals for this clock cycle). This cycle on the PCI bus is called the address phase. During clock 2, the initiator ceases to drive the address onto the AD[31:0] bus and starts driving the first data word. The initiator also drives the C/BEB[3:0] lines with the byte enables for the write data. IRDYB is driven active by the initiator to indicate it is ready to accept the data transfer. The target claims the transaction by driving DEVSELB active and drives TRDYB to indicate to the initiator that it is ready to accept the data. All subsequent cycles on the PCI bus are called data phases. During clock 3, the target latches in the first data word. The initiator starts to drive the next data word onto the AD[31:0] lines. During clock 4, the target latches in the second data word. Both the initiator and the target indicate that they are not ready to transfer any more data by negating the ready lines. PROPRIETARY AND CONFIDENTIAL 325r-[\ fi PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 During clock 5, the initiator is ready to transfer the next data word so it drives the AD[31:0] lines with the third data word and asserts IRDYB. The initiator negates FRAMEB since this is the last data phase of this cycle. The target is still not ready so a wait state shall be added. During clock 6, the target is still not ready so another wait state is added. During clock 7, the target asserts TRDYB to indicate that it is ready to complete the transfer. During clock 8, the target latches in the last word and negates TRDYB and DEVSELB, having seen FRAMEB negated previously. The initiator negates IRDYB. All of the above signals shall be driven to their inactive state in this clock cycle except for FRAMEB which shall be tristated. Figure 28 PCI Write Cycle 1 2 3 4 5 6 7 8 9 PeiclkK [| LJ LI LI LI LI LI LI LI | FRAMEB | @ AD[31:0] {Address[Datat | Data2 | Data 3 -Ho_ C/BEB[3:0] Bus Cmd [ Byte En] Byte En| Byte Enable tT} IRDYB c | | | trove OOOO DEVsELB O] rc The PCI Target Disconnect (Figure 29) illustrates the case when the target wants to prematurely terminate the current cycle. Note, when the FREEDM-84P672 is the target, it never prematurely terminates the current cycle. A target can terminate the current cycle by asserting the STOPB signal to the initiator. Whether data is transferred or not depends on the state of the ready signals at the time that the target disconnects. If the FREEDM-84P672 is the initiator and the target terminates the current access, the FREEDM-84P672 will retry the access after two PCI bus cycles. During clock 1, an access is in progress. PROPRIETARY AND CONFIDENTIAL 326r? I\ /| \ PMC-Sierra, inc. PM7384 FREEDM-84P672 PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 DATASHEET During clock 2, the target indicates that it wishes to disconnect by asserting STOPB. Data may be transferred depending on the state of the ready lines. During clock 3, the initiator negates FRAMEB to signal the end of the cycle. During clock 4, the target negates STOPB and DEVSELB in response to the FRAMEB signal being negated. Figure 29 PCI Target Disconnect DEVSELB | The PC! Target Abort Diagram (Figure 30) illustrates the case when the target wants to abort the current cycle. Note, when the FREEDM-84P672 is the target, it never aborts the current cycle. A target abort is an indication of a serious error and no data is transferred. A target can terminate the current cycle by asserting STOPB and negating DEVSELB. If the FREEDM-84P672 is the initiator and the target aborts the current access, the abort condition is reported to the PCI Host. During clock 1, a cycle is in progress. During clock 2, the target negates DEVSELB and TRDYB and asserts STOPB to indicate an abort condition to the initiator. During clock 3, the initiator negates FRAMEB in response to the abort request. During clock 4, the target negates STOPB signal in response to the FRAMEB signal being negated. PROPRIETARY AND CONFIDENTIAL 327r [\ fi PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET eee eee ee eee PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Figure 30 PCI Target Abort 1 2 3 4 5 6 PciclK_ [| L_J L_J LJ FRAMEB TRDYB sTtopBti( i\ fi \ PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET a PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Figure 36 - SBI DROP BUS Timing REFCLK tS spipRop tHspipRop DDATAI7:0] DDP, DPL DV5 Table 47 - SBI ADD BUS (Figure 37 to Figure 38) Symbol Description Min Max Units tSspiapp | AJUST_REQ Set-Up Time to REFCLK | 4 ns tHspiapp ~= | AJUST_REQ Hold Time to REFCLK 1 ns tPaactive | REFCLK to AACTIVE Valid 2 18 ns tPspiapp REFCLK to All SBI ADD BUS Outputs 2 20 ns (except AACTIVE) Valid tZspiapp REFCLK to All SBI ADD BUS Outputs 2 20 ns (except AACTIVE) Tristate tPouTEN ADETECT[1] and ADETECT[0] low to 0 15 ns All SB! ADD BUS Outputs (except AACTIVE) Valid tZouTEN ADETECT[1] or ADETECT[O] high to All | 0 15 ns SBI ADD BUS Outputs (except AACTIVE) Tristate PROPRIETARY AND CONFIDENTIAL 338PM c" PMC-Sierra, Inc. DATASHEET PMC-1990445 ISSUE 4 Figure 37 - SBI ADD BUS Timing FRAME ENGINE AND DATA LINK MANAGER 84P672 PM7384 FREEDM-84P672 REFCLK \ y \ t tSsiapp Pett asiapp AJUST_REQ Me tPaactive AACTIVE + tPspiapp ADATAI7:0] ADP, APL, AV5 ttZspiapp ADATA|7:0] ADP, APL, AV5 Figure 38 SBI ADD BUS Collision Avoidance Timing ADETECT[n] tPouTEN tZouTeN > ADATAI7:0] ADP, APL, AV5 PROPRIETARY AND CONFIDENTIAL 339DATASHEET PMC-1990445 PV Cc PMC-Sierra, Inc. ISSUE 4 PM7384 FREEDM-84P672 FRAME ENGINE AND DATA LINK MANAGER 84P672 Table 48 Clock/Data Input (Figure 39) Symbol Description Min Max Units RCLK[2:0] Frequency 51.84 | MHz RCLK[2:0] Duty Cycle 40 60 % tSrp RD[2:0] Set-Up Time ns tHrp RD[2:0] Hold Time 2 ns Figure 39 Receive Data Timing RCLK[n] \ A \ tSrp te tHrp RD[n] Table 49 Clock/Data Output (Figure 40) Symbol Description Min Max Units TCLK[2:0] Frequency 51.84 | MHz TCLK[2:0] Duty Cycle 40 60 % tPrp TCLK[2:0] Low to TD[2:0] Valid 3 12 ns Figure 40 Transmit Data Timing TCLK[n] / e tPtp VW / TD[n] PROPRIETARY AND CONFIDENTIAL 340r- [\ fi Y PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Table 50 PCI Interface (Figure 41) Symbol Description Min Max Units PCICLK Frequency (See Note 1) 25 66 MHz PCICLK Duty Cycle 40 60 % tSpc, All PCI Input and Bi-directional Set- | 4 ns up time to PCICLK tHpc| All PCI Input and Bi-directional Hold | 0.5 ns time to PCICLK tPpc) PCICLK to all PCI Outputs Valid 2 8.5 ns tZpc| PCI Output active from PCICLK to 14 ns Tristate tZNpc) All PC! Outputs Tristate from 2 ns PCICLK to active Notes on PCI Timing: 1. PCICLK cannot change frequency without resetting the FREEDM-84P672 device. 2. The phrase all PCI Outputs in the above table excludes PCIINTB and PCICLKO. PROPRIETARY AND CONFIDENTIAL 341DATASHEET PMC-1990445 rv c PMC-Sierra, Inc. ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 PM7384 FREEDM-84P672 Figure 41 PCI Interface Timing PCICLK \ Data Valid ts tH PCl >} PCI ) PC! INPUT tP PCI ) PClt OUTPUT tZ }+ *" PCI PCI TRISTATE OUTPUT PCI TRISTATE OUTPUT Table 51 JTAG Port Interface (Figure 42) ere Data Valid A Date Vale Symbol Description Min Max Units TCK Frequency 1 MHz TCK Duty Cycle 40 60 % tStms TMS Set-up time to TCK 50 ns tHtms TMS Hold time to TCK 50 ns tStp) TDI Set-up time to TCK 50 ns tHrp) TDI Hold time to TCK 50 ns tPrpo TCK Low to TDO Valid 2 60 ns PROPRIETARY AND CONFIDENTIAL 342r- I\ fi c* PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 Figure 42 JTAG Port Interface Timing TCK \ jf \ tStms+te tHtms TMS tStp he tH tp) TDI ._'P too TDO PROPRIETARY AND CONFIDENTIAL 343r [\ A \ PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 18 | ORDERING AND THERMAL INFORMATION Table 52 FREEDM-84P672 Ordering Information | PART NO. DESCRIPTION PM7384-Bl 352 Enhanced Ball Grid Array (SBGA) Table 53 - FREEDM-84P672 Thermal Information | PART NO. CASE TEMPERATURE Theta Ja | Theta Jc PM7384-Bl -40C to +85C 19 CWW | <1 C/W | PROPRIETARY AND CONFIDENTIAL 344r-i\ fi PMC-Sierra, Inc. PM7384 FREEDM-84P672 a PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 DATASHEET 19 MECHANICAL INFORMATION Figure 43 352 Pin Enhanced Ball Grid Array (SBGA) aI (4x) A=] DIM Al BALL CORNER D Al BALL . / CORNER \ 25 (23 26 78 3 ul 7 Tl / [B= ae ate ale 26] 26 22 20 18 16 46 2 8 6 4 2 6 i [ie HTC] PTT TA . bor ple ne Plo: Al BALL LD. 7 da. dee INK MARK + a : a H : $s : , K | 4) oie E b 1, ELN - ea vl A a coe |Wy see : . Piiii AD t i wana oF TOP VIEW s | bs A A2 A tit ZEEE] | BOTTOM VIEW a Ep DIE SIDE err _ 0.20 MIN Al SIDE VIEW SEATING PLANE OOO OF t Notes: |) ALL DIMENSIONS IN MILLIMETER. \ i 2) DIMENSION 1. DENOTES PACKAGE BODY PROFILE 7 3) DIMENSION =: DENOTES PARALLEL caleec le 4) DIMENSION ccc DENOTES FLATNESS . 5) DIMENSION |i: DENOTES COPLANARITY A-A SECTION VIEW PACKAGE TYPE: 352 PIN THERMAL BALL GRID ARRAY BODY SIZE: 35 x 35 x 1.51 MM Dim. A Al A2 D DI E El | MN] j bh ccc | aa 4 $s Min. | 1.30 | 0.50 | 0.80 [34.90] 31.65/34.901 31.65 0.60 0.50 Nom. | 1.51 | 0.60] 0.91 |35.00.31.75 /35.00] 31.75|26x26) 1.27 | 0.75 0.635 max. | 1.70 | 0.70 | 1.00 ]35.10/[31.85 [35.10 | 31.85 0.90] 0.20] 0.25] 0.20] 0.20 PROPRIETARY AND CONFIDENTIAL 345r- [\ y/ Y PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET a PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 NOTES PROPRIETARY AND CONFIDENTIAL 346# r > [\ I a PMC-Sierra, Inc. PM7384 FREEDM-84P672 DATASHEET PMC-1990445 ISSUE 4 FRAME ENGINE AND DATA LINK MANAGER 84P672 CONTACTING PMC-SIERRA, INC. PMC-Sierra, Inc. 105-8555 Baxter Place Burnaby, BC Canada V5A 4V7 Tel: (604) 415-6000 Fax: (604) 415-6200 Document Information: document@pmc-sierra.com Corporate Information: info@pmc-sierra.com Application Information: apps@pmc-sierra.com Web Site: http://www.pmc-sierra.com None of the information contained in this document constitutes an express or implied warranty by PMC-Sierra, Inc. as to the sufficiency, fitness or suitability for a particular purpose of any such information or the fitness, or suitability for a particular purpose, merchantability, performance, compatibility with other parts or systems, of any of the products of PMC-Sierra, Inc., or any portion thereof, referred to in this document. PMC-Sierra, Inc. expressly disclaims all representations and warranties of any kind regarding the contents or use of the information, including, but not limited to, express and implied warranties of accuracy, completeness, merchantability, fitness for a particular use, or non-infringement. in no event will PMC-Sierra, inc. be liable for any direct, indirect, special, incidental or consequential damages, including, but not limited to, lost profits, lost business or lost data resulting from any use of or reliance upon the information, whether or not PMC-Sierra, Inc. has been advised of the possibility of such damage. 2000 PMC-Sierra, Inc PMC-1990445 (r4) ref PMC-1981262 (r4) Issue date: July 2000 PMC-Sierra, Inc. 105 - 8555 Baxter Place Bumaby, BC Canada V5A 4V7 604.415.6000