Apparatus and method for producing device identifiers for serially interconnected devices of mixed type
View Patent ↗A plurality of memory devices of mixed type (e.g., DRAMs, SRAMs, MRAMs and NAND-, NOR- and AND-type Flash memories) are serially interconnected. Each device has device type information on its device type. A specific device type (DT) and a device identifier (ID) contained in a serial input (SI) are fed to one device of the serial interconnection. The device determines whether the fed DT matches the DT of the device. In a case of match, a calculator included in the device performs calculation to generate an ID for another device and the fed ID is latched in a register of the device. The generated ID is transferred to another device of the serial interconnection. In a case of no match, the ID generation is skipped and no ID is generated for another device. Such a device type match determination and ID generation or skip are performed in all devices of the serial interconnection. In cases of different device types being separately provided to the interconnected devices, sequential IDs are generated in each of the different device types and also the total number of each device type are recognized. In a case of a “don't care” code is provided to the interconnected devices, sequential IDs are generated and also, the total number of the interconnected devices is recognized, regardless of the type differences.
1. An apparatus configured to produce a device identifier at a first device coupled to a second device in a serial interconnection configuration, the first device having a serial input connection coupled to a serial output connection of a previous device in the serial interconnection configuration, the second device having a serial input connection coupled to a serial output connection of the first device, the devices having different memory types, the apparatus comprising:
a receiver, including a device identifier (ID) holder and a device type (DT) holder, configured to receive an ID and a DT, respectively, through the serial input connection of the device;
a determiner in conjunction with the DT holder configured to perform:
a first determination of whether the DT of the device contains a pre-defined code corresponding to one including all device types; and
a second determination of whether the DT of the device is based on the received DT; and
an ID producer in conjunction with the ID holder configured to produce an ID in response to first and second determination results.
2. The apparatus of claim 1 , wherein the ID producer comprises:
a calculator configured to perform the calculation of the received ID with a pre-defined value.
3. The apparatus of claim 2 , further comprising:
a device type provider including a storage configured to provide device type information (DTI) of the device.
4. The apparatus of claim 3 , wherein the determiner comprises:
a first comparator configured to compare the received DT with the pre-defined code to produce the first determination result; and
a second comparator configured to compare the received DT with the provided DTI to provide the second determination result.
5. The apparatus of claim 4 , wherein the ID producer further comprises:
a selector configured to select the received ID or the calculated ID in response to the determination result, the selected ID being outputted through the output connection of the device.
6. The apparatus of claim 5 , wherein the receiver comprises:
a register configured to hold the received ID and DT in serial manner; and
an output signal provider configured to output each of the held ID and DT in parallel manner, thereby providing the ID and DT separately for calculating the ID, and configured to select a pre-calculated ID or the calculated ID, respectively.