CN107491703A - The merging method of random hamiltonian circuit topological structure in chip top-layer overcoat - Google Patents
The merging method of random hamiltonian circuit topological structure in chip top-layer overcoat Download PDFInfo
- Publication number
- CN107491703A CN107491703A CN201710636670.6A CN201710636670A CN107491703A CN 107491703 A CN107491703 A CN 107491703A CN 201710636670 A CN201710636670 A CN 201710636670A CN 107491703 A CN107491703 A CN 107491703A
- Authority
- CN
- China
- Prior art keywords
- loop
- merging
- generated
- random hamiltonian
- random
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/70—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
- G06F21/71—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Theoretical Computer Science (AREA)
- Mathematical Physics (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Semiconductor Integrated Circuits (AREA)
Abstract
Description
技术领域technical field
本发明涉及芯片顶层金属防护层生成技术,具体讲,涉及芯片顶层防护层中随机哈密顿回路拓扑结构的合并方法。The invention relates to a technology for generating a metal protective layer on the top layer of a chip, in particular to a method for merging topological structures of a random Hamiltonian circuit in the protective layer on the top layer of a chip.
背景技术Background technique
目前,以聚焦离子束攻击(Focused Ion beam,FIB)和微探针攻击为代表的物理侵入式攻击,严重威胁着集成电路芯片的信息安全。现有应对FIB和微探针攻击的主流抗攻击手段,仍是采用顶层金属防护层作为攻击感知结构。顶层金属防护层图形拓扑结构种类繁多,而基于随机哈密顿回路的防护层,因其图形拓扑结构复杂,难于识别,成为了主流的防护层图形结构。At present, physical intrusion attacks represented by Focused Ion beam (FIB) and micro-probe attacks seriously threaten the information security of integrated circuit chips. The existing mainstream anti-attack means to deal with FIB and micro-probe attacks still use the top metal protection layer as the attack-aware structure. There are many kinds of graph topological structures of the top metal protective layer, and the protective layer based on random Hamiltonian circuit has become the mainstream protective layer graph structure because of its complex graph topology and difficult to identify.
2012年,法国Secure-IC公司的Sebastien Briais在文献《3D hardwarecanaries》中提出适用于防护层的随机哈密顿回路基础生成算法——循环合并算法(CycleMerging,CM)。后续对于随机哈密顿回路生成算法的研究,都是基于该算法进行的优化。In 2012, Sebastien Briais of the French Secure-IC company proposed a random Hamiltonian circuit foundation generation algorithm suitable for the protective layer in the document "3D hardware canaries" - Cycle Merging algorithm (CycleMerging, CM). Subsequent research on the random Hamiltonian circuit generation algorithm is based on the optimization of this algorithm.
参考文献references
1.Briais S,Caron S,Cioranesco J M,et al.3D hardware canaries[M].Cryptographic Hardware and Embedded Systems–CHES 2012.Springer BerlinHeidelberg,2012:1-22。1. Briais S, Caron S, Cioranesco J M, et al. 3D hardware canaries[M]. Cryptographic Hardware and Embedded Systems–CHES 2012. Springer Berlin Heidelberg, 2012: 1-22.
发明内容Contents of the invention
为克服现有技术的不足,本发明旨在提出一种适用于随机哈密顿回路的合并算法,使得两个或多个已经生成的随机哈密顿回路可以合并为一个大的回路,从而使得大面积随机哈密顿回路的生成更加简单。为此,本发明采用的技术方案是,芯片顶层防护层中随机哈密顿回路拓扑结构的合并方法,步骤如下:In order to overcome the deficiencies in the prior art, the present invention aims to propose a merging algorithm suitable for random Hamiltonian circuits, so that two or more generated random Hamiltonian circuits can be merged into one large circuit, thus making large-area The generation of random Hamiltonian circuits is simpler. For this reason, the technical scheme that the present invention adopts is, the merging method of random Hamiltonian circuit topological structure in the top protection layer of the chip, the steps are as follows:
1)确定合并类型,若进行宽度方向即横向合并,则基于循环合并算法,生成两个具有相同高度H的随机哈密顿回路a和回路b;或者在已生成的随机哈密顿回路中选择具有相同高度H的两个回路a和b;若进行高度方向即纵向的合并,则需生成或选择两个具有相同宽度W的回路a和b;1) Determine the type of merging. If the width direction is horizontal merging, then based on the cyclic merging algorithm, generate two random Hamiltonian circuits a and b with the same height H; or select a random Hamiltonian circuit with the same Two loops a and b of height H; if the height direction is to be merged vertically, two loops a and b with the same width W need to be generated or selected;
2)若进行宽度方向合并,则将回路b放置在回路a右侧,并在a与b间的空隙最下方生成矩形单元回路阵列;若进行高度方向合并,则将回路b放置在回路a上方,并在a与b间的空隙最左方生成矩形单元回路阵列;2) If merging in the width direction, place loop b on the right side of loop a, and generate a rectangular unit loop array at the bottom of the gap between a and b; if merging in the height direction, place loop b above loop a , and generate a rectangular cell loop array at the far left of the gap between a and b;
3)将矩形单元回路阵列、回路a和回路b作为待生成随机哈密顿回路的单元矩阵,利用循环合并算法,获得单元矩阵的一条随机哈密顿回路c,即将a和b进行了小面积的连接,获得了回路c;3) Use the rectangular element loop array, loop a, and loop b as the element matrix of the random Hamiltonian loop to be generated, and use the loop merging algorithm to obtain a random Hamiltonian loop c of the element matrix, that is, connect a and b in a small area , get the circuit c;
4)若宽度方向合并,则在已生成的连接部分上方,生成一行回路扩展所需的方块单元回路;若高度方向合并,则在已生成的连接部分右方,生成一列回路扩展所需的方块单元回路;4) If the width direction is merged, a row of block unit circuits required for circuit expansion will be generated above the generated connection part; if the height direction is merged, a row of block unit circuits required for circuit expansion will be generated on the right of the generated connection part unit circuit;
5)将回路c连同扩展方块单元回路,作为待生成随机哈密顿回路的单元矩阵,采用循环合并算法,找到该单元矩阵的随机哈密顿回路,新生成的回路将作为新的回路c;5) Use the loop c together with the extended block unit loop as the unit matrix of the random Hamiltonian loop to be generated, and use the loop merging algorithm to find the random Hamiltonian loop of the unit matrix, and the newly generated loop will be used as the new loop c;
6)重复步骤4与步骤5,直到a与b间的合并空隙完全被填满;6) Repeat step 4 and step 5 until the combined gap between a and b is completely filled;
7)求解结束。7) Solving ends.
矩形单元回路阵列以4x4个边长为1的方形阵列构成,具体数目可根据情况调整。The rectangular cell loop array is composed of 4x4 square arrays whose side length is 1, and the specific number can be adjusted according to the situation.
本发明的特点及有益效果是:Features and beneficial effects of the present invention are:
利用该方法可以在短时间内利用已生成的较小的随机哈密顿回路,合并生成较大面积的随机哈密顿回路,降低了大面积防护层生成的时间成本。By using this method, the generated smaller random Hamiltonian circuits can be used in a short time to combine and generate larger-area random Hamiltonian circuits, which reduces the time cost of generating a large-area protective layer.
附图说明:Description of drawings:
图1循环合并算法流程示意图。Fig. 1 Schematic flow chart of loop merging algorithm.
图2基于循环合并算法生成的较小随机哈密顿回路示意图。Fig. 2 Schematic diagram of a smaller random Hamiltonian circuit generated based on the cycle merging algorithm.
(a)待合并回路a (b)待合并回路b(a) Circuit a to be merged (b) Circuit b to be merged
图3生成矩形单元回路示意图。Figure 3 is a schematic diagram of generating a rectangular unit circuit.
图4利用循环合并算法进行小面积连接所得回路c示意图。Fig. 4 is a schematic diagram of the loop c obtained by using the loop merging algorithm to connect small areas.
图5生成扩展单元回路示意图。Figure 5 is a schematic diagram of generating an expansion unit circuit.
图6新生成的回路c示意图。Fig. 6 Schematic diagram of newly generated circuit c.
图7完整合并后的随机哈密顿回路示意图。Figure 7. Schematic diagram of a random Hamiltonian circuit after complete merging.
具体实施方式detailed description
本发明适用于芯片顶层金属防护层生成,涉及基于高复杂随机哈密顿回路拓扑结构的防护层生成时,多个随机哈密顿回路的合并方法。The invention is applicable to the generation of a metal protective layer on the top layer of a chip, and relates to a method for merging multiple random Hamiltonian circuits when generating a protective layer based on a highly complex random Hamiltonian circuit topological structure.
本发明提出一种用于已生成的随机哈密顿回路的合并方法,该方法利用循环合并算法先将两个随机哈密顿回路在边界处进行小面积的连接,再依次扩展连接至整个图形,该方法能在较短的时间内利用已有回路生成更大面积的回路,同时保持了随机哈密顿回路的复杂性。The present invention proposes a merging method for the generated random Hamiltonian loops. The method utilizes a loop merging algorithm to connect two random Hamiltonian loops in a small area at the boundary, and then expands and connects to the entire graph in sequence. The method can use the existing loops to generate larger area loops in a shorter time, while maintaining the complexity of random Hamiltonian loops.
循环合并算法在文献《3D hardware canaries》中被提出,不是本发明的重点,此处仅做简要说明。The loop merging algorithm was proposed in the document "3D hardware canaries", which is not the focus of the present invention, and only a brief description is given here.
如图1所示,为循环合并算法流程示意图。图1(1)中,为4x4点阵,生成的随机哈密顿回路将遍历所有格点,并且每个格点只经过一次。该算法先以四个格点为一个最小单位,生成一定数目的正方形矩阵,作为单元回路,如图1(2)所示。然后随机选择两个单元回路,如图1(3)、(7)所示。由于随机选择,选择方式多样,(3)、(7)只代表其中两种方式。判断随机选出的两个单元回路是否具有相邻边,若存在相邻边,则将相邻边去除,合并为一条单元回路,如(3)中回路1和回路2,回路1的右侧边和回路2的左侧边相邻,则去除这两个边,将虚线部分连接,形成一个大的单元回路1,如(4)中的回路1所示;若不存在相邻边,则重新随机选择两个单元回路。重复选择和合并步骤,直到整个4x4点阵中只存在1条回路,如图1(6)、(10)所示。As shown in FIG. 1 , it is a schematic flow chart of the loop merging algorithm. In Figure 1(1), it is a 4x4 lattice, and the generated random Hamiltonian circuit will traverse all lattice points, and each lattice point will only pass once. The algorithm first takes four grid points as a minimum unit to generate a certain number of square matrices as unit circuits, as shown in Figure 1(2). Then randomly select two unit loops, as shown in Figure 1(3),(7). Due to random selection, there are various selection methods, and (3) and (7) only represent two of them. Determine whether two randomly selected unit loops have adjacent sides, and if there are adjacent sides, remove the adjacent sides and merge them into one unit loop, such as loop 1 and loop 2 in (3), the right side of loop 1 If the side is adjacent to the left side of loop 2, remove these two sides and connect the dotted line to form a large unit loop 1, as shown in loop 1 in (4); if there is no adjacent side, then Reselect two unit loops at random. Repeat the selection and merging steps until there is only one loop in the entire 4x4 lattice, as shown in Figure 1 (6), (10).
循环合并算法的执行效率与单元回路数目成反比,当单元回路数目增加时,生成时间将会大大增加。The execution efficiency of loop merging algorithm is inversely proportional to the number of unit loops. When the number of unit loops increases, the generation time will increase greatly.
本发明提出的随机哈密顿回路合并方法,需要先基于循环合并算法将已有的两个随机哈密顿回路进行小面积的连接,然后在连接处动态扩展单元回路,直至填补所有连接空隙,最终将两个随机哈密顿回路合并为一个。其算法框架如下所示,算法生成过程示意图如图2至图7所示。The random Hamiltonian loop merging method proposed by the present invention needs to connect the existing two random Hamiltonian loops in a small area based on the cyclic merging algorithm, and then dynamically expand the unit loop at the connection until all the connection gaps are filled, and finally the Two random Hamiltonian circuits merged into one. The algorithm framework is shown below, and the schematic diagrams of the algorithm generation process are shown in Figure 2 to Figure 7.
随机哈密顿回路合并算法:Random Hamiltonian loop merging algorithm:
8)确定合并类型,若进行宽度方向(横向)合并,则基于循环合并算法,生成两个具有相同高度H的随机哈密顿回路a和回路b;或者在已生成的随机哈密顿回路中选择具有相同高度H的两个回路a和b;回路a如图2中(a)所示,回路b如图2中(b)所示。若进行高度方向(纵向)的合并,则需生成或选择两个具有相同宽度W的回路a和b。8) Determine the merging type. If the width direction (horizontal) merging is performed, then based on the cyclic merging algorithm, generate two random Hamiltonian circuits a and b with the same height H; or select a random Hamiltonian circuit with Two loops a and b of the same height H; loop a is shown in (a) in Figure 2, and loop b is shown in (b) in Figure 2. If merging in the height direction (vertical direction), two loops a and b with the same width W need to be generated or selected.
9)若进行宽度方向合并,则将回路b放置在回路a右侧,并在a与b间的空隙最下方生成矩形单元回路阵列,如图3所示(为便于描述,本实施例中仅以宽度方向合并为例);若进行高度方向合并,则将回路b放置在回路a上方,并在a与b间的空隙最左方生成矩形单元回路阵列。矩形单元回路阵列一般以4x4个边长为1的方形阵列构成,具体数目可根据情况调整。9) If merging in the width direction is performed, place loop b on the right side of loop a, and generate a rectangular unit loop array at the bottom of the gap between a and b, as shown in Figure 3 (for ease of description, only Take width direction merging as an example); if height direction merging is performed, loop b is placed above loop a, and a rectangular unit loop array is generated at the far left of the gap between a and b. The rectangular cell loop array is generally composed of 4x4 square arrays with a side length of 1, and the specific number can be adjusted according to the situation.
10)将矩形单元回路阵列、回路a和回路b作为待生成随机哈密顿回路的单元矩阵,利用循环合并算法,获得单元矩阵的一条随机哈密顿回路c,即将a和b进行了小面积的连接,获得了回路c,如图4所示。10) Use the rectangular unit loop array, loop a and loop b as the unit matrix of the random Hamiltonian loop to be generated, and use the cycle merging algorithm to obtain a random Hamiltonian loop c of the unit matrix, that is, connect a and b in a small area , the circuit c is obtained, as shown in Figure 4.
11)若宽度方向合并,则在已生成的连接部分上方,生成一行回路扩展所需的方块单元回路,如图5所示;若高度方向合并,则在已生成的连接部分右方,生成一列回路扩展所需的方块单元回路。11) If the width direction is merged, a row of square unit circuits required for circuit expansion will be generated above the generated connection part, as shown in Figure 5; if the height direction is merged, a column will be generated on the right of the generated connection part The block unit circuit required for circuit expansion.
12)将回路c连同扩展方块单元回路,作为待生成随机哈密顿回路的单元矩阵,采用循环合并算法,找到该单元矩阵的随机哈密顿回路,新生成的回路将作为新的回路c,如图6所示。12) Use the circuit c together with the extended block unit circuit as the unit matrix of the random Hamiltonian circuit to be generated, and use the cycle merging algorithm to find the random Hamiltonian circuit of the unit matrix, and the newly generated circuit will be used as the new circuit c, as shown in the figure 6.
13)重复步骤4与步骤5,直到a与b间的合并空隙完全被填满,如图7所示。13) Repeat step 4 and step 5 until the merging gap between a and b is completely filled, as shown in FIG. 7 .
14)求解结束。14) The solution ends.
本发明提出的随机哈密顿回路合并方法,采用循环合并算法先将两个回路进行小面积连接,保持了连接处的复杂性。然后在连接处每次扩展一行或一列方块单元回路,使得每次需要合并的单元回路数目较少,从而保证了循环合并算法的效率。The method for merging random Hamiltonian loops proposed by the invention adopts a cyclic merging algorithm to firstly connect two loops in a small area, thereby maintaining the complexity of the connection. Then, one row or one column of block unit loops is expanded at the connection, so that the number of unit loops to be merged each time is small, thus ensuring the efficiency of the loop merging algorithm.
根据随机哈密顿回路合并算法框架实施。本发明的保护范围并不以上述实施方式为限,本领域普通技术人员根据本发明所揭示内容所作的等效修饰或变化,皆应纳入保护范围。Implemented according to the framework of the random Hamiltonian cycle merging algorithm. The scope of protection of the present invention is not limited to the above-mentioned embodiments, and equivalent modifications or changes made by those skilled in the art based on the content disclosed in the present invention should be included in the scope of protection.
Claims (2)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710636670.6A CN107491703B (en) | 2017-07-31 | 2017-07-31 | Incorporation of random Hamiltonian loop topologies in chip top shields |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710636670.6A CN107491703B (en) | 2017-07-31 | 2017-07-31 | Incorporation of random Hamiltonian loop topologies in chip top shields |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN107491703A true CN107491703A (en) | 2017-12-19 |
| CN107491703B CN107491703B (en) | 2020-05-19 |
Family
ID=60644983
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710636670.6A Expired - Fee Related CN107491703B (en) | 2017-07-31 | 2017-07-31 | Incorporation of random Hamiltonian loop topologies in chip top shields |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN107491703B (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20120128007A1 (en) * | 2010-10-25 | 2012-05-24 | Panwar Shivendra S | Distributed scheduling for variable-size packet switching system |
| CN103413105A (en) * | 2013-07-08 | 2013-11-27 | 北京深思数盾科技有限公司 | Device for protecting shell of information safety device |
| CN106227955A (en) * | 2016-07-22 | 2016-12-14 | 天津大学 | A kind of reconstructing method for chip top-layer metal protection layer |
-
2017
- 2017-07-31 CN CN201710636670.6A patent/CN107491703B/en not_active Expired - Fee Related
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20120128007A1 (en) * | 2010-10-25 | 2012-05-24 | Panwar Shivendra S | Distributed scheduling for variable-size packet switching system |
| CN103413105A (en) * | 2013-07-08 | 2013-11-27 | 北京深思数盾科技有限公司 | Device for protecting shell of information safety device |
| CN106227955A (en) * | 2016-07-22 | 2016-12-14 | 天津大学 | A kind of reconstructing method for chip top-layer metal protection layer |
Non-Patent Citations (3)
| Title |
|---|
| S´EBASTIEN BRIAIS等: "Random Active Shield", 《2012 WORKSHOP ON FAULT DIAGNOSIS AND TOLERANCE IN CRYPTOGRAPHY》 * |
| 张洁等: "应用哈密顿回路的三角网格拓扑压缩", 《计算机辅助设计与图形学学报》 * |
| 张赟等: "一种抗物理攻击防篡改检测技术", 《微电子学与计算机》 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN107491703B (en) | 2020-05-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| Ryu et al. | Overcoming the reliability limitation in the ultimately scaled DRAM using silicon migration technique by hydrogen annealing | |
| CN110319845B (en) | Method, device and system for determining reachable path between two points | |
| TWI453613B (en) | Data clustering method based on grid | |
| CN104156325B (en) | Conversion method and device of the chip logic address to physical address | |
| Chen et al. | A novel self-consistent-field lattice model for block copolymers | |
| Sinha et al. | Local load-sharing fiber bundle model in higher dimensions | |
| CN106227955A (en) | A kind of reconstructing method for chip top-layer metal protection layer | |
| Peng et al. | Supplementary coprime array with enhanced DOFs exploiting hole filling strategy based on the difference and sum coarray | |
| Zhao et al. | Enhancing the fabrication yield of NV centers in diamond by pre-doping using molecular dynamics simulation | |
| Li et al. | Finite-size effects on fragmentation in heavy-ion collisions | |
| TW201112018A (en) | Data clustering method based on density | |
| Kaspar et al. | Nonadiabatic vibronic effects in single-molecule junctions: A theoretical study using the hierarchical equations of motion approach | |
| Gopal et al. | A new method for solving reliability optimization problem | |
| CN107491703A (en) | The merging method of random hamiltonian circuit topological structure in chip top-layer overcoat | |
| CN105069228A (en) | Method for adding spare via into spare cell | |
| CN103049606B (en) | A kind of compliant mechanism 0-1 topological diagram extracting method | |
| Hoffman et al. | Efficiently implementing genetic optimization with nonlinear response history analysis of taller buildings | |
| CN104992032B (en) | The modification method of retention time in a kind of multiple voltage domain design | |
| CN102355301A (en) | Node grouping algorithm applied in PON (Passive Optical Network) planning | |
| Wang et al. | Escape routing of mixed-pattern signals based on staggered-pin-array PCBs | |
| Chen et al. | A survey of attack models for cyber-physical security assessment in electricity grid | |
| CN104409104B (en) | The verification method of chip-stored unit scrambler address | |
| Hu et al. | Traffic condition recognition based on vehicle trajectory big data | |
| Taheri et al. | Genetic optimisation of beamline design for DIAMOND | |
| CN107480560A (en) | The random hamiltonian circuit generation method of multichannel for chip top-layer overcoat |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200519 |
|
| CF01 | Termination of patent right due to non-payment of annual fee |