| The development of autonomous driving technology and new energy vehicles was very rapid in recent years.No matter from the market demand or national strategy,they will be focused and be driven constantly.But this issue will make a rapid expansion in the number of the automotive electronics.And then,to make matters worse,those electronics put forward higher requirements because they need to be deployed on the car.Safety is the first at the special application scenarios.The IC chip plays an important role in the automotive electronic system.So,the functional safety of the chip has always been a hotspot in safety research.In this dissertation.A functional safety protection of AMBA AXI bus protocol was designed,it was completed by ECC algorithm and parity checker.The functional safety protection design can be directly integrated into the original AXI interface without degrading the performance of the own interface.Due to the characteristics of the protection algorithm,every 32 bit data signal of the AXI bus can be corrected 1bit error data and detected 2bit error data.The other signals except the data signal can be detected 1bit error.To get the greater protection,this paper proposed two optimization ideas.One was the protection of AXI data signal would occur a failure when the data signal was driven by the all 0/1 information.This issue was fixed by taking anti-specific ECC code bit.Other was the parity checker should be replaced.Because error detection rate of parity check is 50%.When the protection granularity is 32 bit,the error detection rate of the selected CRC-8 polynomial increases to99.6% in the MATLAB simulation result.In this dissertation.An AXI VIP(Verification IP)that can provide AXI functional safety protection verification was completed,which based on the UVM(Universal Verification Methodology).This AXI VIP can be used for both standard AXI bus interface and AXI bus interface with functional safety protection mechanism.The AXI VIP supported connecting to the various AXI interfaces that conform to the AXI protocol,checking the protocol correctness and collecting the function coverage of the AXI interface automatically,etc.The AXI VIP can be connected directly with the interface of the AXI functional safety protection designed in this paper,The AXI functional safety protection feature will be tested through automatic random error annotation and error detection of AXI VIP.Meanwhile,the functional coverage of error annotation and error detection can be collected by the coverage model of AXI VIP.The AXI functional safety protection design and AXI VIP completed were tested on the professional PLV verification platform.The pass rate of all random test cases is 100%,and the overall functional coverage of the basic functions and functional safety of the VIP is100%.The overall detection rate of AXI functional safety protection is 99.81% through using Synopsys Z01 X high-speed fault simulation platform to inject fault.The detection rate converged on the ASILD single point failure rate 99% given by ISO26262 standard.And the detection rate can reach 100% after using the optimized protection mechanism in this paper. |