The application provides a multi-dimensional layered
hardware Trojan evaluation method for an IP
soft core, constructs a Trojan multi-dimensional feature
library, performs function integrity analysis to identify a first module in which a Trojan may exist, obtains equivalent RTL level code for a module in which no anomaly is found, takes each module of the RTL level code as a node and takes the calling relationship between each module as a weight to establish an information flow graph, compares the information flow graph with the Trojan multi-dimensional feature
library to obtain a second module in which a Trojan may exist, analyzes the information flow graph, and takes a module in which the calling is less than a set threshold, a module with an isolated node and a module adjacent to the isolated node in the information flow graph as a third module in which a Trojan may exist, analyzes the first module, the second module and the third module, calculates
code coverage,
signal flip rate,
signal and
clock delay anomaly,
power consumption anomaly and
layout blocking anomaly, and comprehensively evaluates to locate a module in which a Trojan exists in the to-be-detected IP
soft core.