Integrated circuit, broadcasting method of integrated circuit, relay module, and electronic device

文档序号:651835 发布日期:2021-04-23 浏览:35次 中文

阅读说明:本技术 集成电路、集成电路的广播方法、中继模块及电子设备 (Integrated circuit, broadcasting method of integrated circuit, relay module, and electronic device ) 是由 张国 于 2020-12-03 设计创作,主要内容包括:本申请提供一种集成电路、集成电路的广播方法、中继模块及电子设备,集成电路包括:中继广播网络,包括至少一个中继广播模块;至少两个功能模块,分别与所述中继广播网络中的一个中继广播模块通过信号广播输入接口和信号广播输出接口连接,以通过所述中继广播网络实现信号广播。这样,通过设置中继广播网络来连接各功能模块,从而使得各功能模块之间的信号广播仅需通过中继广播网络的中继广播模块实现,从而使得功能模块间的信号广播,不再需要软件介入,从而无需轮询,因此不影响CPU性能,同时也可以不占用软件地址空间,从而使得控制总线设计变得更简单,能够减少控制总线设计复杂度。(The application provides an integrated circuit, a broadcasting method of the integrated circuit, a relay module and an electronic device, wherein the integrated circuit comprises: a relay broadcast network including at least one relay broadcast module; and the at least two functional modules are respectively connected with one relay broadcasting module in the relay broadcasting network through a signal broadcasting input interface and a signal broadcasting output interface so as to realize signal broadcasting through the relay broadcasting network. Therefore, the relay broadcasting network is arranged to connect the functional modules, so that the signal broadcasting among the functional modules is realized only through the relay broadcasting module of the relay broadcasting network, the signal broadcasting among the functional modules is realized, software intervention is not needed any more, polling is not needed, the performance of a CPU is not influenced, and meanwhile, the software address space is not occupied, so that the design of the control bus is simpler, and the design complexity of the control bus can be reduced.)

1. An integrated circuit, comprising:

a relay broadcast network including at least one relay broadcast module;

and the at least two functional modules are respectively connected with one relay broadcasting module in the relay broadcasting network through a signal broadcasting input interface and a signal broadcasting output interface so as to realize signal broadcasting through the relay broadcasting network.

2. The integrated circuit of claim 1, wherein bit widths of the signal broadcast input interfaces of all functional modules are the same, bit widths of the signal broadcast output interfaces of all functional modules are the same, and bit widths of the signal broadcast input interfaces and the signal broadcast output interfaces of the functional modules are the same.

3. The integrated circuit of claim 1, wherein the repeating broadcast network is disposed on a circuit board in a center of an area enclosed by the functional modules.

4. The integrated circuit of claim 1, wherein the repeating broadcast network includes more than two of the repeating broadcast modules; any two relay broadcast modules are directly connected or indirectly connected through at least one relay broadcast module.

5. The integrated circuit of claim 4, wherein a bit width of a signal input interface and a signal output interface of each of the repeating broadcast modules is the same, and is the same as a bit width of the signal broadcast input interface and a signal broadcast output interface of each of the functional modules.

6. The integrated circuit of any one of claims 1-5, wherein the repeating broadcast module comprises:

n signal input interfaces, n signal output interfaces, and n multi-input logic gate circuits; n is a positive integer greater than or equal to 2;

each signal input interface is used for being connected with a signal broadcast output interface of one functional module;

the n multi-input logic gate circuits are respectively connected with different n-1 signal input interfaces and respectively connected with one signal output interface;

each signal output interface is used for being connected with a signal broadcast input interface of a target function module; the target function module is as follows: and the functional module is connected with the signal input interface which is not connected with the multi-input logic gate circuit corresponding to the signal output interface.

7. The integrated circuit of claim 6, wherein the multiple-input logic gate circuit is an AND circuit or an OR gate circuit.

8. The integrated circuit of claim 6, wherein the repeating broadcast module further comprises: inputting a timing register;

the signal input interface is connected with the multi-input logic gate circuit through the input time sequence register.

9. The integrated circuit of claim 6, wherein the repeating broadcast module further comprises: an output timing register;

the multi-input logic gate circuit is connected with the signal output interface through the output sequence register.

10. The integrated circuit of any of claims 1-5, wherein the at least two functional modules include a master control module and a slave module;

the master control module is used for broadcasting a master command to the slave module through the relay broadcasting network;

