Optical module and circuit and method to control the same
First Claim
1. A control circuit for an optical module including an optical receiving unit and an optical transmitting unit, the control circuit comprising:
- a first memory for storing a plurality of configuration parameters of the optical module at predefined locations within the first memory;
a second memory for storing a plurality of variables at dynamically allocated locations of the second memory, the plurality of variables including variables corresponding to a current operation status of the optical module;
an analog-to-digital converter configured to receive an analog signal corresponding to the current operation status of the optical module, and to convert the analog signal to a digital value to be stored as the variable corresponding to the current operation status of the optical module in the dynamically allocated location of the second memory;
an interface configured to communicate with a host to receive an access request including an access address from the host; and
an access control unit configured to control the access of the host, wherein when the access address is within a first range, the access control unit maps the access address to one of the predefined locations within the first memory corresponding to the access address to allow the host to directly access the one of the predefined locations of the first memory, and when the access address is within a second range different from the first range, the access control unit allows the host to access one of the variables corresponding to the access address so as to access a value of the one of the variables stored in one of the dynamically allocated locations within the second memory.
2 Assignments
0 Petitions
Accused Products
Abstract
The present disclosure relates to an optical module having digital diagnostic monitoring functions and a circuit and method to control the optical module. In an embodiment, a control circuit for an optical module including an optical receiving unit and an optical transmitting unit may comprise a first memory for storing a plurality of configuration parameters at predefined locations within the first memory, a second memory for storing a plurality of variables at dynamically allocated locations of the second memory, the plurality of variables including variables corresponding to a current operation status of the optical module, and an analog-to-digital converter configured to receive an analog signal corresponding to the current operation status and convert the analog signal to a digital value to be stored as the variable corresponding to the current operation status in the dynamically allocated location of the second memory.
7 Citations
18 Claims
-
1. A control circuit for an optical module including an optical receiving unit and an optical transmitting unit, the control circuit comprising:
-
a first memory for storing a plurality of configuration parameters of the optical module at predefined locations within the first memory; a second memory for storing a plurality of variables at dynamically allocated locations of the second memory, the plurality of variables including variables corresponding to a current operation status of the optical module; an analog-to-digital converter configured to receive an analog signal corresponding to the current operation status of the optical module, and to convert the analog signal to a digital value to be stored as the variable corresponding to the current operation status of the optical module in the dynamically allocated location of the second memory; an interface configured to communicate with a host to receive an access request including an access address from the host; and an access control unit configured to control the access of the host, wherein when the access address is within a first range, the access control unit maps the access address to one of the predefined locations within the first memory corresponding to the access address to allow the host to directly access the one of the predefined locations of the first memory, and when the access address is within a second range different from the first range, the access control unit allows the host to access one of the variables corresponding to the access address so as to access a value of the one of the variables stored in one of the dynamically allocated locations within the second memory. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. An optical module comprising:
-
an optical receiving unit; an optical transmitting unit; a control circuit for controlling the optical receiving unit and the optical transmitting unit, the control circuit comprising; a first memory for storing a plurality of configuration parameters of the optical module at predefined locations within the first memory; a second memory for storing a plurality of variables at dynamically allocated locations of the second memory, the plurality of variables including variables corresponding to a current operation status of the optical module; and an analog-to-digital converter configured to receive an analog signal corresponding to the current operation status of the optical module, and to convert the analog signal to a digital value to be stored as the variable corresponding to the current operation status of the optical module in the dynamically allocated location of the second memory; an interface configured to communicate with a host to receive an access request including an access address from the host; and an access control unit configured to control the access of the host, wherein when the access address is within a first range, the access control unit maps the access address to one of the predefined locations within the first memory corresponding to the access address to allow the host to directly access the one of the predefined locations of the first memory, and when the access address is within a second range different from the first range, the access control unit allows the host to access one of the variables corresponding to the access address so as to access a value of the one of the variables stored in one of the dynamically allocated locations within the second memory. - View Dependent Claims (10, 11, 12, 13)
-
-
14. A method for controlling an optical module including an optical transmitting unit and an optical receiving unit, the method comprising:
-
receiving an analog signal corresponding to a current operation status of the optical module, converting the analog signal into a digital value, and storing the digital value as a value of a variable corresponding to the current operation status of the optical module in a dynamically allocated location of a second memory; receiving an access request including an access address from a host; analyzing the access address and, when the access address is within a first range, mapping the access address to a predefined location within a first memory to allow the host to directly accesses the predefined location of the first memory, wherein a plurality of configuration parameters of the optical module are stored in respective predefined locations of the first memory, when the access address is within a second range different from the first range, allowing the host to access the variable corresponding to the access address so as to access a value of the variable stored in the dynamically allocated location within the second memory. - View Dependent Claims (15, 16, 17, 18)
-
Specification