One-time password data transmission device and soc

By using an OTP data transmission device to achieve serial transmission of OTP data, the problem of high wiring costs in existing OTP data transmission layouts is solved, and the wiring costs and integration difficulties of the SOC system are reduced.

CN114968907BActive Publication Date: 2026-07-03SHENZHEN JAGUAR MICROSYSTEMS CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SHENZHEN JAGUAR MICROSYSTEMS CO LTD
Filing Date
2022-04-26
Publication Date
2026-07-03

AI Technical Summary

Technical Problem

The layout and cabling costs of OTP data transmission in existing technologies are high, which increases the difficulty of interconnection between modules and system integration in SOC systems.

Method used

An OTP data transmission device is used. The first transmission module obtains the predetermined OTP data from the OTP data generation module, generates a pulse signal, and sends the OTP data to the OTP data processing module through the second transmission module, thereby realizing the serial transmission of OTP data, requiring only a two-wire transmission mode.

Benefits of technology

It reduces the layout and wiring costs and integration difficulty of OTP data transmission, reduces the number of interconnects between modules, and improves transmission efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114968907B_ABST
    Figure CN114968907B_ABST
Patent Text Reader

Abstract

The application provides an OTP data transmission device and an SOC. The transmission device comprises a first sub-device and at least two second sub-devices. The first sub-device comprises an OTP data generation module and a first transmission module. The second sub-device comprises a second transmission module and an OTP data processing module. The OTP data generation module is used for generating and storing predetermined OTP data. The first transmission module is used for obtaining the predetermined OTP data from the OTP data generation module, generating a pulse signal, and outputting the predetermined OTP data and the pulse signal. The second transmission module is used for receiving the pulse signal and the predetermined OTP data, and sending the predetermined OTP data to the OTP data processing module according to the pulse signal. The OTP data processing module is used for receiving the predetermined OTP data and processing the received predetermined OTP data. The application ensures that the transmission device has low wiring cost and low integration difficulty.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of memory, and more specifically, to an OTP data transmission device and a System-on-a-Chip (SOC). Background Technology

[0002] One-time programmable (OTP) modules are essential in most System-on-Chip (SoC) systems. They typically consist of an OTP memory, a read / write controller, and data registers, and are characterized by one-time programmability and non-volatility. OTP modules can store a great deal of information about the chip, such as chip identification and differentiation information, keys for secure boot, RAM repair information, and initialization information for other internal modules. The larger the chip, the greater the amount of data required from the OTP module. The usual practice for transferring data from the OTP module to other modules is to first read the predetermined OTP data into the data register after power-on, and then connect it to other modules in parallel. However, for SoC systems, the required data volume is very large, reaching the Kbit or 10Kbit level. This undoubtedly increases the cost of layout and routing, and increases the difficulty of interconnecting modules and system integration.

[0003] The information disclosed above in the background section is only intended to enhance the understanding of the background art of the art described herein. Therefore, the background art may contain certain information that does not constitute prior art known to those skilled in the art in this country. Summary of the Invention

[0004] The main objective of this application is to provide an OTP data transmission device and a SOC to solve the problem of high layout and wiring costs for predetermined OTP data transmission in the prior art.

[0005] According to one aspect of this application, an OTP data transmission apparatus is provided. The apparatus includes a first sub-device and at least two second sub-devices. The first sub-device includes an OTP data generation module and a first transmission module. The second sub-devices include a second transmission module and an OTP data processing module. The OTP data generation module generates and stores predetermined OTP data. The first transmission module has a data input terminal, a pulse signal output terminal, and a data signal output terminal. The data input terminal of the first transmission module is connected to the output terminal of the OTP data generation module, and the pulse signal output terminal of the first transmission module is connected to the pulse signal input terminal of the second transmission module. The data signal output terminal of the first transmission module is connected to the data input terminal of the second transmission module. The first transmission module is used to obtain the predetermined OTP data from the OTP data generation module, generate a pulse signal, and output the predetermined OTP data and the pulse signal. The data output terminal of the second transmission module is connected to the data input terminal of the OTP data processing module. The second transmission module is used to receive the pulse signal and the predetermined OTP data, and send the predetermined OTP data to the OTP data processing module according to the pulse signal. The OTP data processing module is used to receive the predetermined OTP data and process the received predetermined OTP data.

