An apparatus for automatically preparing a bus interface preparation apparatus is provided which is capable of preventing duplication of addresses of registers and memories. When data of a hardware description 10 are input into the extracting portion 101, the extracting portion 101 extracts from the data whether the memory element is a memory device or an FF. The extracting portion 101 reads the top address and the address size of the memory element when the memory is the memory element and reads address when the memory is an FF, and the thus read data are output to the address competition detecting portion 103. The address competition detecting portion 103 detects competition of the addresses by determining whether the address information stored in the bit data memory portion 102 includes 1. The output portion 104 converts the data concerning address of the memory into a description language of the hardware of the bus interface circuit.
Legal claims defining the scope of protection, as filed with the USPTO.
1. A bus interface circuit preparation apparatus, which outputs a hardware description language expressing said bus interface circuit by inputting a description of a bus interface including a memory element which is disposed between a central processing unit constituting a master and hardware constituting a slave for said central processing unit, comprising: an extracting portion for extracting data related to the address range of said memory element; a bit data memory portion for storing addresses allocated to said memory element based on the data extracted by said extracting portion; an address competition detecting portion for detecting duplication of addresses in the memory element based on the data extracted by said extracting portion and the address information stored in said bit data memory portion; and a circuit generating portion for generating a description of a bus interface that prevents duplication of addresses of the memory element.
2. A bus interface circuit preparation apparatus according to claim 1 , wherein said apparatus comprises: an extracting portion for extracting data related to global addresses of said select signal; and an address determining portion for determining the number of upper digits which are identical from the top address, when a reading global address and a writing global address are represented by n-ary notation based on the data extracted by said address extracting portion, and when both said reading and writing global addresses after conversion to the n-ary notation are compared from the top address; and a common circuit generating portion for generating common circuits of select signals corresponding to the number of upper digits determined by said address determining portion.
3. A bus interface circuit preparation apparatus, which outputs a hardware description language expressing said bus interface circuit by inputting a description of a bus interface including a memory element which is disposed between a central processing unit constituting a master and hardware constituting a slave for said central processing unit, comprising: an RW address comparison portion for determining whether a reading global address and a writing global address, both allocated to the same memory element, are identical, based on the inputted bus interface description; a determination portion for determining whether or not said reading global address and said writing global address are divided to form different addresses in the bit unit; and a select signal generating circuit for outputting the select signal which becomes active when said global address is assigned, providing that said reading global address and said writing global address are identical and that said global addresses are different addresses in the bit unit, and a circuit generating portion for generating conversion circuits corresponding to each of said global addresses for converting said global addresses to local addresses of said memory element.
4. A bus interface circuit preparation apparatus, which outputs a hardware description language expressing said bus interface circuit by inputting a description of a bus interface including a memory element which is disposed between a central processing unit constituting a master and hardware constituting a slave for said central processing unit, comprising: an RW address comparison portion for determining whether a reading global address and a writing global address, both allocated to the same memory element, are identical; a determination portion for determining whether said reading global address and said writing global address are divided to form different addresses in the bit unit; and a select signal generating circuit for outputting the select signal which becomes active when said global address is assigned, providing that said reading global address and said writing global address are different addresses and that respective addresses of said reading global address are identical to said writing global address, and a circuit generating potion for generating conversion circuits corresponding to said writing global address and said writing global address for converting said global addresses to local addresses of said memory element.
5. A bus interface circuit preparation apparatus, which outputs a hardware description language expressing said bus interface circuit by inputting a description of a bus interface including a memory element which is disposed between a central processing unit constituting a master and hardware constituting a slave for said central processing unit, comprising: an RW address comparison portion for determining whether or not a reading global address and a writing global address, both allocated to the same memory element, are identical; a determination portion for determining whether said reading global address and said writing global address are divided to form different addresses in the bit unit; and a select signal generating circuit for outputting the select signal which becomes active when any one of said reading global address and said writing global address, which form different addresses in the bit unit, is assigned, provided that said reading global address and said writing global address are different addresses and that at least any one of said reading global address and said writing global address forms different addresses in the bit unit, and a circuit generating portion for generating conversion circuits corresponding to each of said reading global addresses and to each of said writing global addresses for converting said global address to local addresses of said memory element.
6. A bus interface circuit preparation apparatus, which outputs a hardware description language expressing said bus interface circuit by inputting a description of a bus interface including a memory element which is disposed between a central processing unit constituting a master and hardware constituting a slave for said central processing unit, comprising: an extracting portion for extracting a top global address and an address range for said memory elements from the inputted bus interface description; a calculating portion for calculating the number of the minimum address lines which is capable of assigning any address in said address range extracted by said extracting portion; a checker portion for determining whether all of the lower n bits are 0; and a circuit generating portion for outputting the select signal, using the lower n bits of said global addresses as the address input of said memory element and utilizing said global address values excluding the lower n bits, when said checker portion has determined that all of the lower n bits are 0.
7. A bus interface circuit preparation apparatus, which outputs a hardware description language expressing said bus interface circuit by inputting a description of a bus interface including a memory element which is disposed between a central processing unit constituting a master and hardware constituting a slave for said central processing unit, comprising: an extracting portion for extracting a top global address and tan address range of said memory element from the bus interface description; a calculating portion for calculating the number of minimum address lines, capable of assigning individually any address within said address range extracted by said extracting portion; a checker portion for determining whether all of the lower n bits are 0; and a warning portion for warning when 1 is present in said lower n bits.
8. A computer readable recording medium which stores a bus interface circuit preparation program for outputting a hardware description language expressing said bus interface circuit by inputting a description of a bus interface including a memory element which is disposed between a central processing unit constituting a master and hardware constituting a slave for said central processing unit, wherein the bus interface circuit preparation program operated by a computer comprises: an extracting step for extracting data related to the address range of said memory element from the inputting bus interface description; a bit data storing step for storing the addresses allocated to said memory element based on the data extracted by said extracting portion; an address competition detecting step for detecting duplication of the addresses in the memory element based on the data extracted by said extracting portion and information stored in said bit data storing step; and a circuit generating step for generating a description of a bus interface that prevents duplication of addresses of the memory element.
9. A computer readable recording medium which stores a bus interface circuit preparation program for outputting a predetermined hardware description language by inputting a description of a bus interface including a memory element which is disposed between a central processing unit constituting a master and hardware constituting a slave for said central processing unit, wherein the bus interface circuit preparation program comprises; an RW address comparing step for determining whether or not a reading global address and a writing global address, both allocated to the same memory element, are identical, based on the inputted bus interface description; a determining step for determining whether or not said reading global address and said writing global address are divided to form different addresses in the bit unit; and a circuit generating step for outputting the select signal when said global address is assigned, providing that said reading global address is identical with said writing global address and that said global addresses are different addresses in the bit unit, and for generating conversion circuits corresponding to each of said global addresses for converting said global addresses to local addresses of said memory element, when necessary; a circuit generating step for outputting the select signal which becomes active when any one of said two global addresses are assigned, providing that said reading global address and said writing global address are different addresses and that respective addresses of said reading global address are identical with said writing global address, and for generating conversion circuits corresponding to said reading global address and said writing global address for converting said global addresses to local addresses of said memory element; and a circuit generating step for generating a select signal generating circuit for outputting the select signal which becomes active when any one of said reading global address and said writing global address, which form different addresses in the bit unit, is assigned, providing that said reading global address and said writing global address are different addresses and that at least any one of said reading global address and said writing global address forms different addresses in the bit unit, and for generating conversion circuits corresponding to each of said reading global address and to each of said writing global address for converting said global addresses to local addresses of said memory element.
10. A recording medium which stores a bus interface circuit preparation program according to claim 9 , wherein said bus interface circuit preparation program comprises: an address extracting step for extracting data related to the global address of said select signal generated in an address extracting step; an address determination step for determining whether these reading and writing global addresses agree with each other from the upper address based on data extracted by said address extracting step; and a common circuit generating step for generating a common circuit of said select signal when the result of said address determination step confirms the agreement.
11. A computer readable recording medium which stores a bus interface circuit preparation program for outputting a predetermined hardware description language by inputting a description of a bus interface including a memory element which is disposed between a central processing unit constituting a master and hardware constituting a slave for said central processing unit, wherein the bus interface circuit preparation program comprises; an extracting portion for extracting a top global address and an address range of said memory element from the bus interface description; a calculating portion for calculating the number of minimum address lines, capable of assigning individually any address within said address range extracted by said extracting portion; a checker portion for determining whether all of the lower n bits of the top address of said memory element are 0; a circuit generating step for outputting a select signal, by using the lower n bits as an address input of the memory element, when the result of the determination in said check step indicates that the lower n bits of the top global address are all 0; and a warning step for warning the user when the result of the check step indicates that 1 is present in the lower n bits of the top address.
Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.
October 11, 2000
October 21, 2003
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.