Object-oriented chip-level port interconnection circuit and port interconnection method thereof
Through object-oriented chip-level port interconnection circuit design, the problem of the PINMUX unit being unable to be reused is solved, multi-channel settings between the internal IP core port of the chip and the top-level PAD module of the chip are realized, and chip development is completed quickly and with high quality. Interconnection requirements in the process improve R&D efficiency and quality.
Patent Information
- Application Number
- CN202010743200.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-07-29
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2040-07-29
AI Technical Summary
Differences in implementation methods of PINMUX units in existing ASIC chips result in their inability to be reused, resulting in the inability to complete the interconnection requirements between various ports in the chip development process quickly and with high quality.
Adopt object-oriented chip-level port interconnection circuit design, including PAD module, CORE module, PINMUX unit and IOCTRL control unit. The IOCTRL control unit is configured through the CPU unit to control the connection path of the PINMUX unit to the PAD module and the IP core to realize the internal chip Multi-channel settings between the IP core port and the top-level PAD module of the chip.
It realizes the fast and high-quality completion of the interconnection requirements between various IP core ports in the chip development process, reduces the workload of design and verification, and improves the quality of execution.
Smart Images

Figure CN112182998B
Abstract
Description
Technical Field
[0001] The invention relates to the field of chip design, and in particular to an object-oriented chip-level port interconnection circuit and a port interconnection method. Background Art
[0002] ASIC (Application Specific Integrated Circuit) is developed for specific application scenarios. It has high circuit execution efficiency, but the chip scale is relatively small (1-10 million gates), and there are large differences between different R&D projects. The PINMUX unit is the main carrier for the interconnection between the internal IP core (Intellectual Property Core) and the top-level port of the chip in the ASIC chip. The R&D process is in the same cycle as the chip R&D. Its coding and verification efficiency have a great impact on the R&D progress of the entire SoC (System on Chip) chip. Due to the lack of timing constraints and industry specification references, the implementation methods of the PINMUX unit vary greatly. This makes it almost impossible to reuse the PINMUX units between different projects, making it impossible to quickly and high-quality complete the interconnection requirements between various ports in the chip development process. Summary of the invention
[0003] The present invention aims to solve at least one of the technical problems in the related art to a certain extent. To this end, the first object of the present invention is to provide an object-oriented chip-level port interconnection circuit. The chip-level port interconnection circuit can quickly and high-quality complete the interconnection requirements between various IP core ports in the chip development process.
[0004] The second objective of the present invention is to provide a port interconnection method.
[0005] To achieve the above-mentioned purpose, the first aspect of the present invention proposes an object-oriented chip-level port interconnection circuit, including: a PAD module, the PAD module is used to realize the connection between the chip and the external circuit; a CORE module, the CORE module includes a PINMUX unit, an IOCTRL control unit, a CPU unit and multiple IP cores, the PINMUX unit is connected to the PAD module and the multiple IP cores respectively, and the CPU unit is used to configure the IOCTRL control unit so that the IOCTRL control unit controls the connection path between the PAD module and each IP core through the PINMUX unit.
[0006] The object-oriented chip-level port interconnection circuit of the embodiment of the present invention is based on the design concept of object-oriented programming. After the packaging form is selected, it only needs to program the ports of the PINMUX unit and define the internal analog paths, so as to realize the multi-path setting between the internal IP core ports of the chip and the top-level PAD module of the chip, thereby quickly and with high quality completing the interconnection requirements between various IP core ports in the chip development process.
[0007] In addition, the object-oriented chip-level port interconnection circuit according to the above embodiment of the present invention may also have the following additional technical features:
[0008] According to an embodiment of the present invention, the connection between the PINMUX unit and the PAD module is a fixed connection.
[0009] According to one embodiment of the present invention, the PAD module includes a first port and a second port, the first port is used to connect an external circuit; the CORE module also includes a third port, the third port is fixedly connected to the second port; the PINMUX unit includes a fourth port and a fifth port, the fourth port is fixedly connected to the third port, and the connection between the fifth port and the multiple IP cores is a controllable connection.
[0010] According to one embodiment of the present invention, the number of connection paths between the fifth port and the multiple IP cores is 2 n , where n is a positive integer.
[0011] According to an embodiment of the present invention, the CPU unit is further used to: configure the IOCTRL control unit to implement the configuration of the logic function of the PAD module.
[0012] According to an embodiment of the present invention, the logic functions of the PAD module include one or more of an input enable function, an output enable function, a pull-up resistor function, a pull-down resistor function, and a driving function.
[0013] According to an embodiment of the present invention, the IOCTRL control unit is provided with registers, wherein the CPU unit is specifically used to configure the registers of the IOCTRL control unit.
[0014] According to an embodiment of the present invention, the PAD module, the CORE module, the PINMUX unit, and the IOCTRL control unit are obtained through module instantiation.
[0015] According to an embodiment of the present invention, the second port, the third port, and the fourth port each include a plurality of pins, the plurality of pins include input pins and output pins, the input pins are connected to 0, and the output pins are floating.
[0016] To achieve the above-mentioned purpose, a second aspect of the present invention proposes a port interconnection method, which is used for the above-mentioned object-oriented chip-level port interconnection circuit, and the method includes: the CPU unit obtains configuration information; the CPU unit configures the IOCTRL control unit according to the configuration information, so that the IOCTRL control unit controls the connection path between the PAD module and each IP core through the PINMUX unit.
[0017] The port interconnection method of the embodiment of the present invention is based on the design concept of object-oriented programming. After the packaging form is selected, it is only necessary to program the ports of the PINMUX unit and define the internal analog paths, so as to realize the multi-path setting between the internal IP core ports of the chip and the top-level PAD module of the chip, thereby quickly and with high quality completing the interconnection requirements between various IP core ports in the chip development process. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:
[0019] Figure 1 is a block diagram of an object-oriented chip-level port interconnection circuit according to an embodiment of the present invention;
[0020] Figure 2 is a schematic diagram of an object-oriented chip-level port interconnection circuit according to an embodiment of the present invention;
[0021] Figure 3 is a flow chart of a port interconnection method according to an embodiment of the present invention. DETAILED DESCRIPTION
[0022] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.
[0023] The object-oriented chip-level port interconnection circuit and the port interconnection method thereof according to the embodiments of the present invention will be described below with reference to the accompanying drawings.
[0024] Figure 1 FIG. 1 is a block diagram of an object-oriented chip-level port interconnection circuit according to an embodiment of the present invention. Figure 1 As shown, the object-oriented chip-level port interconnection circuit 10 includes a PAD module 100 and a CORE module 200 .
[0025] The PAD module 100 is used to realize the connection between the chip and the external circuit. The CORE module 200 includes a PINMUX unit 201, an IOCTRL control unit 202, a CPU unit 203 and multiple IP cores 204, wherein the PINMUX unit 201 is connected to the PAD module 100 and the multiple IP cores 204 respectively, and the CPU unit 203 is used to configure the IOCTRL control unit 202 so that the IOCTRL control unit 202 controls the connection path between the PAD module 100 and each IP core 204 through the PINMUX unit 201.
[0026] Specifically, the PAD module 100 is used to realize the transmission of signals inside and outside the chip; the CORE module 200 is used to realize the main logical functions of the chip (such as 90% of the logical functions, and the remaining 10% of the logical functions can be realized by the PAD module); the CPU unit 203 is used to configure the IOCTRL control unit 202 to realize the control of the PINMUX unit 201.
[0027] In one embodiment of the present invention, the PAD module 100, the CORE module 200, the PINMUX unit 201 and the IOCTRL control unit 202 are obtained by module instantiation.
[0028] Among them, by instantiating the PAD module 100, the CORE module 200, the PINMUX unit 201, and the IOCTRL unit 202, the formal unification of the PAD module 100, the CORE module 200, the PINMUX unit 201, and the IOCTRL unit 202 can be achieved, making the design scale flexible and changeable.
[0029] In one embodiment of the present invention, the connection between the PINMUX unit 201 and the PAD module 100 is a fixed connection.
[0030] In one embodiment of the present invention, the PAD module 100 includes a first port and a second port, the first port is used to connect to an external circuit; the CORE module 200 also includes a third port, the third port is fixedly connected to the second port; the PINMUX unit 201 includes a fourth port and a fifth port, the fourth port is fixedly connected to the third port, and the connection between the fifth port and the multiple IP cores 204 is a controllable connection.
[0031] In one embodiment of the present invention, the second port, the third port and the fourth port each include a plurality of pins, the plurality of pins include input pins and output pins, the input pins are connected to 0, and the output pins are floating.
[0032] like Figure 2As shown, the PAD module 100 includes a first port IO_D1 and a second port IO_D2, wherein the first port IO_D1 is connected to an external circuit to implement information interaction between the chip and the outside.
[0033] Optionally, the CORE module 200 includes a third port IO_C1, which is connected to the second port IO_D2, and is used to implement information exchange between the PAD module 100 and the CORE module 200. The PINMUX unit 201 includes a fourth port IO_P1 and a fifth port IO_P2, which are connected to the third port IO_C1, and are used to implement information transmission between the PINMUX unit 201 and the CORE module 200. In addition, the fifth port IO_P2 is connected to the multiple IP cores 204. Figure 2 It can be seen that the connections between the PINMUX unit 201 and the PAD module 100 through the second port IO_D2, the third port IO_C1 and the fourth port IO_P1 are fixed connections, while the connection between the fifth port IO_P2 and the multiple IP cores 204 is controllable. In other words, the PAD module 100 and the PINMUX unit 201 are fixedly interconnected, while the PINMUX unit 201 and the IP core 204 can be controllably connected by programming the ports of the PINMUX unit 201.
[0034] Further, by Figure 2 It can be seen that the second port IO_D2, the third port IO_C1 and the fourth port IO_P1 are all multi-pin ports, including input pins and output pins. The input pins can be pre-connected to 0 and the output pins can be floating to facilitate subsequent logic synthesis, effectively reduce chip power consumption and area occupancy, and improve chip performance.
[0035] In one embodiment of the present invention, the number of connection paths between the fifth port IO_P2 and the plurality of IP cores 204 is 2 n , where n is a positive integer.
[0036] Specifically, since the PAD module 100, the CORE module 200, the PINMUX unit 201 and the IOCTRL control unit 202 are formed by module instantiation, the design scale thereof is flexible and changeable. When the fifth port IO_P2 of the PINMUX unit 201 is interconnected with the multiple IP cores 204 of the CORE module 200, the number of connection paths thereof can reach 2. n (Such as 2, 4, 8, 16, 32). Of course, the number of connection paths can also be other values, such as 3, 5, 6, 7, etc.
[0037] The fifth port IO_P2 can be instantiated and generated by the PINMUX unit 201 .
[0038] Specifically, the PINMUX unit 201 includes a plurality of instantiated units, and these instantiated units can generate 2 in batches through 1mux N after a single setting. n ports, where n is a positive integer, and in the instantiation process, the port names generated in batches can also be batch set and unified. In this embodiment, the entire port generation process is completed by inputting code, which is easy to implement and convenient.
[0039] In one embodiment of the present invention, the CPU unit 203 is also used to configure the IOCTRL control unit 202 to implement the configuration of the logic functions of the PAD module 100 .
[0040] In one embodiment of the present invention, the IOCTRL control unit 202 is provided with registers, wherein the CPU unit 203 is specifically used to configure the registers of the IOCTRL control unit 202 .
[0041] In one embodiment of the present invention, the logic functions of the PAD module 100 include one or more of an input enable function, an output enable function, a pull-up resistor function, a pull-down resistor function, and a driving function.
[0042] Specifically, the CPU unit 203 can configure the registers in the IOCTRL control unit 202 through the bus to achieve flexible configuration of the logic functions of the PAD module 100. After designing a fixed register, the IOCTRL control unit 202 can query the corresponding bit position through the Excel data manual to perform secondary development and verification, which reduces the workload of design and verification and improves the execution quality.
[0043] To sum up, the object-oriented chip-level port interconnection circuit of the embodiment of the present invention is based on the design concept of object-oriented programming. After the packaging form is selected, it only needs to program the ports of the PINMUX unit and define the internal analog paths, so as to realize the multi-path setting between the internal IP core port of the chip and the top-level PAD module of the chip, thereby quickly and with high quality completing the interconnection requirements between various IP core ports in the chip development process.
[0044] Furthermore, the present invention provides a port interconnection method, which is used for the above-mentioned object-oriented chip-level port interconnection circuit. Figure 3 FIG. 1 is a flow chart of a port interconnection method according to an embodiment of the present invention. Figure 3 As shown, the method comprises the following steps:
[0045] S101, the CPU unit obtains configuration information.
[0046] S102: The CPU unit configures the IOCTRL control unit according to the configuration information, so that the IOCTRL control unit controls the connection path between the PAD module and each IP core through the PINMUX unit.
[0047] Specifically, Figure 3 As shown, the CPU unit can configure the registers in the IOCTRL control unit through the bus, thereby realizing the control of the IOCTRL control unit over the PINMUX unit. Furthermore, in the process of controlling the PINMUX unit, the ports of the PINMUX unit can be programmed and the connection paths between the PINMUX unit and each IP core can be defined, thereby realizing multi-path connection between the IP core ports inside the chip and the top-level PAD module of the chip.
[0048] The port interconnection method of the embodiment of the present invention is based on the design concept of object-oriented programming. After the packaging form is selected, it is only necessary to program the ports of the PINMUX unit and define the internal analog paths, so as to realize the multi-path setting between the internal IP core ports of the chip and the top-level PAD module of the chip, thereby quickly and with high quality completing the interconnection requirements between various IP core ports in the chip development process.
[0049] It should be noted that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection portion with one or more wirings (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.
[0050] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0051] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0052] In the description of the present invention, it is to be understood that the terms “center”, “longitudinal”, “lateral”, “length”, “width”, “thickness”, “up”, “down”, “front”, “back”, “left”, “right”, “vertical”, “horizontal”, “top”, “bottom”, “inside”, “outside”, “clockwise”, “counterclockwise”, “axial”, “radial”, “circumferential”, etc., indicating orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as limiting the present invention.
[0053] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0054] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0055] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, a first feature being "above", "above" or "above" a second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being "below", "below" or "below" a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.
[0056] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.
Claims
1. An object-oriented chip-level port interconnection circuit, characterized in that: include: A PAD module on the top layer of the chip, which is used to connect the chip to an external circuit; A CORE module, wherein the CORE module includes a PINMUX unit, an IOCTRL control unit, a CPU unit, and multiple IP cores, wherein the PINMUX unit is connected to the PAD module and the multiple IP cores respectively, and the CPU unit is used to configure the IOCTRL control unit so that the IOCTRL control unit controls the connection path between the PAD module and each IP core through the PINMUX unit; The connection between the PINMUX unit and the PAD module is a fixed connection; The PAD module includes a first port and a second port, wherein the first port is used to connect to an external circuit; The CORE module further includes a third port, and the third port is fixedly connected to the second port; The PINMUX unit comprises a fourth port and a fifth port, the fourth port is fixedly connected to the third port, and the connection between the fifth port and the plurality of IP cores is a controllable connection; The second port, the third port, and the fourth port each include a plurality of pins, the plurality of pins include input pins and output pins, the input pins are connected to 0, and the output pins are floating; The number of connection paths between the fifth port and the plurality of IP cores is 2n, where n is a positive integer; The PAD module, the CORE module, the PINMUX unit, and the IOCTRL control unit are obtained by module instantiation; The CPU unit is used to configure the registers in the IOCTRL control unit through a bus, so as to realize the control of the PINMUX unit by the IOCTRL control unit. In the process of controlling the PINMUX unit, the ports of the PINMUX unit are programmed and the connection paths between the PINMUX unit and each IP core are defined, so as to realize multi-path connection between the IP core ports inside the chip and the top-level PAD module of the chip.
2. The object-oriented chip-level port interconnection circuit according to claim 1, characterized in that: The logic functions of the PAD module include one or more of an input enable function, an output enable function, a pull-up resistor function, a pull-down resistor function, and a driving function.
3. A port interconnection method, characterized in that: The method is used for the object-oriented chip-level port interconnection circuit according to any one of claims 1 to 2, and the method comprises: The CPU unit acquires configuration information; The CPU unit configures the IOCTRL control unit according to the configuration information, so that the IOCTRL control unit controls the connection path between the PAD module and each IP core through the PINMUX unit.
Citation Information
Patent Citations
System with secure SOC connections among IP and multiple gpios, and corresponding method
CN108572938A