[0006] Optionally, the first transmission module includes a first counter, a first multiplexer, and a pulse generator. The first counter counts down from a bit width value and outputs a first count value, stopping counting when the first count value reaches 0. The bit width value is the bit width of the OTP data generation module. The input of the first multiplexer is the input of the first transmission module, and its output is the data signal output of the first transmission module. The first multiplexer is also connected to a first terminal of the first counter. The first multiplexer receives the first count value and reads and outputs the predetermined OTP data from the OTP data generation module based on the first count value. The input of the pulse generator is connected to a second terminal of the first counter, and its output is the pulse signal output of the first transmission module. The pulse generator generates and outputs the pulse signal based on the first count value output by the first counter.

[0007] Optionally, the second transmission module is a first shift register, the pulse generator has multiple pulse signal output terminals, the pulse signal input terminal of the first shift register is connected to the corresponding pulse signal output terminal of the pulse generator one by one, the data input terminal of the first shift register is connected to the output terminal of the first multiplexer, and the data output terminal of each of the first shift registers is connected to the data input terminal of the OTP data processing module.

[0008] Optionally, the second transmission module includes a second shift register, with the pulse signal input terminals of all the second shift registers connected in series, the data input terminals of all the second shift registers connected in series, the pulse signal data input terminal of the second shift register located at the beginning of the series connection connected to the output terminal of the pulse generator, the data input terminal of the second shift register located at the beginning of the series connection connected to the output terminal of the first multiplexer, and the data output terminals of the second shift registers connected one-to-one with the data input terminals of the OTP data processing module.

[0009] Optionally, the second transmission module is a decoding circuit module. The pulse signal input terminals of all the decoding circuit modules are connected in series, and the data input terminals of all the decoding circuit modules are connected in series. The pulse signal input terminal of the decoding circuit module at the beginning of the series connection is connected to the output terminal of the pulse generator, and the data input terminal of the decoding circuit module at the beginning of the series connection is connected to the output terminal of the first multiplexer. The data output terminals of the decoding circuit modules are connected one-to-one with the data input terminals of the OTP data processing module.

[0010] Optionally, the decoding circuit module includes a second counter, a second multiplexer, and a first data register. The input terminal of the second counter is connected to the output terminal of the pulse generator. The second counter counts the input pulse signal and outputs a second count value. The second multiplexer has a data input terminal, a data output terminal, and a signal input terminal. The signal input terminal of the second multiplexer is connected to the output terminal of the second counter, and the data input terminal of the second multiplexer is connected to the output terminal of the first multiplexer. The second multiplexer receives the second count value and the predetermined OTP data. If the second count value is the same as the predetermined OTP data, the predetermined OTP data is output. The input terminal of the first data register is connected to the data output terminal of the second multiplexer, and the output terminal of the first data register is connected to the OTP data processing module. The first data register receives and stores the predetermined OTP data output by the second multiplexer.

[0011] Optionally, the OTP data generation module includes a memory, a read / write controller, and a second data register connected in sequence. The memory is used to store the predetermined OTP data; the read / write controller is used to read the predetermined OTP data from the memory; the second data register is used to receive and store the predetermined OTP data sent by the read / write controller. The starting time of the decrement of the first counter is earlier than or equal to a predetermined time, and the update frequency of the first counter is less than or equal to the update frequency of the second data register. The predetermined time is the time when the read / write controller writes the predetermined OTP data into the second data register.

[0012] Optionally, the OTP data generation module further includes a clock generator connected to the second data register. The first counter is also connected to the clock generator. When the first count value is 0, the first counter is also used to send the first count value to the clock generator so that the clock generator controls the second data register to exit the working state.

[0013] Optionally, the first sub-device is located in the first region, and each of the second sub-devices is located in the second region.

[0014] According to another aspect of this application, a SOC is provided, the SOC including any of the OTP data transmission devices described above.

