US7257654B1 - PCI bridge device configured for using JTAG scan for writing internal control registers and outputting debug state - Google Patents

PCI bridge device configured for using JTAG scan for writing internal control registers and outputting debug state Download PDF

Info

Publication number
US7257654B1
US7257654B1 US10/983,646 US98364604A US7257654B1 US 7257654 B1 US7257654 B1 US 7257654B1 US 98364604 A US98364604 A US 98364604A US 7257654 B1 US7257654 B1 US 7257654B1
Authority
US
United States
Prior art keywords
prescribed
jtag
configuration
interface
logic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active, expires
Application number
US10/983,646
Inventor
Richard W. Reeves
Austen John Hypher
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Advanced Micro Devices Inc
Original Assignee
Advanced Micro Devices Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Advanced Micro Devices Inc filed Critical Advanced Micro Devices Inc
Priority to US10/983,646 priority Critical patent/US7257654B1/en
Assigned to ADVANCED MICRO DEVICES, INC. reassignment ADVANCED MICRO DEVICES, INC. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: HYPHER, AUSTEN JOHN, REEVES, RICHARD W.
Application granted granted Critical
Publication of US7257654B1 publication Critical patent/US7257654B1/en
Active legal-status Critical Current
Adjusted expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4004Coupling between buses
    • G06F13/4022Coupling between buses using switching circuits, e.g. switching matrix, connection or expansion network
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/317Testing of digital circuits
    • G01R31/3181Functional testing
    • G01R31/3185Reconfiguring for testing, e.g. LSSD, partitioning
    • G01R31/318533Reconfiguring for testing, e.g. LSSD, partitioning using scanning techniques, e.g. LSSD, Boundary Scan, JTAG
    • G01R31/318555Control logic
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/317Testing of digital circuits
    • G01R31/3181Functional testing
    • G01R31/3185Reconfiguring for testing, e.g. LSSD, partitioning
    • G01R31/318533Reconfiguring for testing, e.g. LSSD, partitioning using scanning techniques, e.g. LSSD, Boundary Scan, JTAG
    • G01R31/318572Input/Output interfaces