the slave module is used for judging whether the slave module belongs to the host command related to the slave module when receiving the host command; if yes, executing the host command; otherwise, the host command is ignored.

11. A relay broadcast module, comprising:

n signal input interfaces, n signal output interfaces, and n multi-input logic gate circuits; n is a positive integer greater than or equal to 2;

each signal input interface is used for being connected with a signal broadcast output interface of one functional module;

the n multi-input logic gate circuits are respectively connected with different n-1 signal input interfaces and respectively connected with one signal output interface;

each signal output interface is used for being connected with a signal broadcast output interface of a functional module connected with the signal input interface which is not connected with the multi-input logic gate circuit corresponding to the signal output interface.

12. The repeating broadcast module of claim 11, wherein the multi-input logic gate circuit is an and circuit or an or circuit.

13. The relay broadcast module of claim 11 or 12, wherein the relay broadcast module further comprises: inputting a timing register;

the signal input interface is connected with the multi-input logic gate circuit through the input time sequence register.

14. The relay broadcast module of claim 11 or 12, wherein the relay broadcast module further comprises: an output timing register;

the multi-input logic gate circuit is connected with the signal output interface through the output sequence register.

15. A method of broadcasting, comprising:

any relay broadcasting module in the relay broadcasting network receives signals transmitted by the functional module;

and broadcasting the signal to all the function modules connected with the relay broadcast network according to the connection relation of each relay broadcast module in the relay broadcast network and the connection relation between each relay broadcast module and the function module.

16. An electronic device comprising an integrated circuit as claimed in any one of claims 1 to 10.

Technical Field

The present disclosure relates to the field of integrated circuit technologies, and in particular, to an integrated circuit, a broadcasting method of the integrated circuit, a relay module, and an electronic device.

Background

In a conventional integrated circuit design, data broadcasting among a plurality of functional modules (such as a Central Processing Unit (CPU), a Direct Memory Access (DMA) module, a Universal Serial Bus (USB) module, and the like) is often implemented in a software polling manner. However, the polling method firstly needs to occupy additional software address resources and increases the design complexity of the CPU control bus (mainly involving increasing the access logic to the corresponding register, which generally makes the timing sequence of the CPU control bus worse). Secondly, the software polling method occupies the operation time of the CPU, and affects the performance of the CPU.

Disclosure of Invention

An embodiment of the present invention provides an integrated circuit, a broadcasting method of the integrated circuit, a relay module, and an electronic device, so as to solve the above problems.

An embodiment of the present application provides an integrated circuit, including: a relay broadcast network including at least one relay broadcast module; and the at least two functional modules are respectively connected with one relay broadcasting module in the relay broadcasting network through a signal broadcasting input interface and a signal broadcasting output interface so as to realize signal broadcasting through the relay broadcasting network.

In the implementation process, the functional modules are connected by setting the relay broadcast network, so that the signal broadcast between the functional modules is realized only by the relay broadcast module of the relay broadcast network, the signal broadcast between the functional modules is realized, software intervention is not needed any more, polling is not needed, the performance of a CPU is not influenced, and meanwhile, the software address space is not occupied, so that the design of the control bus is simpler, and the design complexity of the control bus can be reduced.

Further, bit widths of the signal broadcast input interfaces of all the functional modules are the same, bit widths of the signal broadcast output interfaces of all the functional modules are the same, and the bit widths of the signal broadcast input interfaces of the functional modules are the same as the bit widths of the signal broadcast output interfaces.

In the implementation process, bit widths of the signal broadcast input interfaces and the signal broadcast output interfaces of all the functional modules are unified, so that the receptivity of signal broadcast among the functional modules is ensured, and the reliability of the scheme is improved.

Furthermore, the relay broadcasting network is arranged in the center of an area surrounded by the functional modules on the circuit board.

In the implementation process, the relay broadcast network is arranged on the circuit board, and the central area of the area surrounded by the functional modules is arranged, so that the wiring layout between the functional modules and the relay broadcast network is easier, and when the functional modules need to be added, the proper positions for accessing the relay broadcast network can be found on the circuit board more easily.

Further, the relay broadcast network comprises more than two relay broadcast modules; any two relay broadcast modules are directly connected or indirectly connected through at least one relay broadcast module.

In the implementation process, the plurality of relay broadcast modules are connected, so that the connection among the functional modules at far physical positions can be realized, the relay function of the relay broadcast network is fully exerted, and the reliability of the scheme is improved.