[0015] According to the technical solution of this application, the OTP data transmission device includes an OTP data generation module, a first transmission module, at least two second transmission modules, and at least two OTP data processing modules. The OTP data generation module generates and stores predetermined OTP data. The first transmission module obtains the predetermined OTP data from the OTP data generation module, generates a pulse signal, and outputs the predetermined OTP data and the pulse signal. The second transmission module receives the pulse signal and the predetermined OTP data, and sends the predetermined OTP data to the OTP data processing module according to the pulse signal. The OTP data processing module receives the predetermined OTP data and processes the received predetermined OTP data. Compared to existing technologies where multiple data lines connect the OTP data generation module to each OTP data processing module, resulting in high layout and wiring costs for predetermined OTP data transmission due to parallel transmission of predetermined OTP data, the OTP data transmission device of this application acquires predetermined OTP data from the OTP data generation module through the first transmission module, generates a pulse signal, and then receives the pulse signal and the predetermined OTP data through the second transmission module. Based on the pulse signal, the predetermined OTP data is sent to the corresponding OTP data processing module, enabling the OTP data processing module to process the received predetermined OTP data. This achieves serial transmission of the predetermined OTP data, ensuring that the transmission of the predetermined OTP data can be completed using only the pulse signal line and data signal line between the first and second transmission modules (i.e., a two-wire transmission mode). The number of interconnecting lines required between modules is reduced, ensuring lower wiring costs and integration difficulty for the OTP data transmission device. Attached Figure Description

[0016] The accompanying drawings, which form part of this application, are used to provide a further understanding of this application. The illustrative embodiments and descriptions of this application are used to explain this application and do not constitute an undue limitation of this application. In the drawings:

[0017] Figure 1 A schematic diagram of the OTP data generation module structure according to an embodiment of this application is shown;

[0018] Figure 2 A schematic diagram of the OTP data generation module structure according to another embodiment of this application is shown;

[0019] Figure 3 A schematic diagram of the structure of a decoding circuit module according to an embodiment of this application is shown.

[0020] The above figures include the following reference numerals:

[0021] 10. First transmission module; 20. Second transmission module; 30. OTP data generation module; 40. OTP data processing module; 101. Pre-defined OTP data; 102. Pulse signal; 103. First counter; 104. First multiplexer; 105. Pulse generator; 201. First shift register; 202. Second shift register; 203. Second counter; 204. Second multiplexer; 205. First data register; 301. Memory; 302. Read / write controller; 303. Second data register; 401. RAM repair module; 402. Initialization configuration module; 403. Security module. Detailed Implementation

[0022] It should be noted that the following detailed descriptions are illustrative and intended to provide further explanation of this application. Unless otherwise specified, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains.

[0023] It should be noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the exemplary embodiments according to this application. As used herein, the singular form is intended to include the plural form as well, unless the context clearly indicates otherwise. Furthermore, it should be understood that when the terms "comprising" and / or "including" are used in this specification, they indicate the presence of features, steps, operations, devices, components, and / or combinations thereof.

[0024] It should be understood that when an element (such as a layer, film, region, or substrate) is described as being "on" another element, the element may be directly on the other element, or there may be an intermediate element present. Furthermore, in the specification and claims, when an element is described as being "connected" to another element, the element may be "directly connected" to the other element, or "connected" to the other element via a third element.

[0025] As described in the background section, the existing technology has the problem of high layout and wiring costs for pre-defined OTP data transmission. In order to solve the above problem, this application proposes an OTP data transmission device and a SOC.

[0026] According to a typical embodiment of this application, an OTP data transmission device is provided, such as... Figure 1As shown, the transmission device includes a first sub-device and at least two second sub-devices. The first sub-device includes an OTP data generation module 30 and a first transmission module 10. The second sub-device includes a second transmission module 20 and an OTP data processing module 40. The OTP data generation module 30 generates and stores predetermined OTP data 101. The first transmission module 10 has a data input terminal, a pulse signal 102 output terminal, and a data signal output terminal. The data input terminal of the first transmission module 10 is connected to the output terminal of the OTP data generation module 30. The pulse signal 102 output terminal of the first transmission module 10 is connected to the pulse signal 102 input terminal of the second transmission module 20. The data signal output terminal of the first transmission module 10 is connected to the... The data input terminal of the second transmission module 20 is connected to the first transmission module 10, which is used to obtain the predetermined OTP data 101 from the OTP data generation module 30, generate a pulse signal 102, and output the predetermined OTP data 101 and the pulse signal 102. The data output terminal of the second transmission module 20 is connected to the data input terminal of the OTP data processing module 40, which is used to receive the pulse signal 102 and the predetermined OTP data 101, and send the predetermined OTP data 101 to the OTP data processing module 40 according to the pulse signal 102. The OTP data processing module 40 is used to receive the predetermined OTP data 101 and process the received predetermined OTP data 101.

