Data processing system for accessing an external device and method therefor
First Claim
1. A data processor, comprising:
- a central processing unit for communicating a plurality of address values, a plurality of data values, and a plurality of control values; and
a system integration unit, the system integration unit, comprising;
a compare circuit coupled to the central processing unit for receiving the plurality of address values, the compare circuit providing a compare signal indicating an address range which includes a first one of the plurality of address values;
a control circuit coupled to the central processing unit for receiving the plurality of control values and coupled to the compare circuit for receiving the compare signal, the control circuit providing a first control value corresponding to a first external device and the control circuit providing a plurality of internal control signals;
a control register coupled to the control circuit for receiving the first control value, the control register selectively providing a first enable byte control value in response to the first control value; and
a decode logic circuit coupled to the control register for receiving the first enable byte control value, coupled to the control circuit for receiving the plurality of internal control signals, and coupled to the central processing unit for receiving the plurality of address values, the decode logic circuit logically combining the first enable byte control value, a portion of the plurality of internal control signals, and a portion of the plurality of address values to provide a first enable byte signal in one of a second and a third logic state, wherein the first enable byte signal performs a write enable function when in the second logic state and the first enable byte signal performs a byte enable function when in the third logic state.
18 Assignments
0 Petitions
Accused Products
Abstract
A data processing system (15) allows a user great flexibility in interfacing with a variety of memory devices (50, 55) and external peripheral devices (70, 72). In the data processing system, a control register (300, 400) is provided for dynamically controlling a function of a plurality of byte enable signals (204, 206, 208, 210) provided to any external device. In a first case, the register may indicate that the plurality of byte enable signals should function as a plurality of write enable signals. However, in a second instance, the register may indicate that the plurality of byte enable signals should function as a plurality of byte enable signals. The use of the register to determine a function of the byte enable signals allows a user greater functional flexibility without software intervention and without increasing a number of external integrated circuit pins required to select an external device.
-
Citations
30 Claims
-
1. A data processor, comprising:
-
a central processing unit for communicating a plurality of address values, a plurality of data values, and a plurality of control values; and a system integration unit, the system integration unit, comprising; a compare circuit coupled to the central processing unit for receiving the plurality of address values, the compare circuit providing a compare signal indicating an address range which includes a first one of the plurality of address values; a control circuit coupled to the central processing unit for receiving the plurality of control values and coupled to the compare circuit for receiving the compare signal, the control circuit providing a first control value corresponding to a first external device and the control circuit providing a plurality of internal control signals; a control register coupled to the control circuit for receiving the first control value, the control register selectively providing a first enable byte control value in response to the first control value; and a decode logic circuit coupled to the control register for receiving the first enable byte control value, coupled to the control circuit for receiving the plurality of internal control signals, and coupled to the central processing unit for receiving the plurality of address values, the decode logic circuit logically combining the first enable byte control value, a portion of the plurality of internal control signals, and a portion of the plurality of address values to provide a first enable byte signal in one of a second and a third logic state, wherein the first enable byte signal performs a write enable function when in the second logic state and the first enable byte signal performs a byte enable function when in the third logic state. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A data processing system, comprising:
-
a first external device which selectively communicates a first data value via a data bus; a second external device which selectively communicates a second data value via the data bus; and a data processor, comprising; a central processing unit for communicating a plurality of internal address values, a plurality of internal data values, and a plurality of internal control values; and a system integration unit, the system integration unit, comprising; a compare circuit coupled to the central processing unit for receiving the plurality of internal address values, the compare circuit providing a first compare signal indicating an address range which includes a first one of the plurality of internal address values; a control circuit coupled to the central processing unit for receiving the plurality of control values and coupled to the compare circuit for receiving the first compare signal, the control circuit providing a first control value corresponding to the first external device and the control circuit providing a first plurality of internal control signals; a control register coupled to the control circuit for receiving the first control value, the control register selectively providing a first enable byte control value in response to the first control value; a decode logic circuit coupled to the control register for receiving the first enable byte control value, coupled to the control circuit for receiving the plurality of internal control signals, and coupled to the central processing unit for receiving the plurality of internal address values, the decode logic circuit logically combining the first enable byte control value, a portion of the plurality of internal control signals, and a portion of the plurality of address values to provide a first enable byte signal in one of a second and a third logic state, wherein the first enable byte signal performs a write enable function for the first external device when in the second logic state and the first enable byte signal performs a byte enable function for the first external device when in the third logic state; and a first integrated circuit terminal for providing the first enable byte signal to a first input of the first external device. - View Dependent Claims (15, 16, 17, 18, 19)
-
-
20. A data processor, comprising:
-
a central processing unit for communicating a plurality of address values, a plurality of data values, and a plurality of control values; a control circuit coupled to the central processing unit for receiving the plurality of control values, the control circuit providing a first control value and a plurality of internal control signals; and a first control register coupled to the control circuit for receiving the first control value, the first control register selectively providing a first enable byte control value in response to the first control value, the first enable byte control value indicating when a first enable byte signal performs a write enable function and when the first enable byte signal performs a byte enable function. - View Dependent Claims (21, 22, 23, 24, 25)
-
-
26. A method for accessing an external device in a data processor, comprising the steps of:
-
communicating a plurality of address values, a plurality of data values, and a plurality of control values with a central processing unit; coupling a compare circuit to the central processing unit for receiving the plurality of address values; enabling the compare circuit to provide a compare signal indicating an address range which includes a first one of the plurality of address values; coupling a control circuit to the central processing unit for receiving the plurality of control values; coupling the control circuit to the compare circuit for receiving the compare signal; enabling the control circuit to provide a first control value corresponding to a first external device and the control circuit providing a plurality of internal control signals; coupling a control register to the control circuit for receiving the first control value; enabling the control register to selectively provide a first enable byte control value in response to the first control value; coupling a decode logic circuit to the control register for receiving the first enable byte control value; coupling the decode logic circuit to the control circuit for receiving the plurality of internal control signals; coupling the decode logic circuit to the central processing unit for receiving the plurality of address values; and enabling the decode logic circuit to logically combine the first enable byte control value, a portion of the plurality of internal control signals, and a portion of the plurality of address values to provide a first enable byte signal in one of a second and a third logic state, wherein the first enable byte signal performs a write enable function when in the second logic state and the first enable byte signal performs a byte enable function when in the third logic state. - View Dependent Claims (27, 28, 29, 30)
-
Specification