Further, the bit width of the signal input interface and the signal output interface of each relay broadcasting module is the same, and is the same as the bit width of the signal broadcast input interface and the signal broadcast output interface of each functional module.

In the implementation process, the interface bit widths of all the functional modules and the relay broadcasting module are unified, so that the receptivity of signal broadcasting among the functional modules is ensured, and the reliability of the scheme is improved.

Further, the relay broadcasting module includes: n signal input interfaces, n signal output interfaces, and n multi-input logic gate circuits; n is a positive integer greater than or equal to 2; each signal input interface is used for being connected with a signal broadcast output interface of one functional module; the n multi-input logic gate circuits are respectively connected with different n-1 signal input interfaces and respectively connected with one signal output interface; each signal output interface is used for being connected with a signal broadcast input interface of a target function module; the target function module is as follows: and the functional module is connected with the signal input interface which is not connected with the multi-input logic gate circuit corresponding to the signal output interface.

In the implementation process, effective distinguishing of input signals can be easily realized through the multi-input logic gate circuit, so that whether the signals needing broadcasting are received or not is determined. Each multi-input logic gate circuit is only connected with n-1 signal input interfaces, and the signal output interface corresponding to the multi-input logic gate circuit is connected with the functional module connected with the signal input interface which is not accessed by the multi-input logic gate circuit, so that signals input to the same functional module can not be sent back to the functional module, thereby effectively avoiding data logic errors of the functional module (in many functional modules, when the output signals of the functional modules form self input signals, processing logic errors possibly occur in the functional modules), and ensuring the reliability of the whole integrated circuit.

Further, the multi-input logic gate circuit is an and circuit or an or gate circuit.

Further, the relay broadcasting module further includes: inputting a timing register; the signal input interface is connected with the multi-input logic gate circuit through the input time sequence register.

In the implementation process, the time sequence of the signals input into the multi-input logic gate circuit can be adjusted through the input time sequence register, so that the accuracy of the processing result of the multi-input logic gate circuit is improved.

Further, the relay broadcasting module further includes: an output timing register; the multi-input logic gate circuit is connected with the signal output interface through the output sequence register.

In the implementation process, the output time sequence register can realize time sequence adjustment of the output signals, so that the subsequent identification processing of the relay broadcasting module or the functional module is facilitated, and the reliability of signal broadcasting in a broadcasting domain is improved.

Further, the at least two functional modules comprise a master control module and a slave module; the master control module is used for broadcasting a master command to the slave module through the relay broadcasting network; the slave module is used for judging whether the slave module belongs to the host command related to the slave module when receiving the host command; if yes, executing the host command; otherwise, the host command is ignored.

In the implementation process, the master control module can easily broadcast the master command to the slave modules through the relay broadcast network, so that the master command is rapidly issued.

The embodiment of the present application further provides a broadcasting method, including: after receiving the signal transmitted by the functional module, any relay broadcasting module in the relay broadcasting network broadcasts the signal to all the functional modules connected with the relay broadcasting network according to the connection relationship of each relay broadcasting module and the connection relationship between each relay broadcasting module and the functional module in the relay broadcasting network.

In the implementation process, the relay broadcast network is arranged to implement the signal broadcast among the functional modules, so that the signal broadcast among the functional modules does not need software intervention any more, and polling is not needed, so that the performance of a CPU is not influenced, and meanwhile, the software address space is not occupied, so that the design of a control bus becomes simpler, and the design complexity of the control bus can be reduced.

An embodiment of the present application further provides a relay broadcast module, including: n signal input interfaces, n signal output interfaces, and n multi-input logic gate circuits; n is a positive integer greater than or equal to 2; each signal input interface is used for being connected with a signal broadcast output interface of one functional module; the n multi-input logic gate circuits are respectively connected with different n-1 signal input interfaces and respectively connected with one signal output interface; each signal output interface is used for being connected with a signal broadcast output interface of a functional module connected with the signal input interface which is not connected with the multi-input logic gate circuit corresponding to the signal output interface.

Further, the multi-input logic gate circuit is an and circuit or an or gate circuit.

Further, the relay broadcasting module further includes: inputting a timing register; the signal input interface is connected with the multi-input logic gate circuit through the input time sequence register.

Further, the relay broadcasting module further includes: an output timing register; the multi-input logic gate circuit is connected with the signal output interface through the output sequence register.