[0027] The aforementioned OTP data transmission device includes an OTP data generation module, a first transmission module, at least two second transmission modules, and at least two OTP data processing modules. The OTP data generation module generates and stores predetermined OTP data. The first transmission module obtains the predetermined OTP data from the OTP data generation module, generates a pulse signal, and outputs the predetermined OTP data and the pulse signal. The second transmission modules receive the pulse signal and the predetermined OTP data, and send the predetermined OTP data to the OTP data processing modules according to the pulse signal. The OTP data processing modules receive the predetermined OTP data and process the received predetermined OTP data. Compared to existing technologies where multiple data lines connect the OTP data generation module and each OTP data processing module, resulting in high layout and wiring costs for predetermined OTP data transmission due to parallel transmission of predetermined OTP data, the OTP data transmission device of this application acquires predetermined OTP data from the OTP data generation module through the first transmission module, generates a pulse signal, and then receives the pulse signal and the predetermined OTP data through the second transmission module. Based on the pulse signal, the predetermined OTP data is sent to the corresponding OTP data processing module, enabling the OTP data processing module to process the received predetermined OTP data. This achieves serial transmission of the predetermined OTP data, ensuring that the transmission of the predetermined OTP data can be completed using only the pulse signal line and data signal line between the first and second transmission modules (i.e., a two-wire transmission mode). The number of interconnecting lines required between modules is reduced, ensuring lower wiring costs and integration difficulty for the OTP data transmission device.

[0028] According to a specific embodiment of this application, such as Figure 1 as well as Figure 2As shown, the first transmission module 10 includes a first counter 103, a first multiplexer 104, and a pulse generator 105. The first counter 103 counts down from a bit width value and outputs a first count value, stopping counting when the first count value reaches 0. The bit width value is the bit width of the OTP data generation module 30. The input terminal of the first multiplexer 104 is the input terminal of the first transmission module 10, and the output terminal of the first multiplexer 104 is the data signal output terminal of the first transmission module 10. The selector 104 is also connected to the first terminal of the first counter 103. The first multiplexer 104 receives the first count value, reads and outputs the predetermined OTP data from the OTP data generation module 30 based on the first count value. The input terminal of the pulse generator 105 is connected to the second terminal of the first counter 103, and the output terminal of the pulse generator 105 is the pulse signal output terminal of the first transmission module 10. The pulse generator 105 generates and outputs the pulse signal based on the first count value output by the first counter 103. By counting down from the bit width value of the OTP data generation module and issuing the first count value, receiving the first count value through the first multiplexer, reading and outputting the predetermined OTP data from the OTP data generation module based on the first count value, and generating and issuing the pulse signal based on the first count value through the pulse generator, the high layout and wiring cost of predetermined OTP data transmission in the prior art is further alleviated.

[0029] To further ensure low wiring costs and low integration difficulty for the aforementioned transmission device, according to another specific embodiment of this application, such as... Figure 1 As shown, the second transmission module 20 is the first shift register 201, and the pulse generator 105 has multiple pulse signal output terminals, such as... Figure 1 As shown, the pulse generator 105 has N pulse signal output terminals, each outputting a corresponding pulse signal 102. The pulse signal input terminal of the first shift register 201 is connected to the corresponding pulse signal output terminal of the pulse generator 105. The data input terminal of the first shift register 201 is connected to the output terminal of the first multiplexer 104. Each data output terminal of the first shift register 201 is connected to the data input terminal of the OTP data processing module 40. Through the first shift register, the serial transmission of the predetermined OTP data is further realized, further ensuring that the transmission of the predetermined OTP data can be completed using only the pulse signal line and data signal line between the first transmission module and the second transmission module, i.e., a two-wire transmission mode.

