Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Data sharing apparatus and processor for sharing data between processors of different endianness

a technology of data sharing and processors, applied in the direction of micro-instruction address formation, memory adressing/allocation/relocation, instruments, etc., can solve the problems of hindering the speed of other processors and posing a barrier to high-speed memory access

Inactive Publication Date: 2004-11-18
PANASONIC SEMICON SOLUTIONS CO LTD
View PDF9 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Benefits of technology

[0025] According to this structure, since the first processor and the second processor access the memory in the same byte order for data with the same width as the data bus, the sharing of data with the same width as the data bus through an extremely simple structure is realized as an effect of the present invention. In addition, through the address conversion unit, it becomes possible for the processor to access the memory for data with a smaller width than the data bus. Furthermore, since the processor can be realized through simple hardware such as the address conversion unit, it does not become an impediment to memory access speed.
[0045] Furthermore, in addition to (A) and (B), (C) by defining variables which are shorter than the basic word length, in reversed orders within the basic word length, in structure definition within application programs for the first processor and the second processor, data can be shared by the little-endian-type first processor and the big-endian-type second processor, not only through access of the shared memory in word units, but also through access in half-word and byte units Also, in addition to (A) and (B), since during (D) DMA transfer, the same address conversion in (B) is used, data of different endianness is performed of DMA transfer, and data sharing for the source and destination through half-word unit and byte unit access becomes possible.

Problems solved by technology

Moreover, since delays arise due to endian conversion, the technology poses a barrier to high speed memory access, even carrying with it the problem of hindering the speed of other processors, in the case where data is shared.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Data sharing apparatus and processor for sharing data between processors of different endianness
  • Data sharing apparatus and processor for sharing data between processors of different endianness
  • Data sharing apparatus and processor for sharing data between processors of different endianness

Examples

Experimental program
Comparison scheme
Effect test

first embodiment

[0071] (First Embodiment)

[0072] FIG. 7 is a block diagram showing the structure of a data processing apparatus in the present embodiment. As in the diagram, the data processing apparatus includes a first processor 10, a second processor 20, a shared memory 30, an address conversion unit 21, and a cache memory 23, that are connected to each other via a data bus (D bus, in the diagram).

[0073] This data processing apparatus achieves the sharing of data in a memory in an extremely simple structure, through the following three points: (A) the big-endian-type second processor 20 is connected to the shared memory 30 with the same byte order as the little-endian-type first processor 10, (B) the address conversion of the second processor 20, and (C) the respective methods in which structures of data in a program are defined by the first processor 10 and the second processor 20, where (A) and (B) are hardware structures, and (C) is a software structure.

[0074] (A. Bus Connection)

[0075] In FIG....

second embodiment

[0111] (Second Embodiment)

[0112] In the above-mentioned embodiment, the issue of mismatches in half-word addresses and byte addresses arising in (A) and (B), when data in the shared memory 30 is taken from perspective of the first processor 10, and when it is taken from the perspective of the second processor 20, is resolved through the above-mentioned (C). In the present embodiment, a structure for resolving this mismatch by DMA transfer, without using (C), shall be explained.

[0113] FIG. 16 is a block diagram showing the structure of a data processing apparatus in the second embodiment of the present invention. The data processing apparatus in the diagram is different from that in FIG. 7, in having a Synchronous Dynamic Random Access Memory (SDRAM) 31, a Direct Memory Access Controller (DMAC) 32, an Input / Output device (I / O) 33, and I / O 34, added. Structural elements identical to those in FIG. 7 are assigned the same numerals, and explanations will not be repeated. Explanations wil...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The data sharing apparatus in the present invention includes a first processor 10 and a second processor 20, each of a different endianness, that are both connected to the memory via the data bus, in a byte order based on the endianness of the first processor 10. It also includes an address conversion unit 21 which converts at least one lower bit of an address to indicate a reversed position of data in the data bus, and outputs the converted address to the memory, in the case where the second processor 20 performs a memory access on the shared memory for data with a smaller width than the data bus.

Description

[0001] (1) Field of the Invention[0002] The present invention relates to a data sharing apparatus containing a memory and two processors of different endianness, as well as such processors for the apparatus, and particularly to data sharing between processors.[0003] (2) Description of the Related Art[0004] In the case where the basic word length of a processor is 2 bytes (16 bits) or more, there are two formats for byte ordering in storing data of 2 bytes or more into a memory, the so-called "big-endian" and "little-endian". This is because the basic word length has 2 bytes or more, as opposed to the byte units in which addresses are assigned in a memory.[0005] First, the big-endian format shall be explained.[0006] Big-endian is a format for the ordering of a byte sequence (byte order) during the storage of data of 2 bytes or more, into a memory having byte unit addresses. It refers to the format that stores data in an ascending order of memory addresses, beginning with the byte at ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F5/00G06F12/04G06F7/00G06F12/02G06F13/40G06F15/16
CPCG06F13/4013
Inventor FUNAHASHI, KAZUTOSHIIKAWA, SATOSHINAGAYASU, MASARU
Owner PANASONIC SEMICON SOLUTIONS CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products