An embodiment of the present application further provides an electronic device including any one of the above integrated circuits.

Drawings

In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.

Fig. 1 is a schematic diagram of an integrated circuit according to an embodiment of the present disclosure;

fig. 2 is a schematic structural diagram of a functional module according to an embodiment of the present disclosure;

fig. 3 is a schematic structural diagram of a relay broadcast module according to an embodiment of the present application;

fig. 4 is a schematic connection diagram of a relay broadcast module and a function module according to an embodiment of the present disclosure;

fig. 5 is a schematic structural diagram of a more specific relay broadcast module provided in an embodiment of the present application;

fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;

FIG. 7 is a diagram illustrating an exemplary integrated circuit structure according to an embodiment of the present disclosure;

fig. 8 is a schematic diagram of a connection structure between a relay broadcast module and a functional module according to an embodiment of the present application.

Detailed Description

The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.

The first embodiment is as follows:

in order to realize signal broadcasting among functional modules in an integrated circuit, the embodiment of the application provides the integrated circuit. Referring to fig. 1, fig. 1 is a schematic diagram of a basic structure of an integrated circuit provided in an embodiment of the present application, where the integrated circuit includes:

each functional module for realizing signal broadcasting and a relay broadcasting network arranged among the functional modules are needed.

The relay broadcasting network comprises at least one relay broadcasting module, and each functional module is connected with the relay broadcasting module. In this case, each functional module forms one broadcast domain together with the relay broadcast network. After each functional module outputs the signal, the relay broadcasting module receiving the signal broadcasts the signal to all functional modules connected with the relay broadcasting network according to the connection relation, thereby realizing the broadcasting of the signal in the broadcasting domain.

It should be understood that the functional module described in this embodiment of the present application refers to a module that can be used to implement a certain function in an existing integrated circuit, such as a CPU module, a DMA module, a USB module, a PCIE (peripheral component interconnect express) module, and the like.

It should be understood that not all functional modules may be configured with signal interfaces at present. For this reason, in the embodiment of the present application, in order to ensure that the functional modules can normally implement broadcasting, a corresponding signal broadcasting input interface and a corresponding signal broadcasting output interface may be configured for each functional module, for example, as shown in fig. 2. The signal broadcast input interface is responsible for receiving signals from other functional modules, and the signal broadcast output interface is responsible for sending signals inside the functional modules to all other functional modules through a relay broadcast network.

It should also be understood that, as to which functional modules are used to connect the relay broadcast network to form the broadcast domain, an engineer may select the functional modules according to actual needs, and the embodiments of the present application are not limited thereto.

It should be noted that, in the embodiment of the present application, the interface widths (i.e., interface bit widths) of the signal broadcast input interface and the signal broadcast output interface of the functional module may be configured by an engineer according to the actual application requirement. For example, the engineering may configure the signal broadcast input interface and the signal broadcast output interface of the functional module to be 8-bit wide, so that different 8-bit binary signals can be broadcast.

It should be understood that, in an actual application process, if the bit widths of the interfaces between the two functional modules are different, this may mean that in an information exchange process between the two functional modules, there may be some signals sent by the functional module with a high bit width, and these signals cannot be received and identified by the functional module with a low bit width. For example, assuming that the interface width of the signal broadcast input interface and the signal broadcast output interface of the functional module a is 8 bits, and the interface width of the signal broadcast input interface and the signal broadcast output interface of the functional module B is 5 bits, when a signal with the size of 8 bits broadcast by the functional module a is broadcast to the functional module B by the relay broadcast network, the interface width of the signal broadcast input interface of the functional module B is 5 bits, so that the signal with the size of 8 bits cannot be received, and thus the functional module B cannot receive and identify the signal broadcast by the functional module a.

Therefore, in order to ensure that the signal broadcast by any functional module in the broadcast domain can be received and identified by the other functional modules in the broadcast domain in the embodiment of the present application, in a possible implementation manner of the embodiment of the present application, the signal broadcast input interfaces and the signal broadcast output interfaces of the functional modules may be configured to have the same interface width, the bit widths of the signal broadcast input interfaces of all the functional modules are the same, and the bit widths of the signal broadcast output interfaces of all the functional modules are the same. In this way, all the functional modules perform signal output and reception according to the same bit width, so that signals among all the functional modules can be ensured to be received and identified by all the functional modules in the broadcast domain.

