System monitor in a programmable logic device
Method and apparatus for a system monitor ( 20 ) embedded in a programmable logic device ( 10, 50, 60 ) are described. The system monitor ( 20 ) includes a dynamic reconfiguration port interface ( 205 ) for configuring or reconfiguring the system monitor ( 20 ) during operation thereof. The system monitor ( 20 ) includes an analog-to-digital converter ( 200 ) which is reconfigurable responsive to input via a dynamic reconfiguration port ( 201 ).
1. A programmable logic device, comprising:
a system monitor, the system monitor including:
channel inputs including analog inputs;
selection circuitry coupled to the channel inputs, the selection circuitry having a channel output;
an analog-to-digital converter having an analog input and a digital output;
an interface having storage devices, the storage devices for storing control information and data, the interface including a dynamic reconfiguration port and control logic;
the analog-to-digital converter configurable responsive to a first portion of the control information;
the selection circuitry configured to selectively couple a channel input of the channel inputs to the channel output responsive to a second portion of the control information; and
the analog-to-digital converter coupled to the channel output at the analog input and coupled at the digital output to the storage devices.
2. The programmable logic device, according to claim 1 , wherein the second portion of the control information comprises channel selection information.
3. The programmable logic device, according to claim 2 , wherein the first portion of the control information comprises averaging information.
4. The programmable logic device, according to claim 2 , wherein the control logic includes a channel sequencer.
5. The programmable logic device, according to claim 4 , wherein the second portion of the control information comprises sequence information.
6. The programmable logic device, according to claim 1 , wherein the first portion of the control information comprises calibration information.
7. The programmable logic device, according to claim 1 , wherein the storage devices comprise data registers and control registers.
8. The programmable logic device, according to claim 7 , wherein the control registers comprise alarm registers for storing threshold values.
9. The programmable logic device, according to claim 8 , wherein the control logic is configured to compare the threshold values stored in the alarm registers with data values stored in the data registers.
10. The programmable logic device, according to claim 7 , wherein the control registers comprise configuration registers for storing configuration information.
11. The programmable logic device, according to claim 1 , further comprising at least one temperature sensor coupled to the selection circuitry via a portion of the channel inputs.
12. The programmable logic device, according to claim 1 , further comprising at least one supply monitor coupled to the selection circuitry via a portion of the channel inputs.
13. The programmable logic device, according to claim 1 , further comprising at least one self-check calibration sensor coupled to the selection circuitry via a portion of the channel inputs.
14. The programmable logic device, according to claim 1 , wherein the dynamic reconfiguration port is configured for dynamic reconfiguration of the system monitor including reading and writing to a portion of the storage devices during operation of the system monitor.
15. The programmable logic device, according to claim 14 , wherein the system monitor is embedded in a field programmable gate array.
16. The programmable logic device, according to claim 15 , wherein the control logic comprises a test data interface for accessing the data stored in the storage devices.
17. The programmable logic device, according to claim 16 , wherein the storage devices are registers.
18. The programmable logic device, according to claim 17 , wherein bit positions in the registers are used to select an operational mode of the system monitor input from a unipolar mode and a bipolar mode.
19. The programmable logic device, according to claim 17 , wherein bit positions in the registers are used to select a mode of the system monitor input from an event driven sampling mode and a continuous sampling mode.
20. The programmable logic device, according to claim 1 , wherein the analog-to-digital converter is configured to receive a start clock signal to define a sampling instant for an event-sampling mode.
21. The programmable logic device, according to claim 1 , wherein the channel inputs comprise internal and external channel inputs.
22. The programmable logic device, according to claim 21 , wherein the channel inputs comprise differential inputs; and wherein sources for the channel inputs are selected from differential sources and single-ended sources.
23. The programmable logic device, according to claim 1 , wherein the control logic is configured to divide down a first clock signal of the dynamic reconfiguration port to provide a second clock signal at a lower frequency for operation of the analog-to-digital converter.
24. The programmable logic device, according to claim 23 , further comprising an oscillator configured to provide an oscillator signal.
25. The programmable logic device, according to claim 24 , wherein the control logic is configured to use the oscillator signal to provide the second clock signal responsive to the first clock signal not being present.
26. The programmable logic device, according to claim 1 , wherein output from the digital output is responsive to a stepwise transfer function.
27. The programmable logic device, according to claim 1 , wherein the control logic is configured to provide at least one over temperature signal.
28. The programmable logic device, according to claim 27 , wherein the control logic is configured to receive an initialization complete signal from the field programmable gate array and to initiate monitoring of temperature of the field programmable gate array responsive to the initialization complete signal.
29. A programmable logic device, comprising:
a system monitor, the system monitor including:
channel inputs including analog inputs;
selection circuitry coupled to the channel inputs, the selection circuitry having a channel output;
an analog-to-digital converter having an analog input and a digital output;
an interface having storage devices, the storage devices for storing control information and data, the interface including control logic and interface logic;
the analog-to-digital converter configurable responsive to a first portion of the control information;
the selection circuitry configured to selectively couple a channel input of the channel inputs to the channel output responsive to a second portion of the control information; and
the analog-to-digital converter coupled to the channel output at the analog input and coupled at the digital output to the storage devices.
30. The programmable logic device, according to claim 29 , wherein the interface logic includes a dynamic reconfiguration port.