A method for protecting Register-Transfer-level(RTL) intellectual property(IP) core is provided, which converts an original RTL IP core to a target RTL IP core embedded with protection measures. The method includes: step 1, according to the original RTL IP core, constructing a state machine whose mode is controllable and which shows a normal mode which corresponding to a normal function of the IP core when a correct preset key value is inputted, and a fuzzy mode which corresponding to an abnormal function of the IP core when an error key value is inputted; step 2, modifying the data stream of RTL code in the original RTL IP core to obtain the fuzzy RTL code in the IP core; and step 3, combining the state machine and the fuzzy optimization RTL code into the target RTL level IP core. By combining the key control with the fuzzy data stream, the theft and reverse engineering of RTL IP core can be prevented effectively.
展开▼