It should be noted that in the embodiment of the present application, one or more than one relay broadcast module may be included in the relay broadcast network. Each functional module within the broadcast domain may be connected to one of the relay broadcast modules in the relay broadcast network.

It is to be understood that each of the rebroadcast modules in the rebroadcast network may be connected to one or more functional modules. For the relay broadcasting module, the number of the functional modules which can be accessed by the relay broadcasting module is limited by the number of the interfaces of the relay broadcasting module.

Therefore, theoretically, if the number of interfaces of one relay broadcast module is enough to meet the requirements of all functional modules in the broadcast domain, the relay broadcast network may have only one relay broadcast module, so as to implement signal broadcasting among all functional modules through the relay broadcast module.

However, in consideration that the number of functional modules that need to implement broadcasting is often greater than the number of interfaces of the relay broadcasting module in practical application, in this embodiment of the present application, the relay broadcasting network may have a plurality of relay broadcasting modules, and at this time, any two relay broadcasting modules in the relay broadcasting network are directly connected to each other or indirectly connected to each other through the remaining relay broadcasting modules, so as to form a signal propagation network, so that after receiving a signal transmitted from a functional module, any one relay broadcasting module in the relay broadcasting network can transmit the signal to all relay broadcasting modules in the relay broadcasting network, and further transmit the signal to each functional module, thereby implementing broadcasting.

It should be understood that in the embodiment of the present application, the relay broadcast module will have a signal input interface and a signal output interface. The signal input interface of the relay broadcasting module can be connected with the signal broadcasting output interface of the functional module, so as to receive the signal sent by the functional module. In addition, the signal input interface of the relay broadcasting module can also be connected with the signal output interface of another relay broadcasting module, so that the propagation of signals in the relay broadcasting network is realized. And the signal output interface of the relay broadcasting module can be connected with the signal broadcasting input interface of the functional module, so that the signal to be broadcasted is sent to the connected functional module. Of course, the signal output interface of the relay broadcast module may also be connected to the signal input interface of another relay broadcast module, so as to implement propagation of signals in the relay broadcast network.

Similarly, in order to ensure that the signal can be normally transmitted in the relay broadcast network and avoid the problem that part of the signal cannot be received, in the embodiment of the present application, the bit widths of the signal input interface and the signal output interface of each relay broadcast module are the same, and the bit widths of the signal input interface and the signal output interface of each relay broadcast module are also the same as the bit widths of the signal broadcast input interface and the signal broadcast output interface of each functional module. Therefore, the interface bit widths of all interfaces for signal broadcasting in the whole broadcasting domain are uniform, so that all signals for broadcasting can be ensured to be sent out according to the same bit width requirement, and the validity of signal broadcasting can be ensured.

In the embodiment of the present application, in order to ensure that the relay broadcast module can effectively and accurately implement receiving and forwarding of signals, a relay broadcast module applicable to the relay broadcast network provided in the embodiment of the present application is also provided. As can be seen from fig. 3, the relay broadcasting module may include: n signal input interfaces, n signal output interfaces, and n multiple-input logic gate circuits. Wherein:

each signal input interface may be adapted to interface with a signal broadcast output interface of a functional module.

And the n multi-input logic gate circuits are respectively connected with different n-1 signal input interfaces and respectively connected with one signal output interface.

And each signal output interface is used for connecting with the signal broadcasting input interface of the target function module. Wherein, the target function module is: and the functional module is connected with the signal input interface which is not connected with the multi-input logic gate circuit corresponding to the signal output interface.

For example, referring to fig. 4, it is assumed that n is 4, 4 signal input interfaces are respectively denoted as signal input interface 1 to signal input interface 4, 4 multiple-input logic gate circuits are respectively denoted as multiple-input logic gate circuit 1 to multiple-input logic gate circuit 4, 4 signal output interfaces are respectively denoted as signal output interface 1 to signal input interface 4, and multiple-input logic gate circuit 1 to multiple-input logic gate circuit 4 respectively correspondingly connect signal output interface 1 to signal input interface 4.