[0030] Of course, the connection method of the OTP data transmission device in this application is not limited to the above-described method. In order to further alleviate the problem of high layout and wiring costs for predetermined OTP data transmission in the prior art, and to further achieve more flexible layout and wiring, according to another specific embodiment of this application, such as... Figure 2 As shown, the second transmission module includes a second shift register 202. The pulse signal input terminals of all the second shift registers 202 are connected in series, and the data input terminals of all the second shift registers 202 are also connected in series. The pulse signal data input terminal of the second shift register 202 located at the beginning of the series connection is connected to the output terminal of the pulse generator 105. The data input terminal of the second shift register 202 located at the beginning of the series connection is connected to the output terminal of the first multiplexer 104. The data output terminals of the second shift registers 202 are connected one-to-one with the data input terminals of the OTP data processing module 40. By sequentially connecting the pulse signal input terminals of the second shift registers in series, and then connecting the pulse signal data input terminal of the second shift register at the beginning of the series connection to the pulse signal output terminal, the transmission of the predetermined OTP data and the pulse signal is completed through the second shift registers, further ensuring lower wiring costs and lower integration difficulty of the transmission device.

[0031] In one specific embodiment, the data input terminal of one of the second shift registers is connected to the data output terminal of the adjacent second shift register, and the clock input terminals of each of the second shift registers are connected sequentially.

[0032] Specifically, the predetermined OTP data is serially transmitted to the corresponding second shift register in sequence under the tick of the first counter. After the serial transmission, the predetermined OTP data will be latched in the corresponding second shift register. The predetermined OTP data transmission only requires outputting one pulse line and one predetermined OTP data line. All modules are connected in a daisy chain. Since the actual physical location of each second shift register in the actual layout may be distributed in various parts of the chip, all the second shift registers can be connected in series according to the order of their actual physical locations. This makes integration and layout routing more convenient in practical applications, ensuring that the traces of the transmission device are shorter and that no extra pass-through is required in the middle. The series connection order of the second shift registers needs to be arranged continuously according to the series connection order of the second shift registers using the predetermined OTP data.

[0033] Specifically, the transmission of the predetermined OTP data can be completed not only through the first shift register or the second shift register, but also, according to a specific embodiment of this application, the second transmission module is a decoding circuit module. The pulse signal input terminals of all the decoding circuit modules are connected in series, and the data input terminals of all the decoding circuit modules are connected in series. The pulse signal input terminal of the decoding circuit module located at the beginning of the series connection is connected to the output terminal of the pulse generator, and the data input terminal of the decoding circuit module located at the beginning of the series connection is connected to the output terminal of the first multiplexer. The data output terminal of the decoding circuit module is connected one-to-one with the data input terminal of the OTP data processing module.

[0034] In another specific embodiment of this application, such as Figure 2 as well as Figure 3 As shown, the decoding circuit module includes a second counter 203, a second multiplexer 204, and a first data register 205. The input terminal of the second counter 203 is connected to the output terminal of the pulse generator 105. The second counter 203 is used to count the input pulse signal and output a second count value. The second multiplexer 204 has a data input terminal, a data output terminal, and a signal input terminal. The signal input terminal of the second multiplexer 204 is connected to the output terminal of the second counter 203, and the data input terminal of the second multiplexer 204 is connected to the output terminal of the first data register 205. The output terminal of the first multiplexer 104 is connected to the second multiplexer 204, which is used to receive the second count value and the predetermined OTP data. When the second count value is the same as the predetermined OTP data, the predetermined OTP data is output. The input terminal of the first data register 205 is connected to the data output terminal of the second multiplexer 204, and the output terminal of the first data register 205 is connected to the OTP data processing module 40. The first data register 205 is used to receive and store the predetermined OTP data output by the second multiplexer 204. The second counter records the number of input pulse signals and outputs the second count value. The second multiplexer receives the second count value, and if the second count value is the same as the received predetermined OTP data, the predetermined OTP data is output. The first data register receives and saves the predetermined OTP data output by the second multiplexer, so as to facilitate sending the predetermined OTP data to the corresponding OTP data processing module. This further ensures that the layout and wiring of the OTP transmission device are highly flexible, and at the same time, it further ensures that the wiring cost and integration difficulty of the transmission device are low.

[0035] In one specific embodiment, the second transmission module can be individually configured with the sequence corresponding to the predetermined OTP data. However, the transmission device needs to integrate a module including the second counter, the second multiplexer, and the first data register in each of the second transmission modules. Compared with the first shift register and the second shift register, the design and verification complexity is higher.