Definitions

  • the present invention relates to integrated network devices having Peripheral Component Interconnect (PCI) bridges.
  • PCI Peripheral Component Interconnect
  • PCI Peripheral Component Interconnect
  • FIG. 1 is a diagram illustrating a conventional implementation of a PCI bus system architecture 100 .
  • the system 100 includes a processor 102 coupled to a memory controller 104 via a local bus 106 .
  • the processor 102 and the memory controller 104 are coupled to a PCI local bus 106 (labeled PCI Local Bus #0) via a host bridge 108 .
  • PCI Local Bus #0 PCI Local Bus #0
  • the host bridge 108 provides a low latency path through which the processor 102 may directly access PCI devices 110 , for example a network interface card 111 a providing access to a local area network, a disc drive (SCSI) controller 110 b providing access to disk drives 114 , an audio card 10 c , a motion picture card 111 d , or a graphics card 110 e configured for driving a monitor 116 .
  • the host bridge 108 also provides a high bandwidth path allowing PCI masters on the PCI bus 106 direct access to the system memory 118 via the memory controller 104 .
  • a cache memory 120 is independent of the system memory 118 for use by the processor 102 .
  • the term “host bridge” refers to the bridge device 108 that provides access to the system memory 118 for the devices 110 connected to the PCI bus 106 .
  • a PCI-to-PCI bridge 122 also may be used to connect a second PCI bus 124 to the PCI bus 106 , the second PCI bus 124 configured for connecting other I/O devices 126 .
  • PCI-X Mode 2 Newer PCI bus protocols are being published, including PCI-X Mode 2, that provide enhanced PCI functionality. These newer PCI bus protocols include the PCI Local Bus Specification, Rev 2.3, the PCI-X Protocol Addendum to the PCI Local Bus Specification, Rev. 2.0a, and the PCI-to-PCI Bridge Architecture Specification, Rev 1.2.
  • a particular problem encountered during development of new devices involves providing sufficient functionality within the new devices for configuration and testing, thereof, without substantially increasing the cost, complexity, or size of the new device.
  • One technique for modifying default settings involved bypassing initial default settings of internal control registers having been stored in the device within an internal read-only memory (ROM).
  • the initial default settings are stored in the ROM internal to the device as part of the device manufacture: if the device is implemented as an ASIC, the initial default settings could be stored in the ROM by mask programming.
  • the device also could include an external ROM interface that would enable connection of an external ROM that would include updated default settings that superseded the initial default settings stored internally; hence, on powerup the device could be reprogrammed by its scanning the updated default settings from the external ROM via the external ROM interface, effectively replacing the initial default settings.
  • JTAG Joint Test Action Group
  • JTAG Specification The Joint Test Action Group (JTAG) published IEEE 1149.x, “IEEE Standard Test Access Port and Boundary-Scan Architecture” (referred to herein as the “JTAG Specification”).
  • JTAG features normally have been used to facilitate production testing of printed circuit boards.
  • the JTAG Specification defines test logic that can be included in an integrated circuit to provide standardized approaches for testing interconnections between integrated circuits mounted on a printed circuit board.
  • the JTAG Specification overcomes difficulties in testing printed circuit boards implemented based on surface mount interconnection technology by defining a framework for conveying test data to or from the boundaries of individual components so that they can be tested as if they were freestanding.
  • a “boundary scan interface” has boundary-scan register cells connected to pins of a component to form a shift register chain around the border of the design of the component.
  • the JTAG Specification allows interconnections between components to be tested without the necessity of a complex “bed-of-nails” type testing system.
  • the JTAG Specification allows components on the board to be tested by isolating on-chip system logic from external stimuli from surrounding components while performing an internal self-test of the on-chip system logic; alternatively, a static test of the on-chip system logic can be implemented by supplying test data to the component via the JTAG interface, and examining the test results output via the JTAG interface.
  • an integrated device e.g., an integrated PCI bridge device
  • the write logic is configured for writing selected portions of the serial input stream into respective selected ones of the configuration registers, based on a detected input indicating a JTAG-based override.
  • the debug read logic is configured, in response to a detected debug mode, for outputting selected internal state values for the serial output stream, based on selection values from the serial input stream and having been stored in a prescribed at least one of the selected configuration registers.
  • the integrated PCI bridge device is able to overwrite existing default configuration values via a JTAG interface, eliminating the necessity of an external ROM interface and associated logic. Further, the integrated PCI bridge device enables internal state values to be retrieved via the JTAG interface, eliminating the necessity of a logic analyzer and enabling retrieval and evaluation aof the internal state values using a software-based program executable by a computer.
  • One aspect of the present invention provides a method in an integrated device having a JTAG interface.
  • the method includes detecting by the integrated device a prescribed device input for a JTAG-based override, and receiving by the JTAG interface of the integrated device a JTAG clock and a serial input stream according to the JTAG clock.
  • the method also includes detecting within the serial input stream a prescribed instruction for writing of configuration values into respective prescribed selected configuration registers.
  • the method also includes selectively writing, based on detecting the prescribed device input and the prescribed instruction, the configuration values from within the serial input stream into the respective prescribed selected configuration registers of the integrated device.
  • Another aspect of the present invention provides an integrated device comprising configuration registers, a JTAG interface, and write logic.
  • the configuration registers are configured for storing respective configuration values
  • the JTAG interface configured for receiving a JTAG clock and a serial input stream according to the JTAG clock.
  • the write logic is configured for detecting within the serial input stream a prescribed instruction for writing of configuration values into respective prescribed selected configuration registers.
  • the write, logic also is configured for selectively writing, based on the prescribed instruction and detection of a prescribed device input specifying a JTAG-based override, selected portions of the serial input stream into the respective selected ones of the configuration registers as the prescribed selected configuration registers.
  • FIG. 1 is a block diagram of a conventional (PRIOR ART) implementation of a PCI based system.
  • FIG. 2 is a diagram of a PCI host bridge device according to an embodiment of the present invention.
  • FIG. 3 is a second diagram of the PCI host bridge device of FIG. 2 , illustrating write logic and debug read logic for storage and retrieval of data via a JTAG interface, according to an embodiment of the present invention.
  • FIG. 4 is a diagram illustrating the portions of a serial data stream of a JTAG scan chain supplied to respective registers according to a prescribed register sequence, according to an embodiment of the present invention.
  • FIG. 5 is a diagram illustrating in further detail the supply of portions of the serial data stream, associated with a prescribed register, to prescribed portions of the register by the write logic of FIG. 3 , according to an embodiment of the present invention.
  • FIG. 6 is a diagram illustrating in further detail the write logic of FIG. 3 .
  • FIG. 7 is a diagram illustrating the method of writing to internal control registers using the JTAG boundary scan chain, according to an embodiment of the present invention.
  • FIG. 8 is a diagram illustrating the method of outputting debug state information to a JTAG boundary scan chain, according to an embodiment of the present invention.
  • FIG. 9 is a diagram illustrating in detail the write logic of FIG. 3 , according to an embodiment of the present invention.
  • FIG. 2 is a diagram illustrating the transport tunnel-to-PCI host bridge device 10 , according to an embodiment of the present invention.
  • the transport tunnel-to-PCI host bridge device 10 preferably implemented as an integrated circuit on a single chip, is configured for operating as a HyperTransportTM (HT) tunnel device according to the HyperTransportTM IO Link Specification, Rev. 2.0, including errata up to specification Rev. 1.05c.
  • HT HyperTransportTM
  • the transport tunnel-to-PCI host bridge device 10 includes two HT interfaces 12 a and 12 b labeled “Side 0 ” and “Side 1 ”, respectively.
  • HT packets received by a given interface (e.g., 12 a ) from an HT bus 14 can be passed through the device 10 to the other interface (e.g., 12 b ) (i.e., tunneled), enabling multiple HT tunnel devices to be connected serially (e.g., a daisy-chain arrangement) to form an HT chain on the bus 14 for transfer of HT packets.
  • the HT interface (e.g., 12 a ) that is connected to (or toward) a HyperTransportTM host device (e.g., a host memory controller) is referred to as the “upstream” interface, and the other HT interface (e.g., 12 b ) is referred to as the “downstream” interface: if the upstream interface (e.g., 12 a ) is directly connected to the HyperTransportTM host device via the corresponding connected HT tunnel 14 , then that tunnel connecting the upstream interface to the HyperTransportTM host device is referred to as the “upstream link”; if the upstream interface (e.g., 12 a ) is connected to a second HT device via an HT tunnel, where the second HT device provides a connection to (or toward) the HyperTransportTM host device, then that HT tunnel connecting the upstream interface and the second HT device is referred to as the “upstream tunnel”. Note
  • the transport tunnel-to-PCI host bridge device 10 also provides bridging operations between the HT bus 14 and PCI buses 16 a and/or 16 b .
  • the transport tunnel-to-PCI host bridge device 10 contains two independent HT-to-PCI-X bridges 18 a and 18 b in accordance with the HyperTransportTM Link Specification, Rev. 2.0, the PCI Local Bus Specification, Rev 2.3, the PCI-X Protocol Addendum to the PCI Local Bus Specification, Rev. 2.0a, and the PCI-to-PCI Bridge Architecture Specification, Rev 1.2.
  • the transport tunnel-to-PCI host bridge device 10 includes configurable registers ( 38 a , 38 b ) that identify the address ranges utilized by each of the PCI bus 16 a , the PCI bus 16 b , and the HT bus 14 .
  • the device 10 may identify a destination for a received HT packet based on a device identifier and bus identifier specified in the HT packet; alternately the device 10 may be configured to identify a destination bridge (e.g., 18 a , 18 b ) based on a corresponding unit identifier (e.g., 181 , 182 ) according to HyperTransportTM protocol.
  • the transport tunnel-to-PCI host bridge device 10 includes configuration (CFG) registers 38 a , 38 b : the configuration register 38 a includes command and status registers (CSRs) within prescribed address spaces used by the transport tunnel-to-PCI host bridge device 10 for internal configuration, in accordance with the above-described PCI and HyperTransportTM specifications.
  • the transport tunnel-to-PCI host bridge device 10 can store configuration information to an addressable CSR based on identifying an HT packet specifying a device identifier for the device 10 .
  • the transport tunnel-to-PCI host bridge device 10 can either tunnel HT packets received from the HT bus 14 by passing the packets from one interface (e.g., 12 a ) to the other interface (e.g., 12 b ), or the transport tunnel-to-PCI host bridge device 10 can pass the HT packets to one of the PCI buses 16 a or 16 b via the corresponding bridge 18 a or 18 b . Also note that the transport tunnel-to-PCI host bridge device 10 can process and respond to a received HT packet that is destined for the transport tunnel-to-PCI host bridge device 10 (e.g., for storage of configuration data).
  • the bridges 18 a and 18 b of the transport tunnel-to-PCI host bridge device 10 also forward onto the HT bus 14 any data having been received from the respective PCI buses 16 a or 16 b that specify a destination address within the prescribed address range specified within the CSRs for the HT bus 14 .
  • Each of the HT interfaces 12 a and 12 b includes a receive physical layer transceiver (RX PHY) 20 and a transmit physical layer transceiver (TX PHY) 22 .
  • Each of the PHYs 20 and 22 include synchronization First-in-First-out (FIFO) registers for buffering packets according to a prescribed HT clock domain, and compensation circuitry to ensure electrical compliance with the HyperTransportTM specification.
  • the RX PHY receives a packet and a clock associated with the packet according to the HT clock domain on the bus 14 ; the FIFO registers in the PHYs 20 and 22 are used to transition between the HT clock domain and a local clock (LCLK) domain 24 .
  • LCLK local clock
  • the device 10 includes a local clock (LCLK) domain 24 that relies on a clock that is independent of any variations in clocks driven by the HT bus 14 .
  • the device 10 includes, within the local clock domain 24 , receive logic 26 and transmit logic 28 for each of the HT interfaces 12 and 12 b .
  • the device also includes a phase locked loop (PLL) circuit 30 configured for generating the local clock (LCLK) and a phase-controlled clock (PCLK) 32 , and maintaining synchronization of those clocks as needed.
  • PLL phase locked loop
  • the receive logic 26 is configured for determining whether a received HT packet from the HT bus 14 should be forwarded to the corresponding transmit logic 28 for tunneling of the HT packet, whether the received HT packet should be forwarded to the bridge 18 for internal configuration of the device 10 , or forwarded to the bridge 18 for transfer of the received HT packet onto a determined one of the PCI buses 16 a or 16 b.
  • the device 10 also includes within the local clock domain a link interface cycle manager (GCM) 34 .
  • the GCM 34 is configured for arbitrating the order of transactions that are to occur within the local clock domain 24 .
  • the GCM 34 may arbitrate between transactions that are to be output by the transmit logic (LTA) 28 .
  • the reset logic (RST) 36 is configured for managing reset and device initialization operations, including implementing test and diagnostic modes.
  • the HT-to-PCI bridge 18 is configured for transferring HT packets, forwarded from the HT bus 14 by one of the receive logic blocks (e.g., LRA or LRB) 26 , to one of the PCI buses 16 a or 16 b .
  • the receive logic block 26 having received the HT packet will specify to the bridge 18 the PCI bus (e.g., 16 a ) on which the HT packet is to be output.
  • the HT-to-PCI bridge 18 also is configured for transferring packets from one of the PCI buses 16 a or 16 b to one of the transmit logic blocks (e.g., LTA or LTB) 28 for output onto the HT bus 14 .
  • the bridge 18 identifies the destination address of the HT packet as falling within the address range of either the PCI bus (e.g., 16 a ) or the configuration space of the configuration register (e.g., 38 a ), and forwards the packet accordingly.
  • the device 10 also includes, for each PCI bus (e.g., 16 a , 16 b ), a bridge 18 a and 18 b , the configuration registers 38 a and 38 b , a PCI interface module 40 , a PCI arbitration module 42 , and an interrupt controller 44 .
  • the device 10 also includes a hot plug module 46 .
  • the configuration registers 38 a and 38 b include registers, addressable via the HT bus 14 , for configuration of the respective components associated with bus operations for the respective PCI buses 16 a and 16 b .
  • Each PCI interface module 40 is configured for transmitting and receiving PCI data bursts according to the above-identified PCI specifications.
  • Each PCI arbitration module 42 is configured for managing PCI bus arbitrations for the corresponding attached PCI bus (e.g., 16 a or 16 b ), including identifying a bus master for PCI bus transactions.
  • Each interrupt controller 44 is configured for servicing interrupts detected on the corresponding PCI bus (e.g., 16 a or 16 b ), as well as software-based interrupts generated according to prescribed I/O Advanced Programmable Interrupt Controller (IOAPIC) specifications. Hence, various interrupt methods may be implemented in the interrupt controllers 44 .
  • IOAPIC I/O Advanced Programmable Interrupt Controller
  • the hot plug module 46 is configured for managing hot plug operations based on prescribed configuration registers in the registers 38 a and/or 38 b , where a selected PCI slot or device can be powered down while the device 10 , as well as other PCI devices on the PCI bus, remain in a powered state.
  • the hot plug module 46 may include logic that is compliant with the Standard Hot Plug Circuitry (SHPC) specified in the above-described PCI specifications; alternative implementations also may be included in the hot plug module 46 , for example logic configured for interfacing with commercially-available power controllers, including the TPS2340A or the TPS2342 power controllers commercially available from Texas Instruments, Inc.
  • SHPC Standard Hot Plug Circuitry
  • FIG. 3 is a diagram illustrating in further detail the host bridge device 10 , according to an embodiment of the present invention.
  • the PCI host bridge device 10 includes a JTAG interface 60 , write logic 62 , debug read logic 64 , and device logic 66 .
  • the device logic 66 implements the functions illustrated above with respect to FIG. 2 , and includes, for example, the logic modules associated with the PCI bus modules 40 , the GCM 34 , the LRA and LRB 26 , the LTA and LTB 2 .
  • the device logic 66 also includes JTAG logic module 68 and a HyperTransportTM compensation module 70 .
  • the JTAG module 68 is configured for implementing JTAG instructions, including JTAG instructions as specified in the JTAG Specification (e.g., the mandatory JTAG instructions of BYPASS, EXTEST, IDCODE, and BYPASS).
  • the disclosed embodiment also uses a user-defined register which allows JTAG control of a prescribed group 82 of CSR registers from among the available CSR registers 38 , for example compensation values and PLL settings that enables compensation for the PCI bus 16 , HyperTransportTM compensation, PLL settings, and debug settings.
  • the JTAG interface 60 is configured for interfacing with JTAG interface signals 72 in accordance with the JTAG Specification.
  • the JTAG interface 60 is configured for receiving a JTAG data input signal (TDI), a JTAG test mode select signal (TMS), a JTAG reset signal (TRST_L), and a JTAG test clock (TCK).
  • the JTAG interface 60 is configured for receiving the serial input stream (TDI) according to the JTAG clock.
  • the JTAG interface 60 latches the serial input stream (TDI) into a serial to parallel converter 74 that includes a latch for storing the JTAG scan chain received from the TDI input.
  • the JTAG interface 60 also is configured for outputting the JTAG test data output signal (TDO).
  • the write logic 62 is configured for writing selected portions of the serial input stream into respective prescribed configuration registers 82 within the CSR register space 38 as configuration values.
  • the JTAG interface 60 includes a user-defined instruction register (not shown) and is configured for detecting within the serial input stream a prescribed instruction (UserRegA/B) for writing of configuration values, supplied by the serial input stream, into respective prescribed configuration registers 82 within the CSR registers space 38 .
  • the JTAG interface 60 can be used to write configuration data into internal configuration registers 82 that normally would be accessible only by a CPU interface such as the host HyperTransportTM link 14 .
  • the device 10 also includes debug read logic 64 configured for reading a prescribed configuration register from the CSR registers 38 for debug selection control data, described below. Based on reading the debug selection control data, the debug read logic 64 outputs selected internal state values from the device logic 66 for output by the JTAG interface 60 as a serial output stream (TDO) according to the JTAG clock (TCK). Note, however, that the debug read logic does not necessarily have access to the entire register space of the registers 82 writable by the write logic, or the CSR register space 38 , but preferably only the prescribed configuration register that provides debug selection control data (e.g., only from register fields 90 d , 90 e , 90 f , and 90 g of FIG. 5 , described below).
  • the device 10 includes a parallel to serial converter 78 configured for outputting the debug selection control data from the debug read logic 64 as the serial output stream (TDO) according to the JTAG clock (TCK).
  • a parallel to serial converter 78 configured for outputting the debug selection control data from the debug read logic 64 as the serial output stream (TDO) according to the JTAG clock (TCK).
  • FIG. 4 is a diagram illustrating the mapping of selected portions of the serial input stream 80 to selected CSR registers 82 and logic inputs 84 , 86 , at respective memory locations, according to an embodiment of the present invention.
  • the serial to parallel converter 74 includes a 420-bit latch configured for storing the 420-bit JTAG scan chain 80 .
  • the write logic 62 in response to detecting that the last bit (bit 419 ) is set to zero, begins mapping prescribed portions of the JTAG scan chain 80 to respective registers.
  • the first group 80 a of bits ( 0 - 24 ) are mapped to a “Debug and PCI Phase Interpolator Control” register 82 a having a register address location 88 at the hexadecimal address value “1 ⁇ 78” within the address space of the CSR registers 38 .
  • the CSR registers 82 accessible via the JTAG interface 60 are a subset of the CSR register space 38 .
  • the write logic 62 writes the register bits from the JTAG scan chain 80 into selected portions of prescribed registers 82 according to a prescribed sequence, where bits 0 - 24 of the JTAG scan chain 80 are mapped to register 82 a , bits 2540 of the JTAG scan chain 80 are mapped to register 82 b , bits 41 - 60 of the JTAG scan chain 80 are mapped to register 82 c , etc., ending with bits 393 - 414 being mapped by the write logic 62 to the register 82 t.
  • FIG. 4 illustrates that bits 415 - 418 of the JTAG scan chain 80 are supplied as inputs 84 to the PCI bus module 40 of the internal logic 66 for setting the PCI speed mode.
  • bit 419 of the JTAG scan chain 80 is used as an instruction bit 86 to identify whether JTAG override is to be performed; as described above, if the bit 419 is set to “0”, then the write logic 62 performs the JTAG override of the CSR registers 82 as described herein. If the write logic 62 determines that the bit 419 of the JTAG scan chain 80 is set to “1”, then the JTAG override operation is disabled, resulting in no change in the CSR registers 82 .
  • FIG. 5 is a diagram illustrating in further detail the writing of JTAG user register bits 0 - 24 80 a of the JTAG scan chain 80 as configuration values 81 into prescribed register fields 90 of the 32-bit Debug and PCI Phase Interpolator Control Register 82 a by the write logic 62 , according to an embodiment of the present invention.
  • the write logic 62 includes internal mapping information as illustrated in FIGS.
  • the register field 90 a is configured for storing the number of PCI clock cycles over which the external PCI clock is sampled and averaged (bits 0 - 3 of the register 82 a ); the register field 90 b is configured for storing at bits 4 - 7 of the register 82 a the tolerance of sampled values per sample window that the PCI phase interpolator will allow before adjusting the phase pointer; the register field 90 c is configured for storing at bits 8 - 10 of the register 82 a a field which indicates when various clocks are in phase.
  • the register fields 90 d , 90 e , 90 f , and 90 g are used to specify MUX selection values for the debug read logic 64 , described in detail below with respect to FIG. 9 .
  • FIG. 6 is a diagram illustrating in further detail the write logic 62 , according to an embodiment of the present invention.
  • the write logic 62 includes, for each bit of the JTAG scan chain 80 , a first multiplexer 100 and a second multiplexer 102 .
  • the first multiplexer 100 is configured for selecting between the stored value in the register 82 , and a new value supplied, for example, via a host HyperTransportTM link.
  • the multiplexer 100 is configured for outputting the same value that is stored in the register 82 unless a HyperTransportTM link-based override is in effect.
  • the write logic 62 also includes a second multiplexer 102 configured for selecting between the output of the multiplexer 100 and the bits of the JTAG scan chain 80 in response to a selection, for example the HPSOC signal illustrated in FIG. 3 .
  • the multiplexer 102 outputs either the stored value (if HPSOC equals “1”) or the bit from the JTAG user scan chain 80 (if HPSOC equals “0”) to the register 82 .
  • the serial to parallel converter 74 is configured for latching the serial data (TDI) according to the JTAG clock (TCK), while the register 82 is configured for latching the supplied data according to an internal clock (PCLK).
  • the write logic 62 ensures that the JTAG scan chain 80 supplied by the serial data stream (TDI) according to the JTAG clock (TCK) can be stored in the appropriate register 82 according to the internal clock domain (PCLK).
  • FIG. 7 is a diagram illustrating the method by the write logic 62 of writing data into selected CSR registers 82 using the JTAG interface 60 , according to an embodiment of the present invention.
  • the method begins in step 200 , where the write logic 62 detects on power-up any strap pins, including the HPSOC input. If in step 202 that the write logic 62 detects the JTAG override pin is set to logical zero, the write logic 62 writes a received JTAG scan chain into the prescribed registers 82 .
  • the JTAG interface 60 receives in step 204 the JTAG input stream (TDI), and latches in step 204 the input stream into the scan chain register in the serial to parallel converter 74 according the JTAG clock (TCK).
  • the serial to parallel converter 74 of the interface 60 , and the write logic 62 detect the instruction bit (bit 419 ) in step 206 .
  • step 208 the write logic 62 and the serial to parallel converter 74 of the interface 60 determine that bit 419 of the JTAG scan chain 80 is set to zero, indicating JTAG override, the write logic 62 loads the configuration values from the JTAG input scan chain 80 into prescribed selected fields (e.g., 90 of FIG. 5 ) of the prescribed selected CSR registers 82 , according to the prescribed register sequence illustrated in FIG. 4 .
  • each register 82 may have its own corresponding set of register fields 90 at respective locations within the corresponding register 82 ; moreover, the register fields 90 for a given register 82 may be at non-contiguous locations; hence, the write logic 62 will include mapping information as illustrated in FIGS. 4 and 5 for each and every configuration value (e.g., bits 0 - 3 , bits 4 - 7 , etc.) to be stored in a corresponding register field (e.g., 90 a , 90 b , etc.).
  • FIG. 8 is a diagram illustrating the method by the debug read logic 64 in outputting debug data onto the JTAG interface 60 , according to an embodiment of the present invention.
  • the debug read logic 64 first determines in step 212 whether the device 10 is in debug mode, for example by determining whether the HPSIC pin is asserted to logical zero (VSS).
  • VSS logical zero
  • the debug read logic 64 reads in step 214 the selection control data (DBGBotLo, DBGTopLo, DBGBotHi, DBGTopHi) from the respective register fields 90 d , 90 e , 90 f and 90 g in the register 82 a .
  • the selection control data is used to control multiplexers that select the data to be output.
  • FIG. 9 is a diagram illustrating in further detail the debug read logic 64 .
  • the debug read logic 64 includes multiplexers 300 a and 300 b .
  • Each multiplexer 300 a and 300 b is a 128-to-1 multiplexer configured for receiving one hundred twenty eight (128) 16-bit inputs, and outputting a single 16-bit output: the multiplexer 300 a is configured for typically outputting its 16-bit output onto bits 47 - 63 of the PCI bus 16 a , and the multiplexer 300 b is configured for typically outputting its 16-bit output onto bits 32 - 46 of the PCI bus 16 a.
  • each multiplexer 300 a and 300 b is configured for receiving sixteen 16-bit inputs (I 1 through I 16 ) from each of the logic units 66 a , 66 b , 66 c , 66 d , 66 e , 66 f , 66 g , and 66 h of the logic portion 66 .
  • each logic unit e.g., 66 a
  • each multiplexer e.g., 300 a
  • sixteen inputs I 1 , I 2 , . . . , I 16
  • the register field (DBGTopHi) 90 g selects the logic unit (e.g., 66 a ) for multiplexer 300 a
  • the register field (DBGBotHi) 90 f selects the input (e.g., 12) for the corresponding selected logic unit for multiplexer 300 a
  • the register field (DBGTopLo) 90 e selects the logic unit (e.g., 66 b ) for multiplexer 300 b
  • the register field (DBGBotLo) 90 d selects the input (e.g., I 2 ) for the corresponding selected logic unit for multiplexer 300 b .
  • the register fields 90 d , 90 e , 90 f , and 90 g can be written by the respective configuration values specified in bits 11 - 14 , 15 - 17 , 18 - 21 , and 22 - 24 of the portion 80 a of the JTAG scan chain 80 to drive the outputs of the debug read logic 64 .
  • the debug read logic 64 supplies the selection control data in step 216 from the register fields 90 d , 90 e , 90 f , and 90 g to the multiplexers 300 a and 300 b as illustrated in FIG. 9 .
  • the multiplexers 300 a and 300 b receive in step 218 the state values ( 1 I through I 16 ) from the device logic modules (e.g., 66 a , 66 b , etc.), and output in step 218 the selected internal state values 320 a and 320 b respectively for the selected module based on the selection control data.
  • the debug read logic 64 is configured for redirecting the output values from the multiplexers 300 a and 300 b to the parallel-to-serial converter 78 based on the JTAG interface 60 detecting in step 220 receipt of a JTAG EXTEST command.
  • the debug read logic 64 redirects the internal state values 320 a and 320 b from the respective multiplexers 300 a and 300 b to be output in step 222 via the JTAG scan chain onto the output data path (TDO).
  • TDO output data path
  • the debug read logic 64 outputs the debug data 320 a and 320 b onto the bits 32 - 64 of the PCI bus 16 in step 224 .
  • internal command and status registers can be overwritten by values scanned into user-defined scan chains and loaded into control registers.
  • the internal control registers 82 are not implemented as elements on a JTAG user-defined scan chains, but rather the values that are scanned into user-defined scan chains are loaded into the control register elements according to a prescribed sequence under the control of the write logic 62 .
  • internal state information from internal logic 66 can be selectively scanned out using JTAG EXTEST commands, enabling debug information to be read out of the JTAG boundary scan register.
  • the ability to control the default settings of internal state through a JTAG interface 60 thus saves device pins and thus device cost.
  • the disclosed embodiment also simplifies board design by eliminating special-purpose hardware otherwise needed to control default settings, and simplifies manufacturing and test costs by allowing easier testing of devices.
  • the ability to read internal state through JTAG scan simplifies debug of devices, and allows debug of problems one attaching a logic analyzer is not practical.

Abstract

An integrated device (e.g., an integrated PCI bridge device), having configuration registers for storing configuration values, device logic for generating internal state values based on the configuration values, and a JTAG interface configured for receiving a serial input stream and outputting a serial output stream, further includes write logic and debug read logic. The write logic is configured for writing selected portions of the serial input stream into respective selected ones of the configuration registers, based on a detected input indicating a JTAG-based override. The debug read logic is configured, in response to a detected debug mode, for outputting selected internal state values for the serial output stream, based on selection values from the serial input stream and having been stored in a prescribed at least one of the selected configuration registers.

Description

BACKGROUND OF THE INVENTION
1. Field of the Invention
The present invention relates to integrated network devices having Peripheral Component Interconnect (PCI) bridges.
2. Background Art
Peripheral Component Interconnect (PCI) interfaces have been used to provide high-speed connectivity between devices in a multi-device system, such as a processor based system such as a personal computer.
FIG. 1 is a diagram illustrating a conventional implementation of a PCI bus system architecture 100. The system 100 includes a processor 102 coupled to a memory controller 104 via a local bus 106. The processor 102 and the memory controller 104 are coupled to a PCI local bus 106 (labeled PCI Local Bus #0) via a host bridge 108.
The host bridge 108 provides a low latency path through which the processor 102 may directly access PCI devices 110, for example a network interface card 111 a providing access to a local area network, a disc drive (SCSI) controller 110 b providing access to disk drives 114, an audio card 10 c, a motion picture card 111 d, or a graphics card 110 e configured for driving a monitor 116. The host bridge 108 also provides a high bandwidth path allowing PCI masters on the PCI bus 106 direct access to the system memory 118 via the memory controller 104. A cache memory 120 is independent of the system memory 118 for use by the processor 102.
The term “host bridge” refers to the bridge device 108 that provides access to the system memory 118 for the devices 110 connected to the PCI bus 106. A PCI-to-PCI bridge 122 also may be used to connect a second PCI bus 124 to the PCI bus 106, the second PCI bus 124 configured for connecting other I/O devices 126.
Newer PCI bus protocols are being published, including PCI-X Mode 2, that provide enhanced PCI functionality. These newer PCI bus protocols include the PCI Local Bus Specification, Rev 2.3, the PCI-X Protocol Addendum to the PCI Local Bus Specification, Rev. 2.0a, and the PCI-to-PCI Bridge Architecture Specification, Rev 1.2.
A particular problem encountered during development of new devices involves providing sufficient functionality within the new devices for configuration and testing, thereof, without substantially increasing the cost, complexity, or size of the new device. In particular, there is a desirability to improve the ability of controlling (i.e., modifying) the default settings of internal control registers without increasing device cost or complexity.
One technique for modifying default settings involved bypassing initial default settings of internal control registers having been stored in the device within an internal read-only memory (ROM). In particular, the initial default settings are stored in the ROM internal to the device as part of the device manufacture: if the device is implemented as an ASIC, the initial default settings could be stored in the ROM by mask programming. The device also could include an external ROM interface that would enable connection of an external ROM that would include updated default settings that superseded the initial default settings stored internally; hence, on powerup the device could be reprogrammed by its scanning the updated default settings from the external ROM via the external ROM interface, effectively replacing the initial default settings.
Use of an external ROM interface, however, requires extra pins for the device; further, additional logic is needed to interface with the external ROM and read the updated default settings instead of the initial default settings stored in the internal ROM. Further, the necessity of an external ROM requires reserving valuable space on a circuit board, and provides substantial difficulties when attempting to retrofit an external ROM onto a circuit board manufactured according to surface mount technology.
Problems also have been encountered in attempts to debug a new integrated (i.e., single-chip) device. In particular, previous device designs have implemented “debug modes”, where internal multiplexers and associated logic have been implemented within the new device to output internal state information onto at least selected portions of the PCI bus for analysis. In particular, a user would connect a logic analyzer to the associated pins of the PCI bus in order to capture the signal traces output by the associated pins during debug mode.
Use of a logic analyzer, however, creates difficulties in attempting to connect the logic analyzer to the relevant device pins; further, use of a logic analyzer while the device is in debug mode requires configuring the device to output a given internal state, capturing the signal traces from the PCI bus, and then later retrieving and reviewing the stored signal traces in an attempt to reconstruct the internal state: such a tedious process may be impractical in certain situations, for example when attempting troubleshooting at a customer site.
The Joint Test Action Group (JTAG) published IEEE 1149.x, “IEEE Standard Test Access Port and Boundary-Scan Architecture” (referred to herein as the “JTAG Specification”). The JTAG features normally have been used to facilitate production testing of printed circuit boards. In particular, the JTAG Specification defines test logic that can be included in an integrated circuit to provide standardized approaches for testing interconnections between integrated circuits mounted on a printed circuit board. The JTAG Specification overcomes difficulties in testing printed circuit boards implemented based on surface mount interconnection technology by defining a framework for conveying test data to or from the boundaries of individual components so that they can be tested as if they were freestanding.
Hence, a “boundary scan interface” has boundary-scan register cells connected to pins of a component to form a shift register chain around the border of the design of the component. Hence, the JTAG Specification allows interconnections between components to be tested without the necessity of a complex “bed-of-nails” type testing system. Further, the JTAG Specification allows components on the board to be tested by isolating on-chip system logic from external stimuli from surrounding components while performing an internal self-test of the on-chip system logic; alternatively, a static test of the on-chip system logic can be implemented by supplying test data to the component via the JTAG interface, and examining the test results output via the JTAG interface.
SUMMARY OF THE INVENTION
There is a need for an arrangement that enables an integrated (i.e., single-chip) device, for example an integrated PCI bridge device, to be programmable via an external interface, while minimizing unnecessary hardware such as device pins, logic, etc.
There also is a need for an arrangement that enables capture of internal state data from an integrated (i.e., single-chip) device, for example an integrated PCI bridge device, without the need for a logic analyzer.
These and other needs are attained by the present invention, where an integrated device (e.g., an integrated PCI bridge device), having configuration registers for storing configuration values, device logic for generating internal state values based on the configuration values, and a JTAG interface configured for receiving a serial input stream and outputting a serial output stream, further includes write logic and debug read logic. The write logic is configured for writing selected portions of the serial input stream into respective selected ones of the configuration registers, based on a detected input indicating a JTAG-based override. The debug read logic is configured, in response to a detected debug mode, for outputting selected internal state values for the serial output stream, based on selection values from the serial input stream and having been stored in a prescribed at least one of the selected configuration registers.
Hence, the integrated PCI bridge device is able to overwrite existing default configuration values via a JTAG interface, eliminating the necessity of an external ROM interface and associated logic. Further, the integrated PCI bridge device enables internal state values to be retrieved via the JTAG interface, eliminating the necessity of a logic analyzer and enabling retrieval and evaluation aof the internal state values using a software-based program executable by a computer.
One aspect of the present invention provides a method in an integrated device having a JTAG interface. The method includes detecting by the integrated device a prescribed device input for a JTAG-based override, and receiving by the JTAG interface of the integrated device a JTAG clock and a serial input stream according to the JTAG clock. The method also includes detecting within the serial input stream a prescribed instruction for writing of configuration values into respective prescribed selected configuration registers. The method also includes selectively writing, based on detecting the prescribed device input and the prescribed instruction, the configuration values from within the serial input stream into the respective prescribed selected configuration registers of the integrated device.
Another aspect of the present invention provides an integrated device comprising configuration registers, a JTAG interface, and write logic. The configuration registers are configured for storing respective configuration values, and the JTAG interface configured for receiving a JTAG clock and a serial input stream according to the JTAG clock. The write logic is configured for detecting within the serial input stream a prescribed instruction for writing of configuration values into respective prescribed selected configuration registers. The write, logic also is configured for selectively writing, based on the prescribed instruction and detection of a prescribed device input specifying a JTAG-based override, selected portions of the serial input stream into the respective selected ones of the configuration registers as the prescribed selected configuration registers.
Additional advantages and novel features of the invention will be set forth in part in the description which follows and in part will become apparent to those skilled in the art upon examination of the following or may be learned by practice of the invention. The advantages of the present invention may be realized and attained by means of instrumentalities and combinations particularly pointed in the appended claims.
BRIEF DESCRIPTION OF THE DRAWINGS
Reference is made to the attached drawings, wherein elements having the same reference numeral designations represent like element elements throughout and wherein:
FIG. 1 is a block diagram of a conventional (PRIOR ART) implementation of a PCI based system.
FIG. 2 is a diagram of a PCI host bridge device according to an embodiment of the present invention.
FIG. 3 is a second diagram of the PCI host bridge device of FIG. 2, illustrating write logic and debug read logic for storage and retrieval of data via a JTAG interface, according to an embodiment of the present invention.
FIG. 4 is a diagram illustrating the portions of a serial data stream of a JTAG scan chain supplied to respective registers according to a prescribed register sequence, according to an embodiment of the present invention.
FIG. 5 is a diagram illustrating in further detail the supply of portions of the serial data stream, associated with a prescribed register, to prescribed portions of the register by the write logic of FIG. 3, according to an embodiment of the present invention.
FIG. 6 is a diagram illustrating in further detail the write logic of FIG. 3.
FIG. 7 is a diagram illustrating the method of writing to internal control registers using the JTAG boundary scan chain, according to an embodiment of the present invention.
FIG. 8 is a diagram illustrating the method of outputting debug state information to a JTAG boundary scan chain, according to an embodiment of the present invention.
FIG. 9 is a diagram illustrating in detail the write logic of FIG. 3, according to an embodiment of the present invention.
BEST MODE FOR CARRYING OUT THE INVENTION
The disclosed embodiment of the arrangement for using a JTAG interface for writing configuration data, and outputting internal state values, will be described in detail following an overview of the architecture of the HyperTransport™ tunnel/PCI-X bridge.
Architecture Overview
FIG. 2 is a diagram illustrating the transport tunnel-to-PCI host bridge device 10, according to an embodiment of the present invention. The transport tunnel-to-PCI host bridge device 10, preferably implemented as an integrated circuit on a single chip, is configured for operating as a HyperTransport™ (HT) tunnel device according to the HyperTransport™ IO Link Specification, Rev. 2.0, including errata up to specification Rev. 1.05c.
The transport tunnel-to-PCI host bridge device 10 includes two HT interfaces 12 a and 12 b labeled “Side 0” and “Side 1”, respectively. HT packets received by a given interface (e.g., 12 a) from an HT bus 14 can be passed through the device 10 to the other interface (e.g., 12 b) (i.e., tunneled), enabling multiple HT tunnel devices to be connected serially (e.g., a daisy-chain arrangement) to form an HT chain on the bus 14 for transfer of HT packets.
The following nomenclature may assist in describing connections in serially connected HT tunnel devices. The HT interface (e.g., 12 a) that is connected to (or toward) a HyperTransport™ host device (e.g., a host memory controller) is referred to as the “upstream” interface, and the other HT interface (e.g., 12 b) is referred to as the “downstream” interface: if the upstream interface (e.g., 12 a) is directly connected to the HyperTransport™ host device via the corresponding connected HT tunnel 14, then that tunnel connecting the upstream interface to the HyperTransport™ host device is referred to as the “upstream link”; if the upstream interface (e.g., 12 a) is connected to a second HT device via an HT tunnel, where the second HT device provides a connection to (or toward) the HyperTransport™ host device, then that HT tunnel connecting the upstream interface and the second HT device is referred to as the “upstream tunnel”. Note that the downstream interface may or may not be connected to another HT device or chain of devices.
The transport tunnel-to-PCI host bridge device 10 also provides bridging operations between the HT bus 14 and PCI buses 16 a and/or 16 b. In particular, the transport tunnel-to-PCI host bridge device 10 contains two independent HT-to-PCI-X bridges 18 a and 18 b in accordance with the HyperTransport™ Link Specification, Rev. 2.0, the PCI Local Bus Specification, Rev 2.3, the PCI-X Protocol Addendum to the PCI Local Bus Specification, Rev. 2.0a, and the PCI-to-PCI Bridge Architecture Specification, Rev 1.2. The transport tunnel-to-PCI host bridge device 10 includes configurable registers (38 a, 38 b) that identify the address ranges utilized by each of the PCI bus 16 a, the PCI bus 16 b, and the HT bus 14.
Also note that the device 10 may identify a destination for a received HT packet based on a device identifier and bus identifier specified in the HT packet; alternately the device 10 may be configured to identify a destination bridge (e.g., 18 a, 18 b) based on a corresponding unit identifier (e.g., 181, 182) according to HyperTransport™ protocol. In addition, the transport tunnel-to-PCI host bridge device 10 includes configuration (CFG) registers 38 a, 38 b: the configuration register 38 a includes command and status registers (CSRs) within prescribed address spaces used by the transport tunnel-to-PCI host bridge device 10 for internal configuration, in accordance with the above-described PCI and HyperTransport™ specifications. Hence, the transport tunnel-to-PCI host bridge device 10 can store configuration information to an addressable CSR based on identifying an HT packet specifying a device identifier for the device 10.
Hence, the transport tunnel-to-PCI host bridge device 10 can either tunnel HT packets received from the HT bus 14 by passing the packets from one interface (e.g., 12 a) to the other interface (e.g., 12 b), or the transport tunnel-to-PCI host bridge device 10 can pass the HT packets to one of the PCI buses 16 a or 16 b via the corresponding bridge 18 a or 18 b. Also note that the transport tunnel-to-PCI host bridge device 10 can process and respond to a received HT packet that is destined for the transport tunnel-to-PCI host bridge device 10 (e.g., for storage of configuration data).
The bridges 18 a and 18 b of the transport tunnel-to-PCI host bridge device 10 also forward onto the HT bus 14 any data having been received from the respective PCI buses 16 a or 16 b that specify a destination address within the prescribed address range specified within the CSRs for the HT bus 14.
Each of the HT interfaces 12 a and 12 b includes a receive physical layer transceiver (RX PHY) 20 and a transmit physical layer transceiver (TX PHY) 22. Each of the PHYs 20 and 22 include synchronization First-in-First-out (FIFO) registers for buffering packets according to a prescribed HT clock domain, and compensation circuitry to ensure electrical compliance with the HyperTransport™ specification. In particular, the RX PHY receives a packet and a clock associated with the packet according to the HT clock domain on the bus 14; the FIFO registers in the PHYs 20 and 22 are used to transition between the HT clock domain and a local clock (LCLK) domain 24.
The device 10 includes a local clock (LCLK) domain 24 that relies on a clock that is independent of any variations in clocks driven by the HT bus 14. The device 10 includes, within the local clock domain 24, receive logic 26 and transmit logic 28 for each of the HT interfaces 12 and 12 b. The device also includes a phase locked loop (PLL) circuit 30 configured for generating the local clock (LCLK) and a phase-controlled clock (PCLK) 32, and maintaining synchronization of those clocks as needed.
The receive logic 26 is configured for determining whether a received HT packet from the HT bus 14 should be forwarded to the corresponding transmit logic 28 for tunneling of the HT packet, whether the received HT packet should be forwarded to the bridge 18 for internal configuration of the device 10, or forwarded to the bridge 18 for transfer of the received HT packet onto a determined one of the PCI buses 16 a or 16 b.
The device 10 also includes within the local clock domain a link interface cycle manager (GCM) 34. The GCM 34 is configured for arbitrating the order of transactions that are to occur within the local clock domain 24. For example, the GCM 34 may arbitrate between transactions that are to be output by the transmit logic (LTA) 28. The reset logic (RST) 36 is configured for managing reset and device initialization operations, including implementing test and diagnostic modes.
The HT-to-PCI bridge 18 is configured for transferring HT packets, forwarded from the HT bus 14 by one of the receive logic blocks (e.g., LRA or LRB) 26, to one of the PCI buses 16 a or 16 b. In particular, the receive logic block 26 having received the HT packet will specify to the bridge 18 the PCI bus (e.g., 16 a) on which the HT packet is to be output. The HT-to-PCI bridge 18 also is configured for transferring packets from one of the PCI buses 16 a or 16 b to one of the transmit logic blocks (e.g., LTA or LTB) 28 for output onto the HT bus 14. The bridge 18 (e.g., the bridge 18 a) identifies the destination address of the HT packet as falling within the address range of either the PCI bus (e.g., 16 a) or the configuration space of the configuration register (e.g., 38 a), and forwards the packet accordingly.
The device 10 also includes, for each PCI bus (e.g., 16 a, 16 b), a bridge 18 a and 18 b, the configuration registers 38 a and 38 b, a PCI interface module 40, a PCI arbitration module 42, and an interrupt controller 44. The device 10 also includes a hot plug module 46. The configuration registers 38 a and 38 b include registers, addressable via the HT bus 14, for configuration of the respective components associated with bus operations for the respective PCI buses 16 a and 16 b. Each PCI interface module 40 is configured for transmitting and receiving PCI data bursts according to the above-identified PCI specifications. Each PCI arbitration module 42 is configured for managing PCI bus arbitrations for the corresponding attached PCI bus (e.g., 16 a or 16 b), including identifying a bus master for PCI bus transactions. Each interrupt controller 44 is configured for servicing interrupts detected on the corresponding PCI bus (e.g., 16 a or 16 b), as well as software-based interrupts generated according to prescribed I/O Advanced Programmable Interrupt Controller (IOAPIC) specifications. Hence, various interrupt methods may be implemented in the interrupt controllers 44.
The hot plug module 46 is configured for managing hot plug operations based on prescribed configuration registers in the registers 38 a and/or 38 b, where a selected PCI slot or device can be powered down while the device 10, as well as other PCI devices on the PCI bus, remain in a powered state. For example, the hot plug module 46 may include logic that is compliant with the Standard Hot Plug Circuitry (SHPC) specified in the above-described PCI specifications; alternative implementations also may be included in the hot plug module 46, for example logic configured for interfacing with commercially-available power controllers, including the TPS2340A or the TPS2342 power controllers commercially available from Texas Instruments, Inc.
Writing Configuration Data and Outputting Debug State via JTAG Interface
FIG. 3 is a diagram illustrating in further detail the host bridge device 10, according to an embodiment of the present invention. In particular, FIG. 3 illustrates that the PCI host bridge device 10 includes a JTAG interface 60, write logic 62, debug read logic 64, and device logic 66. The device logic 66 implements the functions illustrated above with respect to FIG. 2, and includes, for example, the logic modules associated with the PCI bus modules 40, the GCM 34, the LRA and LRB 26, the LTA and LTB 2. The device logic 66 also includes JTAG logic module 68 and a HyperTransport™ compensation module 70. The JTAG module 68 is configured for implementing JTAG instructions, including JTAG instructions as specified in the JTAG Specification (e.g., the mandatory JTAG instructions of BYPASS, EXTEST, IDCODE, and BYPASS).
As described below, the disclosed embodiment also uses a user-defined register which allows JTAG control of a prescribed group 82 of CSR registers from among the available CSR registers 38, for example compensation values and PLL settings that enables compensation for the PCI bus 16, HyperTransport™ compensation, PLL settings, and debug settings.
As illustrated in FIG. 3, the JTAG interface 60 is configured for interfacing with JTAG interface signals 72 in accordance with the JTAG Specification. In particular, the JTAG interface 60 is configured for receiving a JTAG data input signal (TDI), a JTAG test mode select signal (TMS), a JTAG reset signal (TRST_L), and a JTAG test clock (TCK). In particular, the JTAG interface 60 is configured for receiving the serial input stream (TDI) according to the JTAG clock. In compliance with the JTAG Specification, the JTAG interface 60 latches the serial input stream (TDI) into a serial to parallel converter 74 that includes a latch for storing the JTAG scan chain received from the TDI input. The JTAG interface 60 also is configured for outputting the JTAG test data output signal (TDO).
As described below, the write logic 62 is configured for writing selected portions of the serial input stream into respective prescribed configuration registers 82 within the CSR register space 38 as configuration values. In particular, the JTAG interface 60 includes a user-defined instruction register (not shown) and is configured for detecting within the serial input stream a prescribed instruction (UserRegA/B) for writing of configuration values, supplied by the serial input stream, into respective prescribed configuration registers 82 within the CSR registers space 38.
The write logic 62 is configured for selectively writing, based on the prescribed instruction (UserRegA/B) and concurrent detection of a prescribed device input (HPSOC=VSS (logical 0)) that specifies a JTAG-based override.
Hence, the JTAG interface 60 can be used to write configuration data into internal configuration registers 82 that normally would be accessible only by a CPU interface such as the host HyperTransport™ link 14.
The device 10 also includes debug read logic 64 configured for reading a prescribed configuration register from the CSR registers 38 for debug selection control data, described below. Based on reading the debug selection control data, the debug read logic 64 outputs selected internal state values from the device logic 66 for output by the JTAG interface 60 as a serial output stream (TDO) according to the JTAG clock (TCK). Note, however, that the debug read logic does not necessarily have access to the entire register space of the registers 82 writable by the write logic, or the CSR register space 38, but preferably only the prescribed configuration register that provides debug selection control data (e.g., only from register fields 90 d, 90 e, 90 f, and 90 g of FIG. 5, described below).
As illustrated in FIG. 3, the device 10 includes a parallel to serial converter 78 configured for outputting the debug selection control data from the debug read logic 64 as the serial output stream (TDO) according to the JTAG clock (TCK).
FIG. 4 is a diagram illustrating the mapping of selected portions of the serial input stream 80 to selected CSR registers 82 and logic inputs 84, 86, at respective memory locations, according to an embodiment of the present invention. In particular, the serial to parallel converter 74 includes a 420-bit latch configured for storing the 420-bit JTAG scan chain 80. The write logic 62, in response to detecting that the last bit (bit 419) is set to zero, begins mapping prescribed portions of the JTAG scan chain 80 to respective registers. For example, the first group 80 a of bits (0-24) are mapped to a “Debug and PCI Phase Interpolator Control” register 82 a having a register address location 88 at the hexadecimal address value “1×78” within the address space of the CSR registers 38. As apparent from FIGS. 3 and 4, the CSR registers 82 accessible via the JTAG interface 60 are a subset of the CSR register space 38.
Hence, the write logic 62 writes the register bits from the JTAG scan chain 80 into selected portions of prescribed registers 82 according to a prescribed sequence, where bits 0-24 of the JTAG scan chain 80 are mapped to register 82 a, bits 2540 of the JTAG scan chain 80 are mapped to register 82 b, bits 41-60 of the JTAG scan chain 80 are mapped to register 82 c, etc., ending with bits 393-414 being mapped by the write logic 62 to the register 82 t.
In addition, FIG. 4 illustrates that bits 415-418 of the JTAG scan chain 80 are supplied as inputs 84 to the PCI bus module 40 of the internal logic 66 for setting the PCI speed mode. Finally, as described above, bit 419 of the JTAG scan chain 80 is used as an instruction bit 86 to identify whether JTAG override is to be performed; as described above, if the bit 419 is set to “0”, then the write logic 62 performs the JTAG override of the CSR registers 82 as described herein. If the write logic 62 determines that the bit 419 of the JTAG scan chain 80 is set to “1”, then the JTAG override operation is disabled, resulting in no change in the CSR registers 82.
FIG. 5 is a diagram illustrating in further detail the writing of JTAG user register bits 0-24 80 a of the JTAG scan chain 80 as configuration values 81 into prescribed register fields 90 of the 32-bit Debug and PCI Phase Interpolator Control Register 82 a by the write logic 62, according to an embodiment of the present invention. In particular, the write logic 62 includes internal mapping information as illustrated in FIGS. 4 and 5 that enables the write logic 62 to write the hexadecimal configuration values “7”, “5”, “6”, “D”, “6”, “3”, and “1” specified in respective bits 0-3, 4-7, 8-10, 11-14, 15-17, 18-21, and 22-24 of the selected bits 80 a into respective prescribed register fields 90 a, 90 b, 90 c, 90 d, 90 e, 90 f, and 90 g of the register 82 a.
For example, the register field 90 a is configured for storing the number of PCI clock cycles over which the external PCI clock is sampled and averaged (bits 0-3 of the register 82 a); the register field 90 b is configured for storing at bits 4-7 of the register 82 a the tolerance of sampled values per sample window that the PCI phase interpolator will allow before adjusting the phase pointer; the register field 90 c is configured for storing at bits 8-10 of the register 82 a a field which indicates when various clocks are in phase. The register fields 90 d, 90 e, 90 f, and 90 g are used to specify MUX selection values for the debug read logic 64, described in detail below with respect to FIG. 9.
FIG. 6 is a diagram illustrating in further detail the write logic 62, according to an embodiment of the present invention. The write logic 62 includes, for each bit of the JTAG scan chain 80, a first multiplexer 100 and a second multiplexer 102. The first multiplexer 100 is configured for selecting between the stored value in the register 82, and a new value supplied, for example, via a host HyperTransport™ link. Although not shown in FIG. 6, the multiplexer 100 is configured for outputting the same value that is stored in the register 82 unless a HyperTransport™ link-based override is in effect.
The write logic 62 also includes a second multiplexer 102 configured for selecting between the output of the multiplexer 100 and the bits of the JTAG scan chain 80 in response to a selection, for example the HPSOC signal illustrated in FIG. 3. The multiplexer 102 outputs either the stored value (if HPSOC equals “1”) or the bit from the JTAG user scan chain 80 (if HPSOC equals “0”) to the register 82.
Hence, the serial to parallel converter 74 is configured for latching the serial data (TDI) according to the JTAG clock (TCK), while the register 82 is configured for latching the supplied data according to an internal clock (PCLK). Hence, the write logic 62 ensures that the JTAG scan chain 80 supplied by the serial data stream (TDI) according to the JTAG clock (TCK) can be stored in the appropriate register 82 according to the internal clock domain (PCLK).
FIG. 7 is a diagram illustrating the method by the write logic 62 of writing data into selected CSR registers 82 using the JTAG interface 60, according to an embodiment of the present invention. The method begins in step 200, where the write logic 62 detects on power-up any strap pins, including the HPSOC input. If in step 202 that the write logic 62 detects the JTAG override pin is set to logical zero, the write logic 62 writes a received JTAG scan chain into the prescribed registers 82. In particular, the JTAG interface 60 receives in step 204 the JTAG input stream (TDI), and latches in step 204 the input stream into the scan chain register in the serial to parallel converter 74 according the JTAG clock (TCK). The serial to parallel converter 74 of the interface 60, and the write logic 62, detect the instruction bit (bit 419) in step 206.
If in step 208 the write logic 62 and the serial to parallel converter 74 of the interface 60 determine that bit 419 of the JTAG scan chain 80 is set to zero, indicating JTAG override, the write logic 62 loads the configuration values from the JTAG input scan chain 80 into prescribed selected fields (e.g., 90 of FIG. 5) of the prescribed selected CSR registers 82, according to the prescribed register sequence illustrated in FIG. 4. As described above with respect to FIG. 5, each register 82 may have its own corresponding set of register fields 90 at respective locations within the corresponding register 82; moreover, the register fields 90 for a given register 82 may be at non-contiguous locations; hence, the write logic 62 will include mapping information as illustrated in FIGS. 4 and 5 for each and every configuration value (e.g., bits 0-3, bits 4-7, etc.) to be stored in a corresponding register field (e.g., 90 a, 90 b, etc.).
FIG. 8 is a diagram illustrating the method by the debug read logic 64 in outputting debug data onto the JTAG interface 60, according to an embodiment of the present invention. The debug read logic 64 first determines in step 212 whether the device 10 is in debug mode, for example by determining whether the HPSIC pin is asserted to logical zero (VSS).
Based on the debug mode being detected, the debug read logic 64 reads in step 214 the selection control data (DBGBotLo, DBGTopLo, DBGBotHi, DBGTopHi) from the respective register fields 90 d, 90 e, 90 f and 90 g in the register 82 a. In particular, the selection control data is used to control multiplexers that select the data to be output.
FIG. 9 is a diagram illustrating in further detail the debug read logic 64. As shown in FIG. 9, the debug read logic 64 includes multiplexers 300 a and 300 b. Each multiplexer 300 a and 300 b is a 128-to-1 multiplexer configured for receiving one hundred twenty eight (128) 16-bit inputs, and outputting a single 16-bit output: the multiplexer 300 a is configured for typically outputting its 16-bit output onto bits 47-63 of the PCI bus 16 a, and the multiplexer 300 b is configured for typically outputting its 16-bit output onto bits 32-46 of the PCI bus 16 a.
The values stored in the register fields 90 f and 90 g are used to control the multiplexer 300 a, and the register fields 90 d and 90 e are used to control selection inputs for the multiplexer 300 b. In particular, each multiplexer 300 a and 300 b is configured for receiving sixteen 16-bit inputs (I1 through I16) from each of the logic units 66 a, 66 b, 66 c, 66 d, 66 e, 66 f, 66 g, and 66 h of the logic portion 66. In other words, each logic unit (e.g., 66 a) supplies to each multiplexer (e.g., 300 a) sixteen inputs (I1, I2, . . . , I16), each input composed of sixteen (16) bits, resulting in a total of 128×16=2048 total bits being supplied to each multiplexer.
Hence, the register field (DBGTopHi) 90 g selects the logic unit (e.g., 66 a) for multiplexer 300 a, and the register field (DBGBotHi) 90 f selects the input (e.g., 12) for the corresponding selected logic unit for multiplexer 300 a. Similarly, the register field (DBGTopLo) 90 e selects the logic unit (e.g., 66 b) for multiplexer 300 b, and the register field (DBGBotLo) 90 d selects the input (e.g., I2) for the corresponding selected logic unit for multiplexer 300 b. Consequently, the register fields 90 d, 90 e, 90 f, and 90 g can be written by the respective configuration values specified in bits 11-14, 15-17, 18-21, and 22-24 of the portion 80 a of the JTAG scan chain 80 to drive the outputs of the debug read logic 64.
Referring to FIG. 8, the debug read logic 64 supplies the selection control data in step 216 from the register fields 90 d, 90 e, 90 f, and 90 g to the multiplexers 300 a and 300 b as illustrated in FIG. 9. The multiplexers 300 a and 300 b receive in step 218 the state values (1I through I16) from the device logic modules (e.g., 66 a, 66 b, etc.), and output in step 218 the selected internal state values 320 a and 320 b respectively for the selected module based on the selection control data.
Normally the internal state values 320 a and 320 b would be output onto the upper 32 bits of the PCI bus 16 a; however, according to the disclosed embodiment, the debug read logic 64 is configured for redirecting the output values from the multiplexers 300 a and 300 b to the parallel-to-serial converter 78 based on the JTAG interface 60 detecting in step 220 receipt of a JTAG EXTEST command. Hence, in response to a detected JTAG EXTEST command, the debug read logic 64 redirects the internal state values 320 a and 320 b from the respective multiplexers 300 a and 300 b to be output in step 222 via the JTAG scan chain onto the output data path (TDO). However, if the JTAG EXTEST command is not detected, then the debug read logic 64 outputs the debug data 320 a and 320 b onto the bits 32-64 of the PCI bus 16 in step 224.
According to the disclosed embodiment, internal command and status registers can be overwritten by values scanned into user-defined scan chains and loaded into control registers. Hence, the internal control registers 82 are not implemented as elements on a JTAG user-defined scan chains, but rather the values that are scanned into user-defined scan chains are loaded into the control register elements according to a prescribed sequence under the control of the write logic 62.
In addition, internal state information from internal logic 66 can be selectively scanned out using JTAG EXTEST commands, enabling debug information to be read out of the JTAG boundary scan register. The ability to control the default settings of internal state through a JTAG interface 60 thus saves device pins and thus device cost. The disclosed embodiment also simplifies board design by eliminating special-purpose hardware otherwise needed to control default settings, and simplifies manufacturing and test costs by allowing easier testing of devices. In addition, the ability to read internal state through JTAG scan simplifies debug of devices, and allows debug of problems one attaching a logic analyzer is not practical.
It will be readily apparent that the signal and register names are by way of illustration only, and that various modifications may be implemented consistent with the scope of the claims.
While this invention has been described with what is presently considered to be the most practical preferred embodiment, it is to be understood that the invention is not limited to the disclosed embodiments, but, on the contrary, is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.

Claims (18)

1. A method in an integrated device having a JTAG interface, the method comprising:
detecting by the integrated device a prescribed device input for a JTAG-based override identifying transfer of configuration values via the JTAG interface, the integrated device further comprising a PCI bus interface, a host interface, and configuration registers storing respective stored configuration values for controlling operations of at least one of the PCI bus interface or the host interface, the host interface configured for providing access by a host device to the configuration registers;
receiving by the JTAG interface of the integrated device a JTAG clock and a serial input stream according to the JTAG clock;
detecting within the serial input stream a prescribed instruction for writing of configuration values into respective prescribed selected configuration registers; and
selectively overwriting, based on detecting the prescribed device input and the prescribed instruction, the respective stored configuration values in the prescribed selected configuration registers of the integrated device with the configuration values from within the serial input stream for modification of the at least one of the operations of the PCI bus interface or the host interface.
2. The method of claim 1, wherein the receiving includes latching the serial input stream according to the JTAG clock, and the selectively writing includes writing each configuration value, following latching a corresponding portion of the serial input stream, into the corresponding prescribed selected configuration register according to an internal device clock.
3. The method of claim 2, wherein the selectively writing further includes forwarding each portion of the serial data stream to a corresponding one of the prescribed selected configuration registers according to a prescribed register sequence.
4. The method of claim 1, further comprising:
reading a prescribed selected configuration register for debug selection control data;
supplying the debug selection control data to a multiplexer circuit configured for receiving internal state values having been generated by device logic;
outputting selected internal state values from the multiplexer circuit according to the debug selection control data to a serial converter; and
outputting from the serial converter and by the JTAG interface a serial output stream according to the JTAG clock.
5. The method of claim 4, wherein the debug selection control data includes a first portion for selecting one of a plurality of modules within the device logic, and a second portion for selecting the internal state values associated with the selected one of the plurality of modules within the device logic.
6. The method of claim 1, wherein the detecting the prescribed device input includes receiving the prescribed device input for the JTAG-based override via an input to the integrated device that is distinct from the JTAG interface, the PCI bus interface, and the host interface.
7. The method of claim 1, wherein the configuration values include compensation settings for the PCI bus interface, and compensation settings for the host interface.
8. The method of claim 1, wherein the selectively overwriting includes disabling access to the prescribed selected configuration registers via the host interface during the overwriting of the configuration values from the serial input stream.
9. The method of claim 1, wherein the prescribed selected configuration registers store the respective stored configuration values for controlling operations of the PCI bus interface and the host interface, the selectively overwriting including writing the configuration values from within the serial input stream into the prescribed selected configuration registers according to a prescribed register sequence.
10. An integrated device comprising:
a PCI bus interface;
configuration registers configured for storing respective configuration values;
a host interface configured for providing access by a host device to the configuration registers, the stored configuration values controlling operations of at least one of the PCI bus interface or the host interface;
a JTAG interface configured for receiving a JTAG clock and a serial input stream according to the JTAG clock; and
write logic configured for detecting within the serial input stream a prescribed instruction for writing of configuration values into respective prescribed selected configuration registers, the write logic configured for selectively overwriting, based on the prescribed instruction and detection of a prescribed device input specifying a JTAG-based override identifying transfer of configuration values via the JTAG interface, selected portions of the serial input stream into the respective prescribed selected configuration registers for modification of the at least one of the operations of the PCI bus interface or the host interface.
11. The device of claim 10, wherein the write logic is configured for writing each configuration value, following latching of the corresponding selected portion of the serial input stream according to the JTAG clock, into the corresponding selected one configuration register according to an internal device clock.
12. The device of claim 11, wherein the write logic is configured for forwarding each portion of the serial data stream to a corresponding one of the prescribed selected configuration registers according to a prescribed register sequence.
13. The device of claim 10, further comprising:
device logic configured for generating internal state values based on the configuration values;
debug read logic configured for reading a prescribed selected configuration register for debug selection control data, the debug read logic further configured for outputting selected internal state values according to the debug selection control data; and
a parallel to serial converter configured for outputting the debug selection control data for output by the JTAG interface as a serial output stream according to the JTAG clock.
14. The device of claim 13, wherein:
the device logic includes a plurality of modules configured for generating respective internal state values,
the debug read logic includes a multiplexer circuit configured for receiving each of the internal state values of the respective modules and outputting one of the internal state values based on the debug selection control data;
the debug selection control data including a first portion for selecting one of a plurality of modules within the device logic, and a second portion for selecting the internal state values associated with the selected one of the plurality of modules within the device logic.
15. The device of claim 10, further comprising an external input, distinct from the JTAG interface, the PCI bus interface, and the host interface, for receiving the prescribed device input specifying the JTAG-based override.
16. The device of claim 10, wherein the configuration values include compensation settings for the PCI bus interface, and compensation settings for the host interface.
17. The device of claim 10, wherein the write logic is configured for disabling access to the prescribed selected configuration registers via the host interface during the overwriting of the configuration values from the serial input stream.
18. The device of claim 10, wherein the prescribed selected configuration registers store the respective stored configuration values for controlling operations of the PCI bus interface and the host interface, the write logic configured for writing the configuration values from within the serial input stream into the prescribed selected configuration registers according to a prescribed register sequence.
US10/983,646 2004-11-09 2004-11-09 PCI bridge device configured for using JTAG scan for writing internal control registers and outputting debug state Active 2025-07-02 US7257654B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US10/983,646 US7257654B1 (en) 2004-11-09 2004-11-09 PCI bridge device configured for using JTAG scan for writing internal control registers and outputting debug state

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US10/983,646 US7257654B1 (en) 2004-11-09 2004-11-09 PCI bridge device configured for using JTAG scan for writing internal control registers and outputting debug state

Publications (1)

Publication Number Publication Date
US7257654B1 true US7257654B1 (en) 2007-08-14

Family

ID=38337125

Family Applications (1)

Application Number Title Priority Date Filing Date
US10/983,646 Active 2025-07-02 US7257654B1 (en) 2004-11-09 2004-11-09 PCI bridge device configured for using JTAG scan for writing internal control registers and outputting debug state

Country Status (1)

Country Link
US (1) US7257654B1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120226839A1 (en) * 2011-03-02 2012-09-06 Texas Instruments Incorporated Method and System for Monitoring and Debugging Access to a Bus Slave Using One or More Throughput Counters
US20140157051A1 (en) * 2011-05-16 2014-06-05 Zongyou Shao Method and device for debugging a mips-structure cpu with southbridge and northbridge chipsets
CN105426331A (en) * 2015-11-13 2016-03-23 上海斐讯数据通信技术有限公司 PHY chip management system and PHY chip management method
US10073137B2 (en) * 2016-08-02 2018-09-11 Qualcomm Incorporated Soundwire-based embedded debugging in an electronic device

Citations (33)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5282271A (en) * 1991-10-30 1994-01-25 I-Cube Design Systems, Inc. I/O buffering system to a programmable switching apparatus
US5343478A (en) * 1991-11-27 1994-08-30 Ncr Corporation Computer system configuration via test bus
US5428800A (en) * 1991-10-30 1995-06-27 I-Cube, Inc. Input/output (I/O) bidirectional buffer for interfacing I/O ports of a field programmable interconnection device with array ports of a cross-point switch
US6044025A (en) * 1999-02-04 2000-03-28 Xilinx, Inc. PROM with built-in JTAG capability for configuring FPGAs
US6125463A (en) * 1997-06-13 2000-09-26 Bull Hn Information Systems Italia S.P.A. Integrated circuit with serial test interface and logic for loading a functional register using said interface
US6145100A (en) * 1998-03-04 2000-11-07 Advanced Micro Devices, Inc. Debug interface including timing synchronization logic
US6185732B1 (en) * 1997-04-08 2001-02-06 Advanced Micro Devices, Inc. Software debug port for a microprocessor
US6262596B1 (en) * 1999-04-05 2001-07-17 Xilinx, Inc. Configuration bus interface circuit for FPGAS
US6567932B2 (en) * 1999-10-01 2003-05-20 Stmicroelectronics Limited System and method for communicating with an integrated circuit
US6614259B2 (en) * 1996-07-18 2003-09-02 Altera Corporation Configuration memory integrated circuit
US6662314B1 (en) * 1999-11-15 2003-12-09 Mitsubishi Denki Kabushiki Kaisha Microcomputer including program for rewriting data in an internal flash memory
US20040103341A1 (en) * 2002-11-27 2004-05-27 Demeo Dana C. Disaster recovery port in a portable computer
US6748456B1 (en) * 2000-09-29 2004-06-08 Cypress Semiconductor Corp. PLD configuration port architecture and logic
US20040133771A1 (en) * 2003-01-07 2004-07-08 King James E. Method and apparatus for updating boot code using a system controller
US20040225783A1 (en) * 2001-07-30 2004-11-11 Erickson Michael John Bus to multiple jtag bus bridge
US6883109B2 (en) * 2001-07-30 2005-04-19 Hewlett-Packard Development Company, L.P. Method for accessing scan chains and updating EEPROM-resident FPGA code through a system management processor and JTAG bus
US6918027B2 (en) * 2001-07-30 2005-07-12 Hewlett-Packard Development Company, L.P. System and method for in-system programming through an on-system JTAG bridge of programmable logic devices on multiple circuit boards of a system
US6948147B1 (en) * 2003-04-03 2005-09-20 Xilinx, Inc. Method and apparatus for configuring a programmable logic device using a master JTAG port
US6965675B1 (en) * 2000-11-28 2005-11-15 Xilinx, Inc. Structure and method for loading encryption keys through a test access port
US6981153B1 (en) * 2000-11-28 2005-12-27 Xilinx, Inc. Programmable logic device with method of preventing readback
US6983441B2 (en) * 2002-06-28 2006-01-03 Texas Instruments Incorporated Embedding a JTAG host controller into an FPGA design
US7000161B1 (en) * 2001-10-15 2006-02-14 Altera Corporation Reconfigurable programmable logic system with configuration recovery mode
US7007099B1 (en) * 1999-05-03 2006-02-28 Lucent Technologies Inc. High speed multi-port serial-to-PCI bus interface
US7017081B2 (en) * 2002-09-27 2006-03-21 Lucent Technologies Inc. Methods and systems for remotely controlling a test access port of a target device
US7047467B1 (en) * 2002-01-09 2006-05-16 Xilinx, Inc. Structure and method for verifying data in a non-JTAG device from a JTAG device with microcontroller
US7058177B1 (en) * 2000-11-28 2006-06-06 Xilinx, Inc. Partially encrypted bitstream method
US7058856B2 (en) * 2000-07-18 2006-06-06 Oki Electric Industry Co., Ltd. Semiconductor circuit with flash ROM and improved security for the contents thereof
US7069477B2 (en) * 2002-10-30 2006-06-27 International Business Machines Corporation Methods and arrangements to enhance a bus
US7078929B1 (en) * 2004-06-30 2006-07-18 Altera Corporation Interface controller using JTAG scan chain
US7089140B1 (en) * 2004-08-20 2006-08-08 Altera Corporation Programmable logic device and method of testing a programmable logic device
US7117372B1 (en) * 2000-11-28 2006-10-03 Xilinx, Inc. Programmable logic device with decryption and structure for preventing design relocation
US7117373B1 (en) * 2000-11-28 2006-10-03 Xilinx, Inc. Bitstream for configuring a PLD with encrypted design data
US7134025B1 (en) * 2002-03-29 2006-11-07 Xilinx, Inc. Methods and circuits for preventing the overwriting of memory frames in programmable logic devices

Patent Citations (36)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5428800A (en) * 1991-10-30 1995-06-27 I-Cube, Inc. Input/output (I/O) bidirectional buffer for interfacing I/O ports of a field programmable interconnection device with array ports of a cross-point switch
US5282271A (en) * 1991-10-30 1994-01-25 I-Cube Design Systems, Inc. I/O buffering system to a programmable switching apparatus
US5343478A (en) * 1991-11-27 1994-08-30 Ncr Corporation Computer system configuration via test bus
US6614259B2 (en) * 1996-07-18 2003-09-02 Altera Corporation Configuration memory integrated circuit
US6185732B1 (en) * 1997-04-08 2001-02-06 Advanced Micro Devices, Inc. Software debug port for a microprocessor
US6125463A (en) * 1997-06-13 2000-09-26 Bull Hn Information Systems Italia S.P.A. Integrated circuit with serial test interface and logic for loading a functional register using said interface
US6145100A (en) * 1998-03-04 2000-11-07 Advanced Micro Devices, Inc. Debug interface including timing synchronization logic
US6044025A (en) * 1999-02-04 2000-03-28 Xilinx, Inc. PROM with built-in JTAG capability for configuring FPGAs
US6429682B1 (en) * 1999-04-05 2002-08-06 Xilinx, Inc. Configuration bus interface circuit for FPGAs
US6262596B1 (en) * 1999-04-05 2001-07-17 Xilinx, Inc. Configuration bus interface circuit for FPGAS
US7007099B1 (en) * 1999-05-03 2006-02-28 Lucent Technologies Inc. High speed multi-port serial-to-PCI bus interface
US6567932B2 (en) * 1999-10-01 2003-05-20 Stmicroelectronics Limited System and method for communicating with an integrated circuit
US6662314B1 (en) * 1999-11-15 2003-12-09 Mitsubishi Denki Kabushiki Kaisha Microcomputer including program for rewriting data in an internal flash memory
US7058856B2 (en) * 2000-07-18 2006-06-06 Oki Electric Industry Co., Ltd. Semiconductor circuit with flash ROM and improved security for the contents thereof
US6748456B1 (en) * 2000-09-29 2004-06-08 Cypress Semiconductor Corp. PLD configuration port architecture and logic
US7058177B1 (en) * 2000-11-28 2006-06-06 Xilinx, Inc. Partially encrypted bitstream method
US7117373B1 (en) * 2000-11-28 2006-10-03 Xilinx, Inc. Bitstream for configuring a PLD with encrypted design data
US6965675B1 (en) * 2000-11-28 2005-11-15 Xilinx, Inc. Structure and method for loading encryption keys through a test access port
US7117372B1 (en) * 2000-11-28 2006-10-03 Xilinx, Inc. Programmable logic device with decryption and structure for preventing design relocation
US6981153B1 (en) * 2000-11-28 2005-12-27 Xilinx, Inc. Programmable logic device with method of preventing readback
US20040225783A1 (en) * 2001-07-30 2004-11-11 Erickson Michael John Bus to multiple jtag bus bridge
US6918027B2 (en) * 2001-07-30 2005-07-12 Hewlett-Packard Development Company, L.P. System and method for in-system programming through an on-system JTAG bridge of programmable logic devices on multiple circuit boards of a system
US6883109B2 (en) * 2001-07-30 2005-04-19 Hewlett-Packard Development Company, L.P. Method for accessing scan chains and updating EEPROM-resident FPGA code through a system management processor and JTAG bus
US7000161B1 (en) * 2001-10-15 2006-02-14 Altera Corporation Reconfigurable programmable logic system with configuration recovery mode
US7047467B1 (en) * 2002-01-09 2006-05-16 Xilinx, Inc. Structure and method for verifying data in a non-JTAG device from a JTAG device with microcontroller
US7134025B1 (en) * 2002-03-29 2006-11-07 Xilinx, Inc. Methods and circuits for preventing the overwriting of memory frames in programmable logic devices
US7162644B1 (en) * 2002-03-29 2007-01-09 Xilinx, Inc. Methods and circuits for protecting proprietary configuration data for programmable logic devices
US6983441B2 (en) * 2002-06-28 2006-01-03 Texas Instruments Incorporated Embedding a JTAG host controller into an FPGA design
US7017081B2 (en) * 2002-09-27 2006-03-21 Lucent Technologies Inc. Methods and systems for remotely controlling a test access port of a target device
US7069477B2 (en) * 2002-10-30 2006-06-27 International Business Machines Corporation Methods and arrangements to enhance a bus
US20040103341A1 (en) * 2002-11-27 2004-05-27 Demeo Dana C. Disaster recovery port in a portable computer
US6973588B2 (en) * 2002-11-27 2005-12-06 Symbol Technologies, Inc. Disaster recovery port in a portable computer
US20040133771A1 (en) * 2003-01-07 2004-07-08 King James E. Method and apparatus for updating boot code using a system controller
US6948147B1 (en) * 2003-04-03 2005-09-20 Xilinx, Inc. Method and apparatus for configuring a programmable logic device using a master JTAG port
US7078929B1 (en) * 2004-06-30 2006-07-18 Altera Corporation Interface controller using JTAG scan chain
US7089140B1 (en) * 2004-08-20 2006-08-08 Altera Corporation Programmable logic device and method of testing a programmable logic device

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
"AMD-8131(TM) HyperTransport(TM) PCI-X(R) Tunnel Data Sheet", 24637 Rev 3.02, Aug. 10, 2004.
"IEEE Standard Test Access Port and Boundary-Scan Architecture", IEEE Std 1149-1-2001, Jul. 23, 2001, IEEE, New York.
Patavalis, "A Brief Introduction to the JTAG Boundary Scan Interface", <http://www.inaccessnetworks.com/projects/ianjtag/jtag-intro/jtag-intro.html>, Nov. 8, 2001, pp. 1-5, Athens.

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120226839A1 (en) * 2011-03-02 2012-09-06 Texas Instruments Incorporated Method and System for Monitoring and Debugging Access to a Bus Slave Using One or More Throughput Counters
US20140157051A1 (en) * 2011-05-16 2014-06-05 Zongyou Shao Method and device for debugging a mips-structure cpu with southbridge and northbridge chipsets
US9846625B2 (en) * 2011-05-16 2017-12-19 Dawning Information Industry Co., Ltd. Method and device for debugging a MIPS-structure CPU with southbridge and northbridge chipsets
CN105426331A (en) * 2015-11-13 2016-03-23 上海斐讯数据通信技术有限公司 PHY chip management system and PHY chip management method
US10073137B2 (en) * 2016-08-02 2018-09-11 Qualcomm Incorporated Soundwire-based embedded debugging in an electronic device

Similar Documents

Publication Publication Date Title
US5608736A (en) Method and apparatus for a universal programmable boundary scan driver/sensor circuit
US10690720B2 (en) Integrated circuit with JTAG port, TAP linking module, and off chip TAP interface port
EP1651971B1 (en) Test standard interfaces and architectures
US9110142B2 (en) Methods and apparatus for testing multiple-IC devices
US7426670B2 (en) Connecting multiple test access port controllers on a single test access port
WO2007021732A2 (en) Selectable jtag or trace access with data store and output
JP4542910B2 (en) Test system
US7076708B2 (en) Method and apparatus for diagnosis and behavior modification of an embedded microcontroller
US7257654B1 (en) PCI bridge device configured for using JTAG scan for writing internal control registers and outputting debug state
US6530050B1 (en) Initializing and saving peripheral device configuration states of a microcontroller using a utility program
US7610532B2 (en) Serializer/de-serializer bus controller interface
US7234015B1 (en) PCIXCAP pin input sharing configuration for additional use as PCI hot plug interface pin input
US7861129B2 (en) Integrated circuit for writing and reading registers distributed across a semiconductor chip

Legal Events

Date Code Title Description
AS Assignment

Owner name: ADVANCED MICRO DEVICES, INC., CALIFORNIA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:REEVES, RICHARD W.;HYPHER, AUSTEN JOHN;REEL/FRAME:015981/0473

Effective date: 20040910

FEPP Fee payment procedure

Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

STCF Information on status: patent grant

Free format text: PATENTED CASE

FPAY Fee payment

Year of fee payment: 4

FPAY Fee payment

Year of fee payment: 8

MAFP Maintenance fee payment

Free format text: PAYMENT OF MAINTENANCE FEE, 12TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1553); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

Year of fee payment: 12