Then, the signal input interfaces 2, 3, 4 may be connected to the multiple input logic gate circuit 1, the signal input interfaces 1, 3, 4 may be connected to the multiple input logic gate circuit 2, the signal input interfaces 1, 2, 4 may be connected to the multiple input logic gate circuit 3, and the signal input interfaces 1, 2, 3 may be connected to the multiple input logic gate circuit 4. The signal output interface 1 can be connected with the signal broadcast input interface of the functional module 1 connected to the signal input interface 1. Similarly, although not shown in fig. 4, the signal output interface 2 may be used to connect with the signal broadcast input interfaces of the functional modules connected to the signal input interfaces 2, 3 and 4, respectively, the signal output interface 3 may be used to connect with the signal broadcast input interface of the functional module connected to the signal input interface 3, and the signal output interface 4 may be used to connect with the signal broadcast input interface of the functional module connected to the signal input interface 4.

It should be noted that the value of n can be set by engineers as required, and should be a positive integer greater than or equal to 2.

It should be understood that each multiple-input logic gate circuit is connected to only n-1 signal input interfaces, and the signal output interface corresponding to the multiple-input logic gate circuit is connected to the functional module to which the signal input interface that is not connected to the multiple-input logic gate circuit is connected, so that the signal input to the same functional module is not sent back to the functional module, thereby effectively avoiding data logic errors occurring in the functional module (in many functional modules, when the output signal of the functional module forms the input signal of the functional module, a processing logic error may occur in the module), and ensuring the reliability of the whole integrated circuit.

It should be appreciated that in the embodiments of the present application, the multiple-input logic gate circuit is a logic gate circuit in which level signals are asserted. The engineer may choose to configure the entire broadcast domain to be active high or active low, and thus configure the multiple-input logic gate circuit accordingly to be active high or active low.

In the embodiment of the application, the multi-input logic gate circuit can be implemented by adopting an AND gate circuit or an OR gate circuit. Specifically, an and circuit or an or circuit is adopted, based on the effective level of the designed signal. For example, if the signal to be broadcast is designed to be sent out by a high-level signal, an or gate circuit may be used. Conversely, if the signal designed to be broadcast is sent out by a low-level signal, the signal can be implemented by an and circuit.

It should be further noted that, in order to ensure the timing reliability of the signal input to the multiple-input logic gate circuit for processing by the relay broadcast module, in an alternative manner of the embodiment of the present application, referring to fig. 5, an input timing register may be disposed between each signal input interface of the relay broadcast module and the multiple-input logic gate circuit, so that the timing alignment of the signal input to the multiple-input logic gate circuit is realized through the input timing register, thereby improving the accuracy of the processing result of the multiple-input logic gate circuit.

Similarly, in order to ensure the timing reliability of the signal output by the relay broadcast module, in an optional manner of the embodiment of the present application, still referring to fig. 5, an output timing register may be disposed between each signal output interface of the relay broadcast module and the multiple-input logic gate circuit, so as to implement timing adjustment on the output signal through the output timing register, thereby facilitating the subsequent identification processing of the relay broadcast module or the functional module, and improving the reliability of signal broadcasting in the broadcast domain.

It should be understood that the above input timing register and output timing register can be implemented by using an existing timing logic device (such as a pipeline register), and will not be described herein again.

It should also be understood that, in the embodiments of the present application, the input timing register and the output timing register are optional items. In fact, in practical applications, there may be physical proximity between the relay broadcast module and its associated functional module or relay broadcast module, so that there are situations where the signal timing can meet the processing requirements even without using sequential logic devices for timing alignment. Therefore, an engineer can set whether to adopt the input timing register and the output timing register in the relay broadcasting module, and if necessary, only adopt the input timing register and the output timing register, only adopt the output timing register and the output timing register, or adopt the input timing register and the output timing register at the same time according to actual needs.

It should be understood that, although the relay broadcast module with the above structure is shown in the embodiment of the present application, the relay broadcast module in the embodiment of the present application is not limited to be implemented only by adopting the relay broadcast module with the above structure. In fact, any module capable of implementing the signal relay function may be used as the relay broadcasting module in the embodiment of the present application, and the embodiment of the present application is not limited.

It should be noted that, in the embodiment of the present application, both the functional module and the relay broadcast module of the relay broadcast network are disposed on a circuit board of an integrated circuit and connected by a trace. In order to facilitate module expansion (for example, adding a functional module), in the embodiment of the present application, each of the relay broadcast modules forming the relay broadcast network may be disposed on a circuit board in the center of an area surrounded by each of the functional modules, for example, as shown in fig. 1. Therefore, all the functional modules are distributed around the relay broadcast network, interconnection is realized through the relay broadcast network, and the line connection is simpler from the wiring perspective. In addition, when the function module needs to be added, only the relevant function module needs to be added at a proper position around the relay broadcast network and is connected with one relay broadcast module (for example, the closest relay broadcast module) in the relay broadcast network, and the position and the connection relation among the deployed modules do not need to be changed in a large range during expansion, so that the expansion of the modules is facilitated.