[0036] Specifically, the input line of the second counter is a pulse line used to record the number of input pulses. Assuming the value of the second counter is i, it can indicate that the current data on the data line is the i-th bit of OTP data. The second multiplexer stores the data of the data line in the corresponding first data register when the value of the second counter i matches the sequence {a,b,…} of the required data (i=a) according to the preset sequence of required data. When the serialization is completed, all predetermined OTP data is decoded and stored in the corresponding first data register. The first data register is directly connected to the OTP data processing module, such as the RAM repair module, the initialization configuration module, and the security module.

[0037] According to another specific embodiment of this application, such as Figure 1 as well as Figure 2 As shown, the OTP data generation module 30 includes a memory 301, a read / write controller 302, and a second data register 303 connected in sequence. The memory 301 stores the predetermined OTP data; the read / write controller 302 reads the predetermined OTP data from the memory 301; and the second data register 303 receives and stores the predetermined OTP data sent by the read / write controller 302. The starting time of the decrement of the first counter 103 is earlier than or equal to a predetermined time, and the update frequency of the first counter 103 is less than or equal to the update frequency of the second data register 303. The predetermined time is the time when the read / write controller 302 writes the predetermined OTP data into the second data register 303. The fact that the starting time of the decrement of the first counter is earlier than or equal to the predetermined time, and the update frequency of the first counter is less than or equal to the update frequency of the second data register, further ensures that the power consumption of the transmission device is low.

[0038] Specifically, the read / write controller first reads the predetermined OTP data and stores it in the second data register. To ensure high data security, the second data register can be a read-only register. The first counter decrements from the data bit width value and stops counting when it reaches 0. A pulse signal is generated on the pulse line of the corresponding first or second shift register based on the bit segment where the first counter is located. This pulse line serves as the clock line for the corresponding first or second shift register. Simultaneously, the first multiplexer selects the corresponding data in the second data register and outputs it to the data line based on the value of the first counter. As the first counter decrements, the data in the second data register is serially transmitted to the corresponding module's first or second shift register. When the counter reaches 0, the values ​​of all the data registers have been transmitted, and the clock lines of the shift registers of each module no longer pulse, thus ceasing to flip and significantly reducing the power consumption of these shift registers.

[0039] According to a specific embodiment of this application, the OTP data generation module further includes a clock generator connected to the second data register. The first counter is also connected to the clock generator. When the first count value is 0, the first counter sends the first count value to the clock generator, causing the clock generator to control the second data register to exit its working state. By sending the first count value to the clock generator through the first counter, the clock generator controls the first data register to exit its working state, ensuring low power consumption of the second data register and further ensuring low power consumption of the transmission device.

[0040] Specifically, the aforementioned transmission device will not experience cross-clock domain metastability issues.

[0041] According to another specific embodiment of this application, such as Figure 1 as well as Figure 2 As shown, the OTP data generation module 30 includes a memory 301, a read / write controller 302, and a second data register 303 connected in sequence. The start time of the decrement of the first counter can be later than a predetermined time. The predetermined time is the time when the read / write controller 302 writes the predetermined OTP data into the second data register 303.

[0042] Specifically, such as Figure 1 as well as Figure 2As shown, the aforementioned OTP data processing module 40 includes a RAM (Random Access Memory) repair module 401, an initialization configuration module 402, and a security module 403. The corresponding predetermined OTP data is connected to the aforementioned OTP data processing module via a direct connection.

[0043] In order to achieve more flexible layout and wiring while ensuring a high degree of integration of the OTP data transmission device, according to another specific embodiment of this application, the first sub-device is located in the first region, and each of the second sub-devices is located in the second region.

[0044] According to another typical embodiment of this application, a SOC is also provided, wherein the SOC system includes any of the above-described OTP data transmission devices.

