Signal control device and signal control method
First Claim
1. A signal control device comprising:
- a dual port RAM from or to which data signals are read and written at predetermined operation timings by first and second CPUs connected to two ports, respectively;
an address collision detection unit which detects collision between an address in which the first CPU reads the data signal from the dual port RAM and an address in which the second CPU writes the data signal to the dual port RAM;
a first storage unit which stores the data signal which the first CPU reads from the dual port RAM;
a second storage unit which stores the data signal read from the address in which the second CPU writes the data signal to the dual port RAM irrespective of whether the second CPU is in a writable state, when the collision between the addresses is detected and the first CPU is not in a readable state; and
a switching unit which switches a reading source outputting the data signal to the port to which the first CPU is connected, by reading the data signal from the first storage unit when the collision between the addresses is not detected and the first CPU is in the readable state, reading the data signal from the first storage unit irrespective of whether the second CPU is in the writable state when the collision between the addresses is detected and the first CPU is not in the readable state, and reading the data signal from the second storage unit when the collision between the addresses is detected, the first CPU is not in the readable state, and the second CPU is in the writable state, and which outputs the read data signal to the first CPU entering the readable state.
1 Assignment
0 Petitions
Accused Products
Abstract
A signal control device includes: a dual port RAM from or to which data signals are read and written at predetermined operation timings by first and second CPUs connected to two ports, respectively; an address collision detection unit detecting collision between addresses in which the first and second CPUs respectively read and write the data signal from and to the dual port RAM; a first storage unit storing the data signal read by the first CPU; a second storage unit storing the data signal read from the address in which the second CPU writes the data signal to the dual port RAM when the collision between the addresses is detected; and a switching unit switching a reading source outputting the data signal to the port to which the first CPU is connected and outputting the read data signal to the first CPU entering a readable state.
41 Citations
8 Claims
-
1. A signal control device comprising:
-
a dual port RAM from or to which data signals are read and written at predetermined operation timings by first and second CPUs connected to two ports, respectively; an address collision detection unit which detects collision between an address in which the first CPU reads the data signal from the dual port RAM and an address in which the second CPU writes the data signal to the dual port RAM; a first storage unit which stores the data signal which the first CPU reads from the dual port RAM; a second storage unit which stores the data signal read from the address in which the second CPU writes the data signal to the dual port RAM irrespective of whether the second CPU is in a writable state, when the collision between the addresses is detected and the first CPU is not in a readable state; and a switching unit which switches a reading source outputting the data signal to the port to which the first CPU is connected, by reading the data signal from the first storage unit when the collision between the addresses is not detected and the first CPU is in the readable state, reading the data signal from the first storage unit irrespective of whether the second CPU is in the writable state when the collision between the addresses is detected and the first CPU is not in the readable state, and reading the data signal from the second storage unit when the collision between the addresses is detected, the first CPU is not in the readable state, and the second CPU is in the writable state, and which outputs the read data signal to the first CPU entering the readable state. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A signal control method comprising the steps of:
-
detecting, in a dual port RAM from or to which data signals are read and written at predetermined operation timings by first and second CPUs connected to two ports, respectively, collision between an address in which the first CPU reads the data signal from the dual port RAM and an address in which the second CPU writes the data signal to the dual port RAM; storing the data signal which the first CPU reads from the dual port RAM in a first storage unit and storing the data signal read from the address in which the second CPU writes the data signal to the dual port RAM irrespective of whether the second CPU is in a writable state in a second storage unit, when the collision between the addresses is detected and the first CPU is not in a readable state; and switching a reading source outputting the data signal to the port to which the first CPU is connected, by reading the data signal from the first storage unit when the collision between the addresses is not detected and the first CPU is in the readable state, reading the data signal from the first storage unit irrespective of whether the second CPU is in the writable state when the collision between the addresses is detected and the first CPU is not in the readable state, and reading the data signal from the second storage unit when the collision between the addresses is detected, the first CPU is not in the readable state, and the second CPU is in the writable state, and outputting the read data signal to the first CPU entering the readable state.
-
Specification