It should be understood that the integrated circuit described in the embodiment of the present application may be applied to various electronic devices with a hardware module broadcast requirement, such as electronic devices of mobile phones, servers, computers, and the like. To this end, in an embodiment of the present application, there is also provided an electronic device, which is shown in fig. 6 and includes the integrated circuit described above.

It should be understood that, in the embodiment of the present application, the structure shown in fig. 6 is only an illustration, and the electronic device may further include more components than those shown in fig. 6, such as a housing, a memory, a human-computer interaction component (such as a display screen, a keyboard, a mouse, and the like), which are not limited in the embodiment of the present application.

It should also be understood that the embodiment of the present application also provides a broadcasting method corresponding to the foregoing integrated circuit or an electronic device having the integrated circuit.

The method may include that after the integrated circuit is configured to obtain the description, any functional module sends the signal to be broadcast to the relay broadcast module connected to the functional module.

After any relay broadcast module in the relay broadcast network receives the signal transmitted by the functional module, the signal can be broadcasted to all the functional modules connected with the relay broadcast network according to the connection relation of all the relay broadcast modules in the relay broadcast network and the connection relation of all the relay broadcast modules and the functional module.

Illustratively, for example, as for the integrated circuit shown in fig. 1, after the functional module 1 sends a signal to the relay broadcast module 1, the relay broadcast module 1 will forward the signal to the functional module 2, the relay broadcast module 2 and the relay broadcast module 3, the relay broadcast module 2 will forward the signal to the functional module 3, the relay broadcast module 3 will forward the signal to the relay broadcast module 4 and the relay broadcast module 5, the relay broadcast module 4 will forward the signal to the functional module 4, the functional module 5 and the functional module 6, and the relay broadcast module 5 will forward the signal to the functional module 7 and the functional module 8. Up to this point, broadcasting of the signal of the functional module 1 to all functional modules is achieved. For signals sent by other functional modules, broadcasting can be realized according to a similar process, which is not described herein again.

It should be understood that, by the scheme of the embodiment of the present application, the broadcasting requirements of various service scenarios can be flexibly realized. For example, in the embodiment of the present application, the function module may include a master control module and a slave module, so that the master control module may broadcast the master command to all the slave modules through the relay broadcast network.

It should be understood that the master commands that different slave modules need to execute may be different. Therefore, in the embodiment of the present application, a master command related to each slave module may be defined in each slave module, so that when the slave module receives the master command, it may be determined whether the master command belongs to its own related master command. If yes, executing the host command; otherwise, the host command is ignored.

For example, the slave modules may be divided into several groups, and the master command carries a group identifier, so that when any slave module receives a master command, it can determine whether the master command needs to be executed through the group identifier in the master command.

It should be understood that, by way of example, the case of issuing the host command is implemented by the scheme of the embodiment of the present application, in addition, the case of notifying that the working states between the function modules are the same may also be implemented by the scheme of the embodiment of the present application.

Through the scheme of the embodiment of the application, signal broadcasting can be easily realized among the functional modules, software intervention is not needed, polling is not needed, the performance of a CPU is not affected, and meanwhile, the software address space is not occupied, so that the design of the control bus is relatively simple, and the design complexity of the control bus can be reduced.

In addition, the scheme provided by the embodiment realizes unified structure, when module expansion is needed, only the newly added module needs to be connected with the existing relay broadcasting module, no complex circuit connection relation needs to be considered, the existing circuit structure is slightly changed, the expansion is simple and convenient, and the design complexity of digital logic is simplified.

In addition, the connection relationship between the modules involved in the scheme provided by this embodiment can be flexibly adjusted according to the actual physical location, which is friendly to the physical layout and wiring of the integrated circuit.

Example two:

on the basis of the first embodiment, the present embodiment further illustrates the scheme of the present application by taking several more specific practical application scenarios as examples.

Referring to fig. 7, an integrated circuit architecture is shown that includes a master control module and a plurality of slave modules, all of which are coupled to a repeating broadcast network.

The relay broadcast network is formed by connecting a plurality of relay broadcast modules.