[0045] The aforementioned SOC includes any of the aforementioned OTP data transmission devices. Compared to the prior art where the OTP data generation module and each OTP data processing module are connected by multiple data lines, i.e., the predetermined OTP data is transmitted in parallel, resulting in high layout and wiring costs for predetermined OTP data transmission, the OTP data transmission device in the aforementioned SOC of this application obtains the predetermined OTP data from the aforementioned OTP data generation module through the aforementioned first transmission module, generates a pulse signal, and then receives the pulse signal and the predetermined OTP data through the aforementioned second transmission module. Based on the pulse signal, the predetermined OTP data is sent to the corresponding aforementioned OTP data processing module, so that the aforementioned OTP data processing module processes the received predetermined OTP data, realizing the serial transmission of the predetermined OTP data. This ensures that the transmission of the predetermined OTP data can be completed through only the pulse signal line and data signal line between the aforementioned first transmission module and the second transmission module, i.e., a two-wire transmission mode. The number of interconnecting lines required between the modules is small, ensuring that the wiring cost of the aforementioned SOC is low and the integration difficulty is low.

[0046] According to another specific embodiment of this application, the aforementioned OTP data generation module includes a memory, a read / write controller, and a second data register connected in sequence, wherein the second data register is a read-only register. The read-only register ensures a high level of security for the second data register.

[0047] As can be seen from the above description, the embodiments of this application achieve the following technical effects:

[0048] 1) The OTP data transmission device described above in this application includes an OTP data generation module, a first transmission module, at least two second transmission modules, and at least two OTP data processing modules. The OTP data generation module generates and stores predetermined OTP data. The first transmission module obtains the predetermined OTP data from the OTP data generation module, generates a pulse signal, and outputs the predetermined OTP data and the pulse signal. The second transmission modules receive the pulse signal and the predetermined OTP data, and send the predetermined OTP data to the OTP data processing modules according to the pulse signal. The OTP data processing modules receive the predetermined OTP data and process the received predetermined OTP data. Compared to existing technologies where multiple data lines connect the OTP data generation module and each OTP data processing module, resulting in high layout and wiring costs for predetermined OTP data transmission due to parallel transmission of predetermined OTP data, the OTP data transmission device of this application acquires predetermined OTP data from the OTP data generation module through the first transmission module, generates a pulse signal, and then receives the pulse signal and the predetermined OTP data through the second transmission module. Based on the pulse signal, the predetermined OTP data is sent to the corresponding OTP data processing module, enabling the OTP data processing module to process the received predetermined OTP data. This achieves serial transmission of the predetermined OTP data, ensuring that the transmission of the predetermined OTP data can be completed using only the pulse signal line and data signal line between the first and second transmission modules (i.e., a two-wire transmission mode). The number of interconnecting lines required between modules is reduced, ensuring lower wiring costs and integration difficulty for the OTP data transmission device.

[0049] 2) The SOC described in this application includes any of the aforementioned OTP data transmission devices. Compared to the prior art where the OTP data generation module and each OTP data processing module are connected by multiple data lines, i.e., the predetermined OTP data is transmitted in parallel, resulting in high layout and wiring costs for predetermined OTP data transmission, the OTP data transmission device in the SOC of this application obtains the predetermined OTP data from the OTP data generation module through the first transmission module, generates a pulse signal, and then receives the pulse signal and the predetermined OTP data through the second transmission module. Based on the pulse signal, the predetermined OTP data is sent to the corresponding OTP data processing module, enabling the OTP data processing module to process the received predetermined OTP data. This achieves serial transmission of the predetermined OTP data, ensuring that the transmission of the predetermined OTP data can be completed using only the pulse signal line and data signal line between the first and second transmission modules, i.e., a two-wire transmission mode. The number of interconnecting lines required between modules is small, ensuring lower wiring costs and integration difficulty for the SOC.

