Network physical layer transceiver with single event effect detection and response
By introducing a SEE monitor into the physical layer transceiver to detect and respond to single-event effects, the problem of functional failures of integrated circuits caused by single-event effects in the space environment is solved, and the avoidance and rapid response to catastrophic failures are achieved.
Patent Information
- Application Number
- CN202380019174.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-01-28
- Filing Date
- 2023-01-30
- Publication Date
- 2024-09-10
AI Technical Summary
Modern integrated circuits are susceptible to single event effects (SEEs) in the space environment, leading to functional failures and permanent damage, making it difficult for existing technologies to effectively detect and respond to these events.
A physical layer transceiver is designed, including a digital-to-analog conversion circuit block, a processing block, a power management circuit, and a reset circuit. It is equipped with a SEE monitor to detect and respond to single-event effects, including an environment monitor, a register monitor, and a state machine monitor. and PLL lock monitors to quickly respond to SEE events by sampling power supply parameters, correcting register contents, and monitoring state machine transitions.
Effectively detect and respond to SEE events in physical layer transceivers to avoid catastrophic functional failures and permanent damage, especially in space environments, providing powerful fault detection and rapid response capabilities.
Smart Images

Figure CN118633246A
Abstract
Description
Technical Field
[0001] The present invention relates to network data communication equipment, and more particularly to a physical layer transceiver. Background Art
[0002] In the field of network communications, a common reference model is used to describe the architecture of communication protocols, which is the Open Systems Interconnection (OSI) layered reference model. This reference model includes a stack of abstraction layers, where the "bottommost" is usually called the physical layer or "PHY". The OSI physical layer defines the electrical, timing, and other interfaces through which data bits can be transmitted over a communication link, whether wired (e.g., Ethernet) or wireless (e.g., cellular phones, wireless LANs, or WiFi). Communication elements such as electrical signals, signaling speeds, media and connector types, and network topology are included in the PHY abstraction layer.
[0003] From a hardware perspective, the term "PHY" refers to an electronic circuit, typically implemented as an integrated circuit, that implements the physical layer functions of the OSI model in a network interface controller or other network node. For example, "PHY" is often used to refer to a transceiver circuit in a network node that sends signals to another network node and receives signals from the node. Within a network node, a PHY connects a link layer device (commonly referred to as a "MAC," which is an abbreviation for a media access control) to a physical medium such as an optical fiber or copper cable. An exemplary PHY device includes a physical coding sublayer (PCS) and a physical medium dependent layer (PMD) functions.
[0004] In the context of Ethernet, PHY may refer to a physical layer transceiver device that is used to send and receive Ethernet frames, thereby implementing the Ethernet physical layer portion of the 1000BASE-T (1000Mbps), 100BASE-TX (100Mbps over copper), and 10BASE-T (10Mbps) standards, depending on the network being implemented. In these implementations, the Ethernet PHY provides analog signal physical access to the link and, because the PHY typically does not handle MAC addressing, interfaces with the Media Independent Interface (MII) of a MAC chip in a microcontroller or other system that implements higher layer functions.
[0005] In many network interface card (NIC) implementations, the Ethernet PHY is implemented as an integrated circuit that implements the hardware transmit and receive functions of Ethernet frames, as well as the interface connection between the Ethernet analog domain and the digital domain of link layer packet signaling. The NIC may integrate the PHY, MAC, and other functions into a single integrated circuit, or alternatively, the NIC may integrate the PHY, MAC, and other functions into separate integrated circuits. Examples of modern Ethernet transceivers include the DP838xx series of devices available from Texas Instruments Incorporated.
[0006] As integrated circuit features become smaller and smaller over time, modern integrated circuits are becoming more and more sensitive to functional failures caused by high-energy ions or atomic-level particles hitting the integrated circuit. Functional failures of integrated circuits caused by this situation can be caused by even a single particle hitting the device. The impact of these ions and particles on integrated circuits is generally referred to as "single event effects" or "SEEs", reflecting the randomness and non-periodicity of the underlying mechanism. Many errors caused by SEEs are transient or "soft", but in some cases, the impact of the event can be catastrophic functional failures or permanent damage to the device. For example, one type of "soft" or non-destructive SEE is called "single event upset" (SEU), which refers to "bit reversal" (change of state) in memory, registers or other digital functions and signal paths. Another soft SEE is a single event transient (SET), which appears as a transient pulse on an analog signal path. SEE also includes "hard" errors that can potentially damage the device. An example of such a "hard" SEE is called a single event lockout (SEL), which can cause the operating current to exceed the device specifications (so that in order to recover, it must be powered off and reset, and in the worst case, the device is permanently damaged). Other types of “hard” SEE errors include burnout of power MOSFETs, gate cracking of MOS transistors and capacitors, frozen bits, and excessive noise.
[0007] Another type of SEE that can occur in a functional logic circuit is called a single event functional interrupt (SEFI). For example, an ion impact can cause the logic circuit to enter a different operating state, which may include an "off" state or may include an invalid state. A SEFI in which a control or configuration register bit is inverted can change the configuration of the device. In addition, a SEFI at a reset circuit can cause an unexpected reset of the logic circuit.
[0008] Integrated circuits deployed in space environments are more susceptible to SEE due to the enhanced presence of cosmic rays and high-energy protons in the space environment. Cosmic rays can originate from the Milky Way or the Sun and typically include a heavy ion component that has been observed to cause SEE via direct ionization. This mechanism occurs because the ion particles accumulate enough charge upon entering the integrated circuit to cause a memory bit flip or electrical transient. High-energy protons trapped in the Earth's radiation belts or from solar flares can also cause direct ionization SEE in very sensitive devices. Another SEE mechanism is indirect ionization, which is caused by nuclear reactions of high-energy protons occurring near sensitive device regions in the device.
[0009] In many cases, the effects of a SEE present in a complex integrated circuit (such as an Ethernet PHY) may only be apparent through complete functional failure of the device (e.g., if the SEE causes entry into an invalid or undesirable operating mode, state, or condition, or in a worst-case scenario, causes the device to draw excessive supply current due to lockup or the like).
[0010] It is against this background that the embodiments described herein are presented. Summary of the invention
[0011] According to one aspect, a physical layer transceiver includes: a medium independent interface; a digital-to-analog conversion circuit block including circuitry configured to convert digital signals into analog signals for transmission over a network communication medium and to convert analog signals received over the medium into digital signals; and one or more processing blocks configured to process digital data transmitted between the medium independent interface and the digital-to-analog conversion circuit block according to a network protocol. Management and control circuitry including power management circuitry and reset circuitry is provided. The transceiver also includes at least one single event effect (SEE) monitor configured to detect and respond to SEE events in the transceiver.
[0012] According to one aspect, at least one SEE monitor includes an environmental monitor that samples one or more of a supply voltage and a supply current, digitizes the sampled voltage or current, and determines whether a difference between the digitized value and a previous historical value of the parameter exceeds a threshold, and if so, issues a reset signal.
[0013] According to one aspect, at least one SEE monitor includes a register monitor coupled to a configuration register in a processing block. The register monitor includes an error correction code (ECC) circuit configured to read and decode a codeword from the configuration register, determine whether any bit of the codeword is in error based on an ECC code. In an example, the ECC circuit can correct the error bit and reload the corrected codeword into the configuration register.
[0014] According to one aspect, at least one SEE monitor includes a state machine monitor coupled to sequential logic corresponding to a state machine corresponding to a state machine having one or more states and one or more state variables. The state register stores a state code according to a unique hot encoding of the value of the state variable in the current state. The state machine monitor is configured to determine whether a state transition of the state machine is valid, or whether the stored state code is valid. If not valid, the state machine monitor may issue a reset signal.
[0015] According to one aspect, at least one SEE monitor includes a phase locked loop (PLL) lock monitor circuit for monitoring a loss of phase lock of a PLL or other timing circuit.Register updates at a data interface of the PHY device may be disabled in response to a loss of lock condition.
[0016] According to one aspect, a transceiver according to these aspects is incorporated into a network node, the network node also comprising a network node processor, a medium access control coupled to the transceiver and the network node processor, and an interface between the transceiver and the network communication processor.
[0017] Technical advantages achieved by one or more of these aspects include improved detection of SEE events in the data path and control path of a physical layer transceiver and the ability to respond to those SEE events within the transceiver. Thus, catastrophic functional failures and (in the worst case) permanent damage to the transceiver can be avoided. Implementations of these aspects are particularly beneficial in space environments where the potential for SEE is particularly high.
[0018] Other technical advantages achieved by the described aspects will be apparent to those of ordinary skill in the art by referring to the following description and its accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 It is a circuit diagram in block form of network nodes constructed according to the instance.
[0020] Figure 2 is a circuit diagram in block form of a physical layer transceiver (PHY) constructed according to an example.
[0021] Figure 3 It is a combination of examples Figure 2 A block-form circuit diagram of the PHY management and environmental monitor of the PHY control circuitry.
[0022] Figure 4 It is shown according to the example Figure 3 Flowchart of the operation of an environmental monitor.
[0023] Figure 5A It is based on examples Figure 2A block diagram of the register monitor in the PHY.
[0024] Figure 5B It is based on examples Figure 5A A circuit diagram in schematic form of the storage bits in the configuration register.
[0025] Figure 6 It is shown according to the example Figure 5A Flowchart of the operation of an environmental monitor.
[0026] Figure 7 It is a combination of examples Figure 2 A circuit diagram of a state machine monitor in block form of an example of sequential logic within a PHY.
[0027] Figure 8 It is shown according to the example Figure 7 Flowchart of the operation of the state machine monitor.
[0028] Fig. 9A It is based on examples Figure 2 A block-form circuit diagram of the PLL and loss-of-lock detection circuitry in the PHY.
[0029] Fig. 9B is a timing diagram showing the Fig. 9A The lock-out detection circuit uses a timing window in the detection of phase lock and lock-out.
[0030] Fig.10 is a flow chart showing the Fig. 9A and 9B operation of the PLL lock detection circuit.
[0031] The same reference numerals or other drawing designators are used throughout the drawings to indicate the same or similar (in function and / or structure) features. DETAILED DESCRIPTION
[0032] One or more embodiments described in this specification are implemented in a physical layer transceiver device in an Ethernet type network that may be deployed, for example, in a space environment, because such implementations are expected to be particularly advantageous in this context. However, it is also believed that aspects of these embodiments may also be beneficially applied to other applications (e.g., communication hardware for other types of networks), and other environments in which devices may be susceptible to particle-induced functional errors or failures. Therefore, the following description is provided by way of example only.
[0033] Figure 1An example of a network node 100 into which an embodiment may be implemented is shown. The network node 100 may be implemented as any of a plurality of network functions, such as a computing device as one or both of a network server or client, a peripheral device such as a printer or other input / output function, a sensor or controller (e.g., in the context of the Internet of Things (or IOT)), a router, a switch, or other network functions. The network node 100 is coupled to a network communication medium 102, through which the network node receives and sends data and control information. In this particular example in which network communication is performed via Ethernet, the network communication medium 102 is implemented as CAT6 copper wire, etc. In other implementations, the network communication medium 102 may be implemented as optical fiber, etc.
[0034] exist Figure 1 In an example of , the network node 100 includes an Ethernet physical layer transceiver (PHY) 106 constructed according to an embodiment. For an example in which the network communication medium 102 is a hard-wired Ethernet connection, the PHY 106 is coupled to the medium 102 via a magnetic coupling interface 104. The magnetic coupling interface 104 is provided to electrically isolate the medium 102 from the PHY 106 while providing a signal path. For example, the magnetic coupling interface 104 may be implemented as a discrete Ethernet magnetic module disposed in the signal path between the PHY 106 and the connector jack for physically coupling with the network communication medium 102. Alternatively, the magnetic coupling interface 104 may be integrated into the same housing or package as the Ethernet connector jack. In either case, the interface 122 between the PHY 106 and the magnetic coupling interface 104 in this implementation is referred to as a medium-dependent interface (MDI) in the Ethernet context because its specifications depend on the specific medium used for the network communication medium 102.
[0035] The Ethernet PHY 106 (in this example) includes appropriate circuitry for transceiving data and control information between upstream functions and the network communications medium 102. In the context of Ethernet, the PHY 106 receives digital data in the form of Ethernet frames from a media access controller (MAC) 108 and generates analog signals corresponding to those frames for transmission on the medium 102. In its receive function, the PHY 106 processes the analog signals received via the medium 102 and, for those signals representing data intended for the network node 100, digitizes and formats the digital data into Ethernet frames for use and processing by the MAC 108 and further upstream functions. Thus, the PHY 106 serves as an interface between the Ethernet analog domain at the medium 102 and the digital domain of link layer packet signaling for the network node 100 as performed by the MAC 108. The construction and operation of the PHY 106 according to the example will be described in additional detail below.
[0036] According to this example, the PHY 106 is coupled to the MAC 108 via an interface 124, which in this implementation is referred to as a media independent interface (MII) or a reduced gigabit media independent interface (RGMII) in the Ethernet context because the interface specification is independent of the physical implementation of the network communication medium 102. The media access controller (MAC) 108 in the network node 100 includes appropriate circuitry for processing data received from the PHY 106 and to be transmitted to the PHY 106 for transmission. This processing may include, for example, managing frame buffers for data in the transmit and receive directions, packet formatting and identification, timer functions, and other operations involved in a portion of the OSI model (data link layer or MAC layer). The MAC 108 may be integrated into a processor, a field programmable gate array (FPGA), a digital circuit, a memory, an application specific integrated circuit (ASIC), software, or a combination thereof. The MAC 108 may be implemented in the same integrated circuit as the PHY 106 and the MII interface 124, or may be implemented as one or more integrated circuits separate from the PHY 106.
[0037] exist Figure 1 108. In an example of the present invention, the network node processor 110 is coupled to the MAC 108 via the interface 126. The network node processor 110 provides data processing and control capabilities suitable for implementing the functions of the network node 100 in the network. The network node processor 110 may be implemented as a microprocessor, a microcontroller, an FPGA, a switch fabric, and / or other suitable circuits and / or may be implemented for the functions. The network node processor 110 may be implemented in the same integrated circuit as the MAC 108, or alternatively, as one or more separate integrated circuits. In one example of the latter case, the MAC 108, the PHY 106, and the magnetic coupling interface 104 may be implemented in a network interface card (NIC), and the network node processor 110 is coupled to the network interface card via the interface 126.
[0038] According to the combination Figure 2 In one or more examples described hereinafter, the PHY 106 is constructed and operated to include one or more mechanisms for monitoring and responding to errors caused by SEE in the control path and the data path. Therefore, the PHY 106 may be beneficial when implemented in a communication device deployed in a space environment (such as a satellite, a space vehicle, etc.).
[0039] Figure 2The architecture of the PHY 106 according to the example is shown. As described above, the overall function of the PHY 106 is to interface communications between the Ethernet analog domain at the network communication medium 102 and the digital domain for link layer packet signaling performed by the MAC 108 for the network node 100. Therefore, the PHY 106 in this example includes the MII interface circuit 200, through which the digital signals processed by the PHY 106 or to be processed by it are transmitted to and received from the MAC 108 through the interface 124 according to the appropriate RGMII or MII protocol (as the case may be).
[0040] In order to process digital data to be transmitted to and received from the MAC 108, the PHY 106 includes one or more communication processing blocks 202 (e.g., including processing blocks 202A, 202B, 202C). In this example in which the PHY 106 is operable to process communications according to any of the three Ethernet protocols, the PHY 106 includes a 100BASE-TX processing block 202A, a 10BASE-Te processing block 202B, and a 1000BASE-T processing block 202C. Each processing block 202 is coupled to the MII interface circuit 200 on one side and to the converter block 210 on the other side to communicate with the network communication medium 102 via the magnetic coupling interface 104. Each of the processing blocks 202A, 202B, 202C includes digital logic circuitry (or other circuitry, memory, and / or software) that is configured and operable to process digital data appropriate for the particular protocol involved. For example, the digital logic circuits included in the processing blocks 202A, 202B, 202C may be implemented at least in part as sequential logic in the form of one or more state machines. The processing blocks 202A, 202B, 202C in this example may also include one or more configuration registers that may configure the processing blocks and the PHY 106 to operate in a selected mode of a plurality of operating modes.
[0041] In the Ethernet context of this example, the digital logic circuits in each of the processing blocks 202A, 202B, 202C are arranged to implement one or more sublayers of the applicable Ethernet protocol. In this example, the 100BASE-TX processing block 202A implements the physical coding sublayer (PCS), the physical medium attachment (PMA) sublayer, and the physical medium dependent (PMD) sublayer (in order from the MII side to the Ethernet media side). Similarly, the 10BASE-Te block 202B and the 1000BASE-T block 202C implement the PCS and PMA sublayers, but the PMD sublayer is not required for Ethernet communications over the copper wire medium 102 in this example. Figure 2As apparent in FIG. 2 , each of the 100BASE-TX block 202A, the 10BASE-Te block 202B, and the 1000BASE-T block 202C is coupled to the converter block 210 .
[0042] In this implementation, the converter block 210 is configured and operable to convert signals between the digital domain of the 100BASE-TX block 202A, the 10BASE-Te block 202B, and the 1000BASE-T block 202C and the analog domain (e.g., used by the network communication medium 102). Thus, the converter block 210 includes a digital-to-analog conversion and an analog-to-digital conversion (DAC / ADC) subsystem 214 that is coupled to each of the processing blocks 202A, 202B, and 202C. The DAC / ADC subsystem 214 is also coupled to a driver / receiver circuit 216, which in turn is coupled to the network communication medium 102 via the magnetic coupling interface 104. To receive signals from the network communication medium 102, the driver / receiver circuit 216 includes appropriate analog filters, level shifters, and other circuits adapted to transmit the received analog signals (e.g., in the form of differential signals) to ADC (analog-to-digital conversion) circuits in the DAC / ADC subsystem 214, which in turn convert the processed received analog signals into digital symbols for transmission to the appropriate processing block 202 in accordance with the operating protocol. To transmit digital data to the network communication medium 102, the DAC / ADC subsystem 214 includes DAC (digital-to-analog conversion) circuits for converting the digital symbols into analog signals (e.g., differential signals), which are then driven by appropriate driver circuits included in the driver / receiver circuit 216 for application to the magnetic coupling interface 104. The converter block 210 includes a timing circuit 218, which is constructed and operable to provide an appropriate clock signal to the DAC / ADC subsystem 214 for conversion operations. Timing circuit 218 may generate these clocks based on a received master clock signal (eg, from a crystal oscillator or bulk acoustic wave device external to PHY 106 ) or a master clock signal generated internally to PHY 106 .
[0043] According to this example, some additional functions are also provided in PHY 106. Figure 2As shown, PHY 106 includes management and control circuitry 220 that is constructed and operable to implement appropriate operations for controlling PHY 106 as an integrated circuit device. For example, management and control circuitry 220 includes reset circuitry for implementing a hardware reset of PHY 106, such as in response to an external reset signal. Management and control circuitry 220 may also include circuitry for generating interrupt signals that are transmitted to a processor elsewhere in network node 100, and may include circuitry for receiving and transmitting status and control information to external circuitry. Management and control circuitry 220 may also include power management circuitry for receiving one or more power supply voltages (one example of which is at Figure 2 ) and generates bias voltages and reference voltages based on these supply voltages for distribution throughout PHY 106. PHY 106 may also provide Figure 2 Other functions not shown in the figure include "Wake-up on LAN" circuit function, automatic negotiation circuit function, etc.
[0044] According to this example, PHY 106 includes monitoring and detection circuitry 240 configured and operable to monitor circuits within PHY 106 to detect SEE, SEU, and SEFI, such as may be caused by the impact of heavy ions and high energy protons on an integrated circuit incorporating PHY 106. Figure 2 As shown, the monitoring and detection circuit 240 includes an environment monitor 242, a register monitor 244, and a state machine monitor 246. Figure 2 As shown, monitoring and detection circuit 240 is coupled to each of processing blocks 202A, 202B, 202C and, as appropriate, management and PHY control circuit 220. More specifically, depending on the particular function or operation being monitored, one or more of environmental monitor 242, register monitor 244, and state machine monitor 246 are coupled to processing block 202 and management and PHY control circuit 220. The construction and operation of each of environmental monitor 242, register monitor 244, and state machine monitor 246 will be described in additional detail below.
[0045] Additionally, in this example, a phase-locked loop (PLL) lock monitor 250 is implemented independently as part of the converter block 210 to monitor timing rollovers in the DAC / ADC subsystem 214. The construction and operation of the PLL lock monitor 250 will be described in additional detail below.
[0046] refer to Figure 3, the construction and operation of an environmental monitor 242 implemented in a PHY 106 according to an example will be described. In this implementation, the environmental monitor 242 monitors operating conditions at the power supply of the PHY 106, as well as other environmental conditions, such as the operating temperature of the integrated circuits that include the PHY 106. By monitoring these conditions of the PHY 106, the environmental monitor 242 can detect SEFI events that may not otherwise be detected by other SEE detection techniques.
[0047] For its monitoring of power supply operating conditions, environmental monitor 242 is coupled to power management circuitry 300 in management and PHY control circuitry 220. In this example, power management circuitry 300 includes appropriate circuitry and / or software for managing the distribution of power (e.g., supply voltage and / or supply current) through PHY 106, and in this regard may include voltage regulation and reference voltage generation circuitry for generating other internal voltages as appropriate. PHY 106 may use multiple supply voltages as the VDD supply for various circuit blocks. For example, Figure 3 As shown, the power management circuit 300 is coupled to terminals VDD_1V, VDD_1.8V, and VDD_2.5V for receiving supply voltages with nominal voltages of 1.0V, 1.8V, and 2.5V, respectively. The voltages at the terminals VDD_1V, VDD_1.8V, and VDD_2.5V are coupled to the environmental monitor 242 via lines VA, VB, and VC, respectively. In addition, current sensors 312A, 312B, 312C are provided in the power management circuit 300 for sensing the supply current drawn by the PHY 106 from the power supply terminals VDD_1V, VDD_1.8V, and VDD_2.5V, respectively. For example, the current sensor 312 may be implemented as a small resistor (voltage is measured across it), an inductor, or a Hall effect sensor, etc. The current sensors 312A, 312B, 312C are coupled to the environmental monitor 242 via lines IA, IB, IC, respectively.
[0048] To detect possible SEFI events, the environmental monitor 242 of the PHY 106 includes circuits configured to monitor and analyze power supply voltages and currents. In this example, a multiplexer 320 in the environmental monitor 242 has inputs connected to lines VA, VB, VC (corresponding to the voltages at terminals VDD_1V, VDD_1.8V, and VDD_2.5V, respectively) and lines IA, IB, IC (corresponding to the supply currents drawn by the PHY 106 from terminals VDD_1V, VDD_1.8V, and VDD_2.5V, respectively). Control circuits within the environmental monitor 242 (e.g., from Figure 3The select signal TS of the SEFI engine 330 shown or other parts within the PHY 106 operates to select one of the inputs of the multiplexer 320 to be connected to the output of the control circuit. The output of the multiplexer 320 is connected to the input of a ΔΣADC 322 (e.g., a 1-bit converter), which samples the monitored signal at the selected output (e.g., by oversampling) and filters and otherwise modulates the sampled signal to provide a digital value corresponding to the corresponding voltage or current. In this example, the digital output of the ΔΣADC 322 is coupled to the input of a decimation filter 324, which decimates the digital output of the ΔΣADC 322 into fewer digital bits to improve efficiency. If desired, the decimation filter 324 can be implemented inside the ΔΣADC 322. The decimated digitized voltage or current measurement (as the case may be) can be forwarded from the decimation filter 324 to the history memory 326 and the SEFI engine 330. History memory 326 maintains a history of parameters measured by environmental monitor 242 over a period of time.
[0049] In this example, the operating temperature of the integrated circuit (e.g., the substrate temperature of the integrated circuit in or on which the PHY 106 is fabricated) is also monitored by the environmental monitor 242. This ambient chip temperature is another additional and optional parameter monitored by the environmental monitor 242; if desired, the environmental monitor 242 may monitor additional environmental conditions in addition to the chip temperature. In this regard, the management and PHY control circuit 220 includes a temperature sensor 310 that provides an analog signal corresponding to the temperature to an additional input of a multiplexer 320 in the environmental monitor 242 on line TEMP. Thus, the multiplexer 320 includes as one of the inputs the signal on line TEMP, which is connected to a delta-sigma modulator 322 for digitization; the decimation filter 324 likewise decimates the sampled digital values, and the decimated digitized value of the analog signal on line TEMP is also connected to a history memory 326 and a SEFI engine 330 for storage and analysis, respectively.
[0050] The SEFI engine 330 may be constructed as a digital logic circuit, such as a dedicated logic circuit, a programmable logic circuit that executes program instructions (e.g., stored in a memory of the circuit, in a local memory in the environmental monitor 242, or in a memory elsewhere in the PHY 106, or some combination thereof) that are configured to perform the functions of the programmable logic circuit as described by way of example in this specification. In a general sense, the SEFI engine 330 operates to analyze voltage, current, and (optionally) temperature measurements monitored over time to detect possible SEFI events and responsively signal appropriate circuits in the PHY 106. Figure 3In the example of , SEFI engine 330 generates a reset signal in response to its detection of a SEFI event and transmits the reset signal on line RST to reset circuit 340 in management and PHY control circuit 220 .
[0051] Figure 4 Shown according to the example Figure 3 4. The operation of the environmental monitor 242 of FIG. 400 is described in detail. In process 400, the SEFI engine 330 causes polling of voltage, current, and (optionally) temperature measurements, for example, by cycling a control signal TS, which is applied to a select input of the multiplexer 320 to select one of the inputs of the multiplexer 320 for forwarding to the ΔΣ ADC 322. In this example, the polling process 400 selects one of the inputs of the multiplexer 320 (e.g., one of VA, VB, VC, IA, IB, IC, TEMP) for forwarding to the ΔΣ ADC 322. Alternatively, more than one of the input signals applied to the multiplexer 320 may be acquired in process 400, and any of the signals may then be forwarded to the ΔΣ ADC 322. However, for this description, the operation of the environmental monitor 242 will be described with respect to the case where the polling process 400 acquires one of the monitored parameters (e.g., voltage, supply current, or temperature) at a time for processing to determine whether the current value of the parameter indicates a SEFI event.
[0052] In process 402, the ΔΣ ADC 322 converts the signal acquired in process 400 via the multiplexer 320 from an analog signal to a digital data word, in this example using a 1-bit ΔΣ modulation scheme. Also in process 402, the decimation filter 324 decimates the digital data word output by the ΔΣ ADC 322, and the decimate digital value is stored in the history memory 326 (e.g., in association with a timestamp indicating the current time (e.g., acquisition time)). This decimate of the digital value by the decimation filter 324 can reduce the required size of the history memory 326 while still providing sufficient accuracy for SEE detection. Figure 3 As shown, the decimated digital value output by the decimation filter 324 is also forwarded to the SEFI engine 330 for comparison with the most recent previous historical value of the measured parameter, as described below.
[0053] According to this example, environmental monitor 242 operates to detect SEFI events that affect the supply voltage and supply current. More specifically, it has been observed that SEEs (such as those produced by the impact of high-energy protons or heavy ions on the integrated circuit) can appear as a sudden change in the current drawn from the external power supply, typically a sudden drop in that supply current. SEEs can also appear as a sudden change in the supply voltage (e.g., simultaneously with a sudden change in the supply current). In complementary metal oxide semiconductor (CMOS) integrated circuits, one type of SEE is the initiation of a proton or heavy ion-induced latch-up (e.g., the triggering of a parasitic thyristor in a CMOS structure). This type of latch-up is referred to as a single event latch-up (SEL). As Figure 3 As shown, the excessive current drawn during a lock-up event may be detected as a sudden increase in device temperature, which may be sensed by temperature sensor 310 and communicated to environmental monitor 242. SEEs that result in these sudden changes in supply voltage, supply current, or device temperature may not otherwise be reflected in the operation of PHY 106 (e.g., by SEUs of stored logic levels or data states), and thus may not be detected until catastrophic functional failure of the device.
[0054] The operation of the SEFI engine 330 in the environment monitor 242 according to this example takes these SEEs into account in its detection process. As described above, the SEFI engine 330 implements a decision 403 for comparing the currently extracted digital value corresponding to the monitored parameter (e.g., voltage, current, temperature) with the dynamic threshold value for the same parameter previously calculated by the SEFI engine 330 based on the previous value of the parameter over time. For the purpose of SEE detection, the absolute value of the latest measurement of the power supply voltage, current, or chip temperature is not as important as the relative value (if any) of the latest measurement compared to the most recent historical value of the measured parameter. According to this example, based on the dynamic threshold value, the currently extracted digital value of the monitored parameter can be calculated by the SEFI engine 330 as a percentage, ratio, or absolute change of the value compared to the average value of the parameter measured in the most recent time interval. According to this implementation, the dynamic threshold value of the parameter is determined by the more recent historical value, which allows for possible differences in power consumption in different available operating modes of the PHY 106. If the current or most recently extracted digital value of the measurement obtained in process 400 is within the dynamic threshold range (e.g., does not exhibit abrupt changes relative to the stored historical values of the parameter), decision 403 returns a "yes" result. The SEFI engine 330 then updates the dynamic threshold of the parameter of interest based on this most recent measurement, and starting with process 400, the next monitored parameter is selected via the selection signal TS for acquisition and processing.
[0055] On the other hand, if the SEFI engine 330 determines that the most recent measurement obtained in process 400 and digitized and extracted in process 402 exceeds the dynamic threshold relative to the most recent historical value of the parameter (decision 403 is "no"), then the SEFI engine 330 has detected a possible SEE and is operating in process 410 to take appropriate action. In this example, the indicated action for a possible SEE detected by the SEFI engine 330 in the environmental monitor 242 is a hardware reset of the PHY 106. In this example, process 410 (as performed by the SEFI engine 330) includes issuing a reset signal on line RST to the reset circuit 340 in the management and PHY control circuit 220. The reset circuit 340 then implements a reset of the PHY 106 in an attempt to clear the effects of the SEE.
[0056] In this manner, environmental monitor 242 operates to detect possible SEFIs that manifest themselves as sudden changes in the supply voltage at PHY 106, the supply current drawn by PHY 106, and the chip operating temperature of PHY 106, and initiate responses to these SEFIs (e.g., by resetting the device). Thus, this detection and response can quickly respond to SEEs that may not otherwise be detected from the operation of the digital logic in PHY 106.
[0057] Figure 5A The architecture and operation of the register monitor 244 implemented in the PHY 106 according to an example are shown. In this implementation, the register monitor 244 monitors the contents of various registers in the functional circuits and other circuits of the PHY 106 to detect and, in some cases, correct bit errors caused by SEU events. More specifically, in one example, as will now be described, the register monitor 244 can operate to prevent the PHY 106 from entering an invalid or other undesirable operating mode or state in the event of a SEU of a configuration register.
[0058] like Figure 5AAs shown, multiple configuration registers 502A, 502B, 502C, ..., 502N (collectively and individually referred to as configuration registers 502) are used in Ethernet PHY 106. For example, each of processing blocks 202A, 202B, 202C may include one or more configuration registers 502. Support circuits such as management and PHY control circuit 220, MII interface 200, converter block 210, etc. may also include one or more configuration registers 502. Each configuration register 502 stores a digital word that can specify a specific operating mode for the functional circuit of the configuration register 502 from a set of available modes, and can specify a specific option for the mode from a set of available options in the selected operating mode. In some cases, configuration register 502 may also include one or more status bits that can be read by appropriate control circuits or circuits external to PHY 106.
[0059] The bit storage locations of the configuration registers 502 may be configured as storage cells such as those used in random access memory (RAM) resources elsewhere in the PHY 106. For example, the bit storage locations of the configuration registers 502 may be configured as static RAM cells or flip-flop latches, each storing one bit of data. Alternatively, some or all of the configuration register bit storage locations (e.g., the most critical configuration registers or configuration bit storage locations) may be configured as self-correcting flip-flops. Such self-correcting flip-flops may provide additional SEU tolerance in the PHY 106, which may be particularly important for the most critical configuration bits and registers. Reference will now be made to the configuration registers 502. Figure 5B One example of such a self-correcting flip-flop that may be used to configure some or all of the bit storage locations of configuration register 502 is described.
[0060] Figure 5BAn example of a bit storage location 520 configured as a self-correcting triple modular redundant (TMR) flip-flop is shown. In this example, the bit storage location 520 includes three D-type flip-flops 522A, 522B, and 522C, each of which is clocked by a clock signal CLK. The D input of flip-flop 522A receives an input data value IN_VAL, such as may be provided by a functional circuit in PHY 106 that loads configuration information into this configuration register 502. The input data value IN_VAL is also applied to inverter 524, the output of which presents an output signal IN_Δ1 to the D input of flip-flop 522B. Similarly, the input data value IN_VAL is applied to the input of inverter 526, the output of which is coupled to the input of a second inverter 527; the second inverter 527 in turn has an output that applies an output signal IN_Δ2 to the D input of flip-flop 522C. Therefore, the delay between the output signal IN_Δ1 received at flip-flop 522B and the input data value IN_VAL is the propagation delay of inverter 524, while the delay between the output signal IN_Δ2 received at flip-flop 522C and the input data value IN_VAL is two propagation delays (one for inverter 526 and the other for inverter 527).
[0061] The flip-flops 522A, 522B, and 522C provide output signals Q_VAL, Q_Δ1, and Q_Δ2 to corresponding input terminals of the majority voting logic 528, respectively. Figure 5B In the example, the output signals Q_VAL and Q_Δ2 are driven from the Q output terminals of the flip-flops 522A and 522C, respectively, while the output signal Q_Δ1 is driven from the Q output terminal of the flip-flop 522B. The output is driven to account for odd inversions of the input value IN_VAL by the inverter 524. The majority vote logic 528 is configured to generate the output signal OUT_VAL at a logic level corresponding to the logic levels applied to two or more of its three input signals Q_VAL, Q_Δ1, Q_Δ2. In other words, a SEU having the effect of changing one of the bit values of the signals Q_VAL, Q_Δ1, Q_Δ2 will not affect the output value OUT_VAL based on a "majority vote" of three inputs, where two inputs are at logic levels that are not affected. Thus, this configuration of the bit storage location 520 can provide additional SEU tolerance for the PHY 106, especially in critical locations such as the configuration register 502. This additional SEU tolerance results from the spatial separation provided by the physically separated flip-flops 522A, 522B, 522C in the bit storage location 520 and the temporal separation provided by the inverters 524, 526, 528 when applying the input value IN_VAL to the flip-flops 522A, 522B, 522C.
[0062] For purposes of this description, configuration register 502A will be considered to be deployed within processing block 202A, configuration register 502B will be considered to be deployed within processing block 202B, configuration register 502C will be considered to be deployed within processing block 202C, and so on, while configuration register 502N will be considered to be deployed in management and PHY control circuit 220. In this example, register monitor 244 is bidirectionally coupled to each of configuration registers 502A, 502B, 502C, ..., 502N deployed throughout PHY 106. More specifically, register monitor 244 includes one or both of error correction code (ECC) circuit 510 and cyclic redundancy check (CRC) circuit 512. Each of ECC circuit 510 and CRC circuit 512 is capable of reading the contents of each of configuration registers 502 to detect one or more erroneous bits in those contents that may be caused by SEE. ECC circuit 510 is also capable of rewriting one or more erroneous bits in those contents upon the event of SEE.
[0063] In this example, the systematic error correction code is used by the ECC circuit 510 to detect and correct errors in one or more of the configuration registers 502. Therefore, each configuration register 502 to be monitored by the ECC circuit 510 includes a configuration data portion and a parity data portion. Figure 5A , the configuration register 502A includes a configuration data portion CONFIG_A and a parity data portion PARITY_A. As in ECC encoding, the content of the parity data portion PARITY_A of the configuration register 502A depends on the content of its configuration data portion CONFIG_A, and this correlation is determined by the specific ECC used. In addition, the number of bits contained in the parity data portion PARITY_A of the configuration register 502A depends on the number of bits in its configuration data portion CONFIG_A, and also depends on the specific ECC used. For the example of a 7,4 Hamming ECC code, a thirty-two-bit configuration data portion CONFIG_A will require a twenty-four-bit parity data portion PARITY_A. Depending on the specific design, these configuration registers 502 in the PHY 106 monitored by the ECC circuit 510 can be of the same size and use the same ECC, or can be of different sizes and use different ECCs, or both. Furthermore, in this example, the configuration data and parity data portions of a given configuration register 502 may be physically implemented at the same location in the PHY 106, whether in the processing block 202 associated with that configuration register, or in a separate register file (not shown) in the PHY 106. Alternatively, one or more of the configuration registers 502 may have their parity data portions resident within the register monitor 244, if desired.
[0064] Additionally, one or more of the configuration registers 502 may utilize non-systematic ECC encoding such that the resulting codeword stored in that configuration register 502 does not have different configuration data and parity data portions.
[0065] Alternatively, or in addition to the ECC circuit 510, the register monitor 244 may include a CRC circuit 512 for performing error detection on one or more of the configuration registers 502 using a cyclic redundancy check. The configuration register 502 to be monitored by the CRC circuit 512 also includes a configuration data portion and a CRC ancillary portion. In one example, Figure 5A The configuration register 502C in PHY106 is monitored by the CRC circuit 512 and therefore includes a configuration data portion CONFIG_C and a CRC tributary portion CRC_C. As in CRC encoding, the content of the CRC tributary portion CRC_C of the configuration register 502C corresponds to the tributary quantity calculated by applying a generating polynomial to the content of its configuration data portion CONFIG_C. The generating polynomial and the operation of applying the polynomial to the payload data are determined by the specific CRC used. In one example, one of the CRC-8, CRC-16, and CRC-32 algorithms can be used, thereby generating CRC tributary portions of eight, sixteen, and thirty-two bits in size, respectively. Depending on the specific design, those configuration registers 502 in PHY106 monitored by the CRC circuit 512 can be of the same size and use the same CRC, or can be of different sizes, use different CRCs, or both. Furthermore, in this example, the configuration data and CRC appendages for a given configuration register 502 may be physically implemented in the same location in the PHY 106, whether in the processing block 202 associated with that configuration register, or in a separate register file (not shown) in the PHY 106. Alternatively, one or more of the configuration registers 502 may have their CRC appendages resident within the register monitor 244, if desired.
[0066] As described above, the register monitor 244 may include an ECC circuit 510 and a CRC circuit 512, each of which monitors one or more of the configuration registers 502. For example, certain configuration registers 502 may be more critical to the operation of the PHY 106 than other configuration registers 502, in which case the error correction capabilities of the ECC circuit 510 may monitor those more critical configuration registers 502, while the CRC circuit 512 may monitor the less critical configuration registers 502. Figure 5AIn an exemplary implementation of , configuration registers 502A, 502B may be critical configuration registers and monitored by ECC circuit 510 in register monitor 244 , while less critical configuration registers 502C, 502N are monitored by CRC circuit 512 .
[0067] In any case, the contents of each configuration register 502 are written upon configuration or reconfiguration of its associated functional circuit. This configuration or reconfiguration may occur at power-up of the PHY 106, for example, by bootstrap code that loads one or more of the configuration registers 502 according to a configuration retained in non-volatile memory in the PHY 106 or in a memory external to the PHY 106. In some implementations, the configuration or reconfiguration of the configuration registers 502 may be responsive to user input. In any case, the writing of the contents of the configuration register 502 involves encoding a codeword or CRC check from the configuration data itself according to the particular ECC encoding or CRC used, and then writing the codeword or check to the configuration register 502. This encoding and writing may be performed by control circuitry within the functional circuit associated with the configuration register 502, or alternatively, by the applicable ECC circuit 510 or CRC circuit 512 in the register monitor 244.
[0068] According to this example, the register monitor 244 has an output coupled to the reset circuit 310 in the management and PHY control circuit 220, through which the register monitor 244 can issue a reset or reconfiguration signal on the line RST / RECONFIG, such as Figure 3 shown.
[0069] Reference now Figure 6 , describes the operation of register monitor 244 in conjunction with an example in detecting and responding to an SEU event that affects the contents of configuration registers 502A, 502B, 502C, ..., 502N. This operation may be implemented by circuitry (e.g., logic circuitry, a processor, and / or a state machine) in register monitor 244 in conjunction with ECC circuit 510; such logic circuitry may be implemented as custom logic, programmable logic circuitry, or a combination thereof. After configuration registers 502 have been loaded or written with the required configuration data and parity data according to the ECC encoding applied by ECC circuit 510, the PHY 106 may be executed during functional operation. Figure 6 operation.
[0070] According to this example, the contents of configuration register 502 are periodically polled by register monitor 244, where the periodicity of the polling is set to a desired interval or is repeatedly performed continuously. In process 602, register monitor 244 initializes an index to select one of configuration registers 502A, 502B, 502C, ..., 502N (e.g., configuration register 502A). In this example, ECC circuit 510 monitors some of the configuration registers (e.g., Figure 5A 6. Decision 603 determines whether the configuration register selected in process 602 is monitored by ECC or CRC.
[0071] For configuration registers 502 monitored by the ECC circuit 510 in this example (such as configuration registers 502A and 502B), decision 603 returns an "ECC" result. In this case, the ECC circuit 510 in the register monitor 244 reads and decodes the contents of the selected configuration register 502A according to the applicable ECC code in process 604 to determine whether the current contents of the configuration register 502A are in error. It is worth noting that this reading and decoding of the configuration register 502A in process 604 is not performed in conjunction with or in response to the operation of the PHY 106 or the functional circuitry associated with the configuration register 502A (e.g., functional block 202A), but is performed according to periodic polling under the control of the register monitor 244. Therefore, the register monitor 244 in this example detects a change in the data state of one or more bits of the configuration register 502A, which may be caused by a SEU. SEUs at configuration registers 502A, 502B, 502C, ..., 502N may cause catastrophic functional failure of PHY 106 by inadvertently "reconfiguring" the associated functional circuitry to a different than intended operating mode or to an entirely invalid operating condition.
[0072] The error detection and response to detected errors performed by the ECC circuit 510 in process 604 depends on the specific ECC code used to encode and decode the configuration register contents. As is known in the art, some ECC codes are capable of detecting one or more errored bits (and identifying which bit or bits are in error), and can also correct one or more of the detected errored bits. For example, a 7,4 Hamming code can detect but not correct two errored bits in a codeword, and can correct one errored bit. Figure 6 The operation of the register monitor 244 in the case of 7,4 Hamming code is shown by way of example.
[0073] Therefore, the ECC check performed by the ECC circuit 510 in process 604 can provide three possible results: no error bits, one error bit, or two or more error bits in the configuration register 502A. If the analysis of the results of process 604 by the register monitor 244 determines that the configuration register 502A has no error bits, the register monitor 244 advances the register index to select the next one of the configuration registers 502 to be monitored (e.g., configuration register 502B) in process 606, and reads and decodes the next configuration register 502B in the next instance of process 604.
[0074] If the register monitor 244 determines from process 604 that a single bit of the configuration register 502A is in error, then in process 608, the ECC circuit 510 corrects the erroneous bit in the codeword and writes the corrected codeword to the currently selected configuration register 502A. The register monitor 244 then advances the register index in process 606 and performs an ECC check on the next configuration register 502B (for example) in process 604 to repeat the process. However, if the register monitor 244 determines from process 604 that two or more bits of the configuration register 502A are in error, the register contents cannot be corrected using the 7,4 Hamming code. Therefore, in this case, the register monitor 244 implements process 610 to issue a reset or reconfiguration signal to the reset circuit 310 or other appropriate circuitry (e.g., management and PHY control circuitry 220) of the PHY 106 to initiate reconfiguration of the affected functional circuitry (such as reconfiguration to a default state), or to initiate a reset of the PHY 106 entirely.
[0075] Of course, different ECC codes have different levels of detection and correction. As the error correction and detection capabilities increase, the number of parity or additional code bits required also increases. In general, a given code can correct fewer erroneous bits in a codeword than it can detect. Therefore, Figure 6 The examples are equally applicable to such other ECC codes, providing possible results of no errors in the contents of configuration register 502, correction of multiple error bits up to a correction limit, and initiation of a reset (e.g., a reset of PHY 106 or processing block 202, or a reconfiguration of configuration register 502) when a number of error bits greater than the correction limit is detected.
[0076] For the configuration registers 502 monitored by the CRC circuit 512 in this example (such as configuration registers 502C and 502N), decision 603 returns a "CRC" result. In this case, the CRC circuit 512 in the register monitor 244 reads and checks the contents of the selected configuration register 502 in process 612 to determine whether those contents include one or more error bits. As described above, due to the nature of the CRC algorithm, the CRC circuit 512 is able to detect but not correct the presence of errors in the evaluated data word. Therefore, if the CRC check in process 612 detects an error in the contents of the selected configuration register 502 (process 612 returns an "error" result), the register monitor 244 issues a reset or reconfiguration signal to the reset circuit 310 or other appropriate circuitry (e.g., management and PHY control circuitry 220) of the PHY 106 in process 610 to initiate reconfiguration of the errored configuration register and the affected functional circuitry, such as reconfiguration to a default state. In some cases, the erroneous configuration register 502 detected in process 612 may require initiating an overall reset of the PHY 106 in response to the reset signal issued in process 610 .
[0077] By providing the register monitor 244 in the monitoring and detection circuit 240 according to this example, an event such as a SEE that causes a configuration state or operating mode flip of functional circuits and other circuits in the PHY 106 can be detected and processed quickly after the event, thereby possibly avoiding functional failure of the PHY 106.
[0078] According to this example, Figure 2 The monitoring and detection circuit 240 in the PHY 106 also includes a state machine monitor 246. As will now be described in conjunction with Figure 7 and Figure 8 As described, the state machine monitor 246 includes digital logic circuitry configured and operative to monitor the states of sequential logic functions or state machines in the functional blocks 202A, 202B, 202C, in the management and PHY control circuitry 220 , and in other functions in the PHY 106 .
[0079] Figure 7 1 shows an implementation of the state machine monitor 246 in conjunction with an example of sequential logic in the PHY 106 according to an example. In this example, the state machine 700 corresponds to an example of sequential logic for reset control of a functional block in the PHY 106 and thus can be used as a Figure 2The state machine 700 may be implemented as part of the management and PHY control circuitry 220 of the PHY 106 in the state machine 700. For example, the state machine 700 may be constructed by a programmable logic device, a programmable logic controller, logic gates and flip-flops, or other digital storage. More specifically, one possible hardware implementation of the state machine 700 may include registers for storing state variables, combinatorial logic blocks for determining state transitions, and combinatorial logic blocks for determining the output of the state machine 700, which may include new values for the state variables.
[0080] As from Figure 7 As is apparent from the diagram, state machine 700 is a relatively simple sequential logic block because it has three valid operating states and two state variables. The three states of state machine 700 are BLOCK_RESET state 702, CLK_EN state 704, and CLK_DIS state 706, corresponding to reset, clock enable, and clock disable conditions, respectively. The two state variables 712 of state machine 700 are: block_reset and block_clk_en. In this example, upon a master reset or restart signal (e.g., Figure 7 As shown, when the state machine 700 enters the BLOCK_RESET state 702, and sets the state variables block_reset and block_clk_en to "1" (eg, logic "1" or logic "high"). From the BLOCK_RESET state 702, two valid state transitions are available.
[0081] The state machine 700 may transition from the BLOCK_RESET state 702 to the CLK_EN state 704 in response to a logical combination of a reset count value equal to a particular value (e.g., 7), an asserted block enable signal ("block_en"), and a de-asserted restart signal ("~restart"). Upon entering the CLK_EN state 704, the state variable block_reset is reset to "0" (e.g., logic "0" or logic "0 low"), while the state variable block_clk_en remains set ("1"). From a functional perspective, the CLK_EN state 704 corresponds to an activation state of its corresponding functional circuit, for example, by enabling the functional circuit to apply and receive a clock signal. From the CLK_EN state 704, only one valid state transition is available, namely, transitioning to the BLOCK_RESET state 702 in response to a logical combination of a de-asserted block enable signal ("~block_en", e.g., meaning that the signal is reset to "0") and an asserted restart signal ("restart"). Upon entering the BLOCK_RESET state 702 from the CLK_EN state 704, the state variable block_reset is set ("1") while the state variable block_clk_en remains set ("1").
[0082] From the BLOCK_RESET state 702, another valid transition is to the CLK_DIS state 706, which occurs in response to a logical combination of a reset count value not equal to a particular predefined value (e.g., 7) and a de-asserted block enable signal ("~block_en"). Upon entry into the CLK_DIS state 706, the state variable block_reset remains set ("1") and the state variable block_clk_en is reset ("0"). From a functional perspective, the CLK_DIS state 704 corresponds to an inactive state of its corresponding functional circuit (e.g., by disabling the application or receipt of a clock signal by the functional circuit). From the CLK_DIS state 706, the single valid state transition is a transition to the BLOCK_RESET state 702, which occurs in response to a logical combination of an asserted block enable signal ("block_en") and an asserted restart signal ("restart"). Likewise, when entering the BLOCK_RESET state 702 from the CLK_DIS state 706, the state variable block_reset remains set ("1"), while the state variable block_clk_en is set to "1".
[0083] As described above, the current values of the state variables for the state machine can be stored in the state register associated with the corresponding state machine. For the case of state machine 700, the state table can be constructed by the possible values of the two state variables 712 (ie, block_reset and block_clk_en), as shown below:
[0084] Table 1
[0085]
[0086] As shown in Table 1, by reading the state variables 712 of the state machine 700, the current state of the state machine 700 can be determined. However, if the values of the state variables 712 (i.e., block_reset and block_clk_en) are encoded as two-bit codewords and stored as a state register, then a SEU that flips the state of one of those two bits in the state register can place the state machine 700 into a state that is different from the intended operation of the PHY 106, including an undefined and therefore invalid state (e.g., by flipping a single "1" bit in either the BLOCK_RESET or CLK_EN state). In this arrangement, given that other functional circuits in the PHY 106 and the supported communication links depend on the state machine 700 operating in the intended state, the PHY 106 is susceptible to catastrophic failure when a SEU occurs in one of the configuration registers 502. Depending on the specific conditions, recovery from such a failure can be lengthy and cumbersome (if possible at all).
[0087] According to this example, the value of the state variable 712 for the state machine 700 is transmitted to the state variable encoder 714 for encoding according to a "one hot" encoding. More specifically, the state variable encoder 714 encodes the value of the state variable 712 into a longer codeword than is required to indicate the state of the state machine 700 by creating a codeword in which only one bit is a "1" value and all other bits are "0". In this encoding, each possible state of the state machine 700 corresponds to a bit position of the codeword, rather than each of the state variables 712 corresponding to a bit position. In addition, the codeword can be over-specified, where there are more bit positions than possible states. For this example of a simple state machine 700 with two state variables 712 and three possible states, an example of the encoding generated by the state variable encoder 714 according to this example is as follows:
[0088] Table 2
[0089] state Status Code BLOCK_RESET 00001 CLK_EN 00100 CLK_DIS 10000
[0090] All other status codes are undefined.
[0091] The sparse one-hot encoding shown in this Table 2 improves the probability of detecting a SEU of one of the codeword bits compared to the encoding of Table 1. For example, a SEU of any state variable 712 in the CLK_EN state encoded according to Table 1 would simply result in an unexpected transition to either the BLOCK_RESET or CLK_DIS states. The effects of this SEU could cause the PHY 106 to erroneously operate in its communication operations, resulting in data loss or other catastrophic results. In contrast, a SEU in a codeword encoded according to Table 2 would appear as an invalid or undefined state (e.g., more than one "1" bit or all "0" bits) and would be easier to detect.
[0092] In this example, the state variable encoder 714 is coupled to the state register 720. The state register 720 stores the codewords encoded by the state variable encoder 714 and is coupled to the state register monitoring logic 730. The bit storage locations of the state register 720 may be configured as storage cells, such as may be used in RAM and other register locations in the PHY 106. Alternatively, with respect to Figure 5B The self-correcting TMR construction described for bit storage location 520 in configuration register 502 may also be applied to other storage locations in PHY 106 , including one or more instances of status register 720 .
[0093] In this example, the state variable encoder 714 and the state register 720 can be physically implemented at or near the sequential logic that implements the state machine 700, for example, in its corresponding functional blocks (such as Figure 7 The management and PHY control circuit 220 in the example of FIG. 20 is implemented, and the status register monitoring logic 730 can be implemented as part of the state machine monitor 246 in the monitoring and detection circuit 240, such as Figure 7 Alternatively, for example, in state machine monitor 246, some or all of state variable encoder 714 and state register 720 may be physically implemented separately from its state machine 700. State register monitoring logic 730 has an output for sending a reset or restart signal to appropriate circuits in PHY 106 if an error in the operation of state machine 700 is detected. In this example, because state machine 700 is a reset-controlled state machine in PHY 106, state register monitoring logic 730 is provided via Figure 7 The line RST / RESTRT shown carries a reset or restart signal to the state machine 700 itself.
[0094] The state register monitoring logic 730 in this example also receives control information on one or more signal lines XITION from the state machine 700. As described below, the control information transmitted by the state machine 700 allows the state register monitoring logic 730 to monitor the validity of the state transitions of the state machine 700.
[0095] If we now refer to Figure 8 As described with respect to the instantiation of the reset control state machine 700, in operation, the synergistic combination of the state variable encoder 714 and the state register 720 and the state register monitoring logic 730 provides the ability to rapidly detect and quickly recover from a SEU in the sequential logic of the PHY 106. In process 800, the state machine 700 is instantiated to begin its operation, such as when it receives a master reset or restart signal ("main_reset|restart") of the PHY 106. Once instantiated, the state machine 700 will transition between its available states 702, 704, 706 as described above.
[0096] When the state machine 700 operates in this manner, the values of its state variables (e.g., block_reset and block_clk_en) are encoded into codewords by the state variable encoder 714 in process 802 for storage in the state register 720. As described above, the encoding applied by the state variable encoder 714 is a one-hot encoding, such that only one bit position in the state register 720 (e.g., the bit position corresponding to the current state) is "1", while all other bit positions are "0". In addition, the codewords generated by the state variable encoder 714 may be over-specified, such that the width of the state register 720 used for the state register 700 is greater than the number of valid states. Such encoding continues throughout the operation of the instantiated state machine 700.
[0097] according to Figure 7 and Figure 8 In the example of , the state register monitoring logic 730 receives control information from the state machine 700 via the control line XITION and analyzes each state transition of the state machine 700 to detect transition errors, such as transition errors that may occur due to SEE. In this example, the state register monitoring logic 730 implements decision 803 to detect the occurrence of a state transition of the state machine 700. In the case of a state transition (decision 803 is "yes"), the state register monitoring logic 730 compares the state information (e.g., the value of the state variable) from the previous state of the state machine 700 with the state information in the new state to determine whether the transition from the previous state to the new state is valid. The comparison of the previous state information with the new state information can be performed by the state register monitoring logic 730 in decision 805 by comparing the encoded codewords for the two states in the state register 720. For Figure 7In the example of state machine 700 in FIG. 8 , the only valid transition from state 704 is to state 702, and the only valid transition from state 706 is to state 702. Therefore, in the case where a SEE results in an apparent transition from state 704 directly to state 706 (“no” in decision 805), state register monitoring logic 730 detects this invalid transition and issues a reset or restart signal to state machine 700 on lines RST / RESTRT in process 808. In this example, a reinstantiation of the state machine is performed as appropriate in process 800.
[0098] If no state transition is detected ("No" in decision 803) or if the detected state transition is a valid transition ("No" in decision 805), the state register monitoring logic 730 operates in process 810 to poll the codewords in the state register 720 in process 810 and determine whether the contents of the state register 720 are valid in decision 811. Due to the sparse one-hot encoding of the codewords stored by the state register 720, the state register monitoring logic 730 can easily detect in decision 811 whether a SEU has inverted the state of one of the bits of the state register 720, for example, by detecting two bits having a "1" state or detecting that all bits of the state register 720 are "0" (either of which indicates an invalid state). If such an error is detected in the contents of the state register 720 ("Yes" in decision 811), the state register monitoring logic 730 issues a reset or restart signal to the state machine 700 on line RST / RESTRT in process 808.
[0099] If the contents of state machine 720 read during polling process 810 are valid (decision 811 is "No"), the status register monitoring logic 730 continues to monitor the state transitions of the operation of state machine 720 during the operation of state machine 700 (decision 803) and periodically polls status register 720 to check the validity of its contents (decision 811).
[0100] Thus, according to this example, the sparse one-hot encoding of the value of the state variable 712 stored in the state register 720 enhances the state register monitoring logic 730 to detect the probability of a SEE in the event that a SEE occurs at the state register 720. In addition, the monitoring of state transitions by the state register monitoring logic 730 allows for early detection of invalid or unintentional state transitions, such as those that may be caused by a SEE. The combination of these two approaches allows the monitoring and detection circuitry 240 in the PHY 106 to initiate appropriate corrective actions in a timely manner, thereby avoiding catastrophic errors in the communication link supported by the PHY 106 in its network application.
[0101] refer to Fig. 9A , 9B10, the construction and operation of the PLL lock monitor 250 as deployed in the converter block 210 according to an embodiment will be described. Figure 2 As shown in , the converter block 210 in this example includes a timing circuit 218, which is configured to generate various internal clocks based on a master clock signal received from a source external to the PHY 106 or a master clock signal generated within the PHY 106. These internal clocks generated by the timing circuit 218 include appropriate clock signals suitable for transmitting and receiving data signals through the medium dependent interface (MDI) 122. A common circuit for generating such clock signals for data transmission through the MDI 122 is a phase locked loop (PLL), an example of which is shown in Fig. 9A is shown as PLL 900.
[0102] By way of example, Fig. 9A The PLL 900 of FIG. 1 is constructed in a configuration that includes a phase detector 902 having one input coupled to receive a reference clock signal REFCLK, such as may be generated by a clock reference circuit (not shown) in the timing circuit 218 or elsewhere in the PHY 106. The phase detector 902 operates to compare the phase of the reference clock signal REFCLK with a feedback signal received at another input, and forwards a signal from the output of the phase detector 902 to a charge pump and filter circuit 904 corresponding to the phase difference. The charge pump and filter circuit 904 generates a voltage level in response to the phase difference signal from the phase detector 902 and in accordance with the desired loop filter characteristics, and applies the voltage level to a control input of a voltage controlled oscillator (VCO) 906. The VCO 906 generates an output clock signal OUTCLK at a frequency corresponding to the voltage level from the charge pump and filter circuit 904 at its input. In this example, the output clock signal OUTCLK may be used as a clock for synchronizing data transfer through the MDI 122.
[0103] The output clock signal OUTCLK may also be used as (or as a basis for) the feedback clock signal FBCLK. In this example, the output clock signal OUTCLK is at a higher frequency than the reference clock signal REFCLK applied to the phase detector 902. Therefore, the frequency divider 908 divides the frequency of the feedback clock signal FBCLK and applies the divided feedback clock to the phase detector 902 for comparison with the reference clock REFCLK.
[0104] As described above, a phase-locked loop (PLL) lock monitor 250 is provided to detect timing upsets in the DAC / ADC subsystem 214 that may be caused by a SEE, thereby monitoring the integrity of the data path in the PHY 106 when deployed in an environment that favors SEEs. For example, a SEE that violates the timing circuit 218 may cause the PLL 900 to lose phase lock. Therefore, in this example, an instance of the PLL lock monitor 250 operates to monitor the operation of the PLL 900 to detect a loss of lock condition. Fig. 9A As shown, the lock-out detection circuit 920 has an input terminal for receiving the reference clock REFCLK and an input terminal for receiving the feedback clock FBCLK (which is the output clock signal OUTCLK in this example). The lock-out detection circuit 920 compares the phase of the reference clock REFCLK with the pulse of the feedback clock FBCLK to determine whether the PLL 900 is in a phase-locked state, and detects the lock-out state in the circuit. The out-of-lock detection circuit 920 may be constructed in accordance with any of a number of known circuits having this functionality.
[0105] Compared to the reference clock REFCLK, the feedback clock signal FBCLK generated by the VCO 906 in this example is at a higher frequency. Due to this higher frequency of the feedback clock signal FBCLK, the out-of-lock detection circuit 920 determines whether the PLL 900 is in phase lock by measuring the phase of the reference clock REFCLK relative to a "window" of pulses of the feedback clock signal FBCLK. Fig. 9B An example of a comparison performed by an example of loss-of-lock detection circuit 920 is shown. Fig. 9B As shown, the timing window ±t window is defined as extending five feedback clock FBCLK cycles on either side of the center pulse at which the reference clock REFCLK is aligned in phase lock. If the rising edge of the reference clock REFCLK occurs outside the timing window ±t window, the lock-out detection circuit 920 will detect the fault on the signal line On the MDI register enable logic 922 sends a low logic level; on the contrary, the rising edge of the reference clock REFCLK within the timing window ±t window causes the lock detection circuit 920 to be locked on the signal line The high logic level indicates the phase lock state. Fig. 9B With the timing window ±t window shown, loss of lock detection 920 can distinguish upsets caused by SEE (which may cause severe phase misalignment at PLL 900) from jitter or other minor variations in clock phase encountered in normal PLL operation.
[0106] By placing the line asserting a high logic level, the MDI register enables logic 922 to indicate phase locked on the line 122 to enable register updates, thereby enabling data transfer through the MDI interface 122. The MDI register enable logic 922 asserts a low logic level at its output (indicating a loss of phase lock). Assert a low logic level on the MDI pin to disable MDI register updates.
[0107] Fig.10 A general method of monitoring the data path of the PHY 106 for errors caused by SEE and responding accordingly is shown. Fig.10 The method begins with normal operation of the data path, where PLL 900 is in phase lock and thus generates its output clock signal OUTCLK at a stable phase and frequency, and MDI register updates have been enabled. During this time, monitoring of phase lock is performed by loss of lock detection circuit 920. Fig. 9B As shown, as long as PLL 900 remains phase locked within the limits of timing window ±twindow (decision 1001 is "no"), then MDI register updates remain enabled.
[0108] However, when the out-of-lock detection circuit 920 detects that the PLL is not in phase lock (decision 1001 is "yes") and notifies the MDI register enable logic 922 accordingly, the MDI register enable logic 922 activates the phase lock by setting the signal line 1002 in process 1002. 1004, MDI register updates are disabled by issuing a low logic level on the MDI register enable logic 922 until the PLL 900 regains phase lock. In this example, the phase lock condition must be extended to reach the number of cycles of the reference clock REFCLK, n, where n>1. For example, in order to re-enable MDI register updates, n=5 cycles of the reference clock REFCLK may be required with the PLL 900 in phase lock. Prior to this (decision 1003 is "no"), MDI register updates are disabled, thereby blocking the flow of data through the MDI interface 122 of the PHY 106. Once phase lock reaches n cycles (decision 1003 is "yes"), the MDI register enable logic 922 will enable MDI register updates again in process 1004, and the PLL 900 continues to operate, where it is monitored by the loss of lock detection circuit 920 as described above.
[0109] According to the examples described herein, an architecture for a PHY transceiver device is provided that is particularly suitable for use in harsh environments, such as in a space environment, from a SEE perspective. A PHY device according to these examples can provide robust detection of SEEs and rapid response to those events, in some cases without requiring a full reset of the PHY device, but in any case without requiring a failure of a communication link to achieve the necessary reset and restart. Errors in communications can therefore be reduced.
[0110] As used herein, the terms "terminal", "node", "interconnect" and "pin" may be used interchangeably. Unless otherwise specified, these terms are generally used to refer to an interconnect between or at the ends of a device element, circuit element, integrated circuit, device or other electronic or semiconductor component.
[0111] Unless otherwise indicated, "about," "approximately," or "substantially" preceding a numerical value means + / - 10% of the stated value. Modifications may be made in the described examples, and other examples are possible, within the scope of the claims.
[0112] A device "configured to" perform a task or function may be configured (e.g., programmed and / or hardwired) by the manufacturer at the time of manufacture to perform that function, and / or may be configured (or reconfigurable) by a user after manufacture to perform that function and / or other additional or alternative functions. Configuration may be through firmware and / or software programming of the device, through the construction and / or layout of the device's hardware components and interconnections, or through a combination thereof.
[0113] Circuits or devices described herein as including certain components may be adjusted to couple with those components to form the described circuits or devices. For example, a structure is described as including one or more semiconductor elements (such as transistors), one or more passive elements (such as resistors, capacitors and / or inductors) and / or one or more sources (such as voltage and / or current sources), which may alternatively include only semiconductor elements within a single physical device (such as a semiconductor wafer and / or an integrated circuit (IC) package), and may be suitable for coupling with at least some of the passive elements and / or sources to form the structure during or after manufacture (such as by an end user and / or a third party). Although some elements of some embodiments are included in the integrated circuit and other elements are outside the integrated circuit, in other instances, additional or fewer functions may be incorporated into the integrated circuit. In addition, some or all of the functions shown as being outside the integrated circuit may be included in the integrated circuit, and / or some features shown as being inside the integrated circuit may be integrated outside the integrated circuit. As used herein, the term "integrated circuit" means one or more circuits that: (i) are integrated in / on a semiconductor substrate; (ii) are combined in a single semiconductor package; (iii) are combined in the same module; and / or (iv) are combined in / on the same printed circuit board.
[0114] The circuit described in this article can be reconfigured to include the replaced parts, thereby providing functions similar to the functional parts available before the parts are replaced. Unless otherwise specified, the parts shown as resistors generally represent any one or more elements in series and / or parallel for providing the impedance represented by the resistors shown. For example, the resistors or capacitors shown and described as single parts in this article can be replaced by multiple resistors or capacitors connected in parallel between the same nodes. For example, the resistors or capacitors shown and described as single parts in this article can be multiple resistors or capacitors connected in series between the same two nodes, which are the same as single resistors or capacitors.
[0115] The phrase "ground" in the foregoing description includes chassis ground, earth ground, floating ground, virtual ground, digital ground, common ground, and / or any other form of ground connection applicable or suitable for the teachings of this description.
[0116] Modifications may be made in the described embodiments, and other embodiments are possible, within the scope of the claims.
Claims
1. A physical layer transceiver, comprising: Media independent interface; a converter circuit block including circuitry configured to convert digital signals into analog signals for transmission over a network communications medium and to convert analog signals received over the network communications medium into digital signals; at least one processing block coupled to the converter circuit block and comprising circuitry configured to process data communicated between the medium independent interface and the converter circuit block according to a network protocol; management and control circuitry coupled to the at least one processing block and comprising a power management circuit and a reset circuit for the physical layer transceiver; as well as At least one single event effect monitor (SEE monitor) is configured to detect and respond to a SEE effect.
2. The transceiver according to claim 1, wherein: The at least one SEE monitor is selected from the group consisting of: an environmental monitor coupled to the management and control circuit, a register monitor coupled to at least one configuration register in one of the processing blocks, a state machine monitor coupled to sequential logic in one of the processing blocks or in the management and control circuit, and a phase-locked loop loss-of-lock monitor, i.e., a PLL loss-of-lock monitor, coupled to the converter circuit block.
3. The transceiver according to claim 2, wherein: said at least one SEE monitor comprising said environmental monitor; And wherein the environmental monitor comprises: a modulation circuit configured to sample a first value of one or more of a supply voltage and a supply current applied to the transceiver and digitize the sampled first value to produce a first digital value; a history memory coupled to the modulation circuit, the history memory for storing previous digital values of the first digital value and the one or more supply voltages and supply currents; and A single event function interrupt engine, i.e., a SEFI engine, is coupled to the modulation circuit and the history memory, and the SEFI engine is configured to determine whether the difference between the first digital value and the previous digital value of the one or more power supply voltages and power supply currents exceeds a threshold, and in response to the difference between the first digital value and the previous digital value exceeding the threshold, send a reset signal to the management and control circuit.
4. The transceiver according to claim 3, wherein: The SEFI engine is further configured to update the threshold value according to the first digital value in response to the first digital value not differing from a previous digital value by more than the threshold value.
5. The transceiver according to claim 3, further comprising: a plurality of power terminals, each power terminal being configured to receive a power voltage; as well as a plurality of supply current sensors, each supply current sensor coupled to sense a supply current from one of the plurality of supply voltages; And wherein, the modulation circuit comprises: a multiplexer having a plurality of inputs, each of the plurality of inputs being coupled to one of the power supply terminals or one of the plurality of supply current sensors and having a select input for receiving a select signal; a modulator configured to sample an analog signal at an output of the multiplexer and digitize the sampled analog signal; A decimation filter is configured to filter the digitized analog signal to produce the digital value that enters the history memory and the SEFI engine.
6. The transceiver according to claim 5, further comprising: Install a temperature sensor; wherein the multiplexer further has an input terminal coupled to the device temperature sensor; wherein the modulation circuit samples and digitizes the analog signal from the device temperature sensor to generate a digital value for the device temperature; And wherein, the SEFI engine is further configured to determine whether the difference between the digital value for the device temperature and the previous digital value for the device temperature exceeds a threshold, and in response to the difference between the digital value for the device temperature and the previous digital value exceeding the threshold, send a reset signal to the management and control circuit.
7. The transceiver according to claim 2, wherein: said at least one SEE monitor comprising said register monitor; And wherein, the register monitor includes an error correction code circuit, i.e., an ECC circuit, which is coupled to a configuration register in one of the at least one processing blocks, and the ECC circuit is configured to read a codeword from the configuration register and determine whether the codeword read from the configuration register contains an error bit based on the ECC code.
8. The transceiver according to claim 7, wherein: The ECC circuit is configured to reload the configuration register with a corrected codeword in response to detecting a number of errored bits in the codeword up to a correction limit according to the ECC code; And wherein the ECC circuit is further configured to issue a reset in response to detecting a number of erroneous bits in the codeword greater than the correction limit according to the ECC code.
9. The transceiver according to claim 2, wherein: said at least one SEE monitor comprising said state machine monitor; wherein at least one of the at least one processing block and the management and control circuitry includes sequential logic corresponding to a state machine having one or more states and one or more state variables; Also includes: a state register, the state register being used to store a state code corresponding to a current state of the state machine; and a state variable encoder configured to encode a value of the state variable into a one-hot encoding for storage as the state code for the current state of the state machine; and wherein the state machine monitor comprises: a status register monitoring logic coupled to the status register and the state machine and configured to: In response to a state transition of the state machine, determining whether the state transition is valid; periodically polling the status register to determine whether the stored status code is valid; and In response to detecting an invalid state transition or an invalid state code, a reply to the transceiver The reset signal is sent out by the bit circuit.
10. The transceiver according to claim 2, wherein: said at least one SEE monitor comprising said PLL loss of lock monitor; And wherein the PLL lock-out monitor is configured to: detecting whether a reference clock applied to an input of a phase locked loop is out of phase with respect to a feedback clock outside of a timing window; and In response to detecting that the phase locked loop is out of phase with respect to the feedback clock outside of the timing window, register updates at an interface of the transceiver are disabled.
11. A network node, comprising: Network node processor; a media access control coupled to the network node processor; a medium dependent interface adapted for coupling with a network communications medium; A physical layer transceiver comprising: a medium independent interface coupled to the medium access control element; a medium dependent interface adapted for coupling with a network communications medium; a converter circuit block coupled to the medium dependent interface and comprising circuitry configured to convert digital signals to analog signals for transmission over the network communications medium and to convert analog signals received over the network communications medium to digital signals; at least one processing block coupled to the converter circuit block, the at least one processing block comprising circuitry configured to process data communicated between the medium independent interface and the converter circuit block according to a network protocol; management and control circuitry coupled to the at least one processing block and comprising a power management circuit and a reset circuit for the physical layer transceiver; and At least one single event effect monitor (SEE monitor) configured to detect and respond to SEE effect.
12. The network node according to claim 11, wherein: The at least one SEE monitor is selected from the group consisting of: an environmental monitor coupled to the management and control circuit, a register monitor coupled to at least one configuration register in one of the processing blocks, a state machine monitor coupled to sequential logic in one of the processing blocks or in the management and control circuit, and a phase-locked loop loss-of-lock monitor, i.e., a PLL loss-of-lock monitor, coupled to the converter circuit block, each of the at least one SEE monitor.
13. The network node according to claim 12, wherein: said at least one SEE monitor comprising said environmental monitor; And wherein the environmental monitor comprises: a modulation circuit configured to sample a first value of one or more of a supply voltage and a supply current applied to the transceiver and digitize the sampled first value to produce a first digital value; a history memory coupled to the modulation circuit, the history memory for storing previous digital values of the first digital value and the one or more supply voltages and supply currents; and The single event function interrupt engine is a SEFI engine, which is coupled to the history memory. The SEFI engine is configured to determine whether the difference between the first digital value and the previous digital value of the one or more power supply voltages and power supply currents exceeds a threshold, and in response to the difference between the first digital value and the previous digital value exceeding the threshold, issue a reset signal to the management and control circuit.
14. The network node according to claim 13, wherein: The SEFI engine is further configured to update the threshold value according to the first digital value in response to the first digital value not differing from a previous digital value by more than the threshold value.
15. The network node according to claim 13, further comprising: a plurality of power terminals, each power terminal being configured to receive a power voltage; as well as a plurality of supply current sensors, each supply current sensor coupled to sense a supply current from one of the plurality of supply voltages; And wherein, the modulation circuit comprises: a multiplexer having a plurality of inputs, each of the plurality of inputs being coupled to one of the power supply terminals or one of the plurality of supply current sensors and having a select input for receiving a select signal; a modulator configured to sample an analog signal at an output of the multiplexer and digitize the sampled analog signal; A decimation filter configured to filter the digitized analog signal to produce the digital value that enters the history memory and the SEFI engine.
16. The network node according to claim 15, further comprising: Install a temperature sensor; wherein the multiplexer further has an input terminal coupled to the device temperature sensor; wherein the modulation circuit samples and digitizes the analog signal from the device temperature sensor to generate a digital value for the device temperature; And wherein, the SEFI engine is further configured to determine whether the difference between the digital value for the device temperature and the previous digital value for the device temperature exceeds a threshold, and in response to the difference between the digital value for the device temperature and the previous digital value exceeding the threshold, send a reset signal to the management and control circuit.
17. The network node according to claim 12, wherein: said at least one SEE monitor comprising said register monitor; And wherein, the register monitor includes an error correction code circuit, i.e., an ECC circuit, which is coupled to a configuration register in one of the at least one processing blocks, and the ECC circuit is configured to read a codeword from the configuration register and determine whether the codeword read from the configuration register contains an error bit based on the ECC code.
18. The network node according to claim 17, wherein: The ECC circuit is configured to reload the configuration register with a corrected codeword in response to detecting a number of errored bits in the codeword up to a correction limit according to the ECC code; And wherein the ECC circuit is further configured to issue a reset in response to detecting a number of erroneous bits in the codeword greater than the correction limit according to the ECC code.
19. The network node according to claim 12, wherein: said at least one SEE monitor comprising said state machine monitor; wherein at least one of the at least one processing block and the management and control circuitry includes sequential logic corresponding to a state machine having one or more states and one or more state variables; Also includes: a state register, the state register being used to store a state code corresponding to a current state of the state machine; and a state variable encoder configured to encode a value of the state variable into a one-hot encoding for storage as the state code for the current state of the state machine; and wherein the state machine monitor comprises: a status register monitoring logic coupled to the status register and the state machine and configured to: In response to a state transition of the state machine, determining whether the state transition is valid; periodically polling the status register to determine whether the stored status code is valid; and In response to detecting an invalid state transition or an invalid state code, a reply to the transceiver The reset signal is sent out by the bit circuit.
20. The network node of claim 12, the at least one SEE monitor comprising the PLL loss-of-lock monitor; And among them, The PLL loss-of-lock monitor is configured as: detecting whether a reference clock applied to an input of a phase locked loop is out of phase with respect to a feedback clock outside of a timing window; and In response to detecting that the phase locked loop is out of phase with respect to the feedback clock outside of the timing window, register updates at the medium dependent interface are disabled.
21. A method comprising: executing a processing block in a physical layer transceiver in a network node processor to process data transmitted at a medium independent interface of the physical layer transceiver; converting digital signals from said processing block into analog signals for transmission via a medium dependent interface adapted to couple with a network communications medium, and converting analog signals received via said network communications medium into digital signals; detecting a single event effect (SEE) occurring in the physical layer transceiver; and In response to the detection of the SEE, the physical layer transceiver is reset.
22. The method according to claim 21, wherein: The steps of detecting SEE include: sampling and digitizing a first value of one or more of a supply voltage and a supply current applied to the transceiver to produce a first digital value; storing the first digital value and previous digital values of the one or more supply voltages and supply currents in a history memory; determining whether the first digital value differs from a previous digital value of the one or more supply voltages and supply currents by more than a threshold; and In response to the first digital value differing from a previous digital value by more than the threshold, a reset signal is issued to a reset circuit in the transceiver.
23. The method according to claim 21, wherein: The steps of detecting SEE include: monitoring contents of a configuration register associated with the processing block by reading an error correction code word stored in the configuration register; determining whether the codeword read from the configuration register contains one or more error bits; In response to determining that the codeword read from the configuration register contains a number of erroneous bits in the codeword up to a correction limit, reloading the configuration register with a corrected codeword; and In response to determining that the codeword read from the configuration register contains a number of erroneous bits in the codeword that is greater than the correction limit, a reset signal is issued to a reset circuit in the transceiver.
24. The method according to claim 21, wherein: The steps of detecting SEE include: A state machine in the processing block or in the management and control circuit of the transceiver is monitored by: In response to a state transition of the state machine, determining whether the state transition is valid; periodically polling the status register to determine whether the stored status code is valid; and In response to detecting an invalid state transition or an invalid state code, a reset signal is issued to a reset circuit in the transceiver.
25. The method according to claim 21, wherein: The steps of detecting SEE include: detecting whether a reference clock applied to an input of a phase locked loop in a circuit performing said converting step is out of phase with respect to a feedback clock outside a timing window; and In response to detecting that the phase locked loop is out of phase with respect to the feedback clock outside of the timing window, register updates at the medium dependent interface are disabled.