In the application process, the relay broadcasting modules in the relay broadcasting network can configure the connection relation with each other according to the actual physical position. The host control module and the plurality of slave modules can be connected to any one relay broadcasting module, the connection relation can be determined according to the actual physical position condition between the modules, and the back-end physical layout is friendly.

In fig. 7, the structure of the master control module and the plurality of slave modules can be seen from fig. 2, and will not be described herein again. The structure of the relay broadcast module can be seen in fig. 5, and is not described herein again.

And the connection structure of the functional modules (the master control module and the slave module) and the relay broadcasting module can be seen from fig. 8. It should be understood that in the embodiment of the present application, the functional module may be accessed into any one set of signal input interface and signal output interface of the relay broadcast module.

The group of signal input interfaces and signal output interfaces is as follows: compared with a multi-input logic gate circuit, the signal input interface which is not connected with the multi-input logic gate circuit and the corresponding signal output interface form a group of interfaces.

For example, in the embodiment of the present application, bit widths of all interfaces of the master control module, each slave module, and each relay broadcast module may be configured to be 8 bits.

In this case, the master control module may use the network to send commands to all slave modules, such as start, stop, accelerate, decelerate, etc. Of course, the designer may also flexibly design the processing commands, for example, the slave modules may be divided into several groups, and each group may be configured to receive different master commands. When any slave module receives a master command which does not belong to the group of the slave module, the master command is ignored, and when the master command which belongs to the group of the slave module is received, the master command is executed, so that the simultaneous control of a plurality of slave modules in the unit of group is realized.

At this time, the command may be defined as follows:

240-group 1 all slave modules start to operate

241-group 1 all slave modules are deactivated

242-set 1 all slave modules speeding up

243-all slave modules of group 1 work at reduced speed

230-all slave modules of group 2 start to operate

231-all slave modules of group 2 are deactivated

232-group 2 all slave modules to speed up work

233-group 2 all slave modules work at reduced speed

220-all slave modules start working

221-all slave modules are out of service

222-all slave modules speeding up

223-all slave modules work at reduced speed

It should be understood that the foregoing values 240 through 223 represent corresponding 8-bit binary commands. The text following each numerical value is described as the corresponding command content.

In addition to the above, the present application may also be applied in other scenarios, such as using the integrated circuit described above to communicate status information.

For example, the bit width of all the interfaces of the master control module, each slave module and each relay broadcast module can be configured to be 5 bits.

The per bit state function can be defined at this time as follows:

bit 0-Job Busy

Bit 1-job error

Bit 2-too high operating temperature

Bit 3-too low working temperature

Bit 4-generating an interrupt, requiring CPU intervention

The modules are connected to each other through data lines. A single data line may transmit 1bit of data. Therefore, in the above example, 5 lines are used to realize the connection between the module interfaces. And further, corresponding state signals can be transmitted according to each line. That is, 5 lines correspond to the above-mentioned Bit 0 to Bit 4, respectively, and when a certain state needs to be transferred, only the signal state corresponding to that line needs to be changed. For example, if the set high level is active, it is sufficient to output a high level to the line corresponding to Bit 0 when the "busy operation" state is transmitted.

It should be understood that the solution provided in the present application may be adapted to various practical application scenarios, but the signal definition and the interface configuration in different application scenarios may be set by each engineer according to practical needs, and the present application is not limited thereto.

According to the scheme of the embodiment of the application, signal broadcasting can be easily realized among the functional modules, software intervention is not needed, polling is not needed, the performance of a CPU is not affected, and meanwhile, the software address space is not occupied, so that the design of the control bus is relatively simple, and the design complexity of the control bus can be reduced. In addition, the scheme provided by the embodiment realizes unified structure, when module expansion is needed, only the newly added module needs to be connected with the existing relay broadcasting module, no complex circuit connection relation needs to be considered, the existing circuit structure is slightly changed, the expansion is simple and convenient, and the design complexity of digital logic is simplified. In addition, the connection relationship between the modules involved in the scheme provided by this embodiment can be flexibly adjusted according to the actual physical location, which is friendly to the physical layout and wiring of the integrated circuit.

In the embodiments provided in the present application, it should be understood that the disclosed components may be implemented in other ways. The embodiments described above are merely illustrative. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some communication interfaces, devices or units, and may be in an electrical, mechanical or other form.

In addition, units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.

In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.

In this context, a plurality means two or more.

The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

18页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种同步信号相位调整方法及装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!