[0050] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. An OTP data transmission device, characterized in that, The transmission device includes a first sub-device and at least two second sub-devices. The first sub-device includes an OTP data generation module and a first transmission module. The second sub-devices include a second transmission module and an OTP data processing module. The OTP data generation module is used to generate and store predetermined OTP data; The first transmission module has a data input terminal, a pulse signal output terminal, and a data signal output terminal. The data input terminal of the first transmission module is connected to the output terminal of the OTP data generation module, the pulse signal output terminal of the first transmission module is connected to the pulse signal input terminal of the second transmission module, and the data signal output terminal of the first transmission module is connected to the data input terminal of the second transmission module. The first transmission module is used to obtain the predetermined OTP data from the OTP data generation module, generate a pulse signal, and output the predetermined OTP data and the pulse signal. The data output terminal of the second transmission module is connected to the data input terminal of the OTP data processing module. The second transmission module is used to receive the pulse signal and the predetermined OTP data, and send the predetermined OTP data to the OTP data processing module according to the pulse signal. The OTP data processing module is used to receive the predetermined OTP data and process the received predetermined OTP data. The first transmission module includes: a first counter, which is used to count down from a bit width value and output a first count value, and stop counting when the first count value decreases to 0, wherein the bit width value is the bit width of the OTP data generation module; a first multiplexer, the input terminal of the first multiplexer is the input terminal of the first transmission module, the output terminal of the first multiplexer is the data signal output terminal of the first transmission module, the first multiplexer is also connected to a first terminal of the first counter, the first multiplexer is used to receive the first count value, and read and output the predetermined OTP data from the OTP data generation module according to the first count value; and a pulse generator, the input terminal of the pulse generator is connected to a second terminal of the first counter, the output terminal of the pulse generator is the pulse signal output terminal of the first transmission module, the pulse generator is used to generate and output the pulse signal according to the first count value output by the first counter.

2. The transmission device according to claim 1, characterized in that, The second transmission module is a first shift register. The pulse generator has multiple pulse signal output terminals. The pulse signal input terminal of the first shift register is connected to the corresponding pulse signal output terminal of the pulse generator. The data input terminal of the first shift register is connected to the output terminal of the first multiplexer. The data output terminal of each first shift register is connected to the data input terminal of the OTP data processing module.

3. The transmission device according to claim 1, characterized in that, The second transmission module includes a second shift register. The pulse signal input terminals of the second shift register are connected in series, and the data input terminals of the second shift register are also connected in series. The pulse signal data input terminal of the second shift register located at the beginning of the series connection is connected to the output terminal of the pulse generator. The data input terminal of the second shift register located at the beginning of the series connection is connected to the output terminal of the first multiplexer. The data output terminals of the second shift register are connected one-to-one with the data input terminals of the OTP data processing module.

4. The transmission device according to claim 1, characterized in that, The second transmission module is a decoding circuit module. The pulse signal input terminals of the decoding circuit module are connected in series, and the data input terminals of the decoding circuit module are connected in series. The pulse signal input terminal of the decoding circuit module located at the beginning of the series connection is connected to the output terminal of the pulse generator. The data input terminal of the decoding circuit module located at the beginning of the series connection is connected to the output terminal of the first multiplexer. The data output terminal of the decoding circuit module is connected one-to-one with the data input terminal of the OTP data processing module.

5. The transmission device according to claim 4, characterized in that, The decoding circuit module includes: The second counter has its input terminal connected to the output terminal of the pulse generator. The second counter is used to count the input pulse signal and output a second count value. The second multiplexer has a data input terminal, a data output terminal, and a signal input terminal. The signal input terminal of the second multiplexer is connected to the output terminal of the second counter, and the data input terminal of the second multiplexer is connected to the output terminal of the first multiplexer. The second multiplexer is used to receive the second count value and the predetermined OTP data, and outputs the predetermined OTP data when the second count value is the same as the predetermined OTP data. A first data register, the input of which is connected to the data output of the second multiplexer, and the output of which is connected to the OTP data processing module, is used to receive and store the predetermined OTP data output by the second multiplexer.

6. The transmission device according to any one of claims 1 to 5, characterized in that, The OTP data generation module includes a memory, a read / write controller, and a second data register connected in sequence. The memory is used to store the predetermined OTP data; The read / write controller is used to read the predetermined OTP data from the memory; The second data register is used to receive and store the predetermined OTP data sent by the read / write controller. Wherein, the starting time of the decrement of the first counter is earlier than or equal to a predetermined time, and the update frequency of the first counter is less than or equal to the update frequency of the second data register, wherein the predetermined time is the time when the read-write controller writes the predetermined OTP data into the second data register.

7. The transmission device according to claim 6, characterized in that, The OTP data generation module further includes a clock generator connected to the second data register. The first counter is also connected to the clock generator. When the first count value is 0, the first counter is also used to send the first count value to the clock generator so that the clock generator controls the second data register to exit the working state.

8. The transmission device according to claim 1, characterized in that, The first sub-device is located in the first region, and each of the second sub-devices is located in the second region.

9. A SOC, characterized in that, The OTP data transmission apparatus includes any one of claims 1 to 8.