Controllers in safety-critical systems such as nuclear power plants often use FBD (Function Block Diagram) to design embedded software. Implementation programs of the design are implemented in programming languages such as C language. Behavior of the ...
Controllers in safety-critical systems such as nuclear power plants often use FBD (Function Block Diagram) to design embedded software. Implementation programs of the design are implemented in programming languages such as C language. Behavior of the two programs, written in FBD and ANSI-C language, must be consistent, and it should be verified precisely.
This thesis proposes a verification technique for verifying behavioral con-sistency between FBD and C programs using HW-CBMC (Hardware-C Bounded Model Checking). The two programs which is developed using pSET are the target domain. The pSET (POSAFE-Q Software Engineering Tool), which is a loader software to program POSAFE-Q PLC and is developed as a part of the KNICS (Korea Nuclear Instrumentation & Control System) project, uses FBD to design the PLC program and generates ANSI-C program automatically. The automatically generated C program is loaded on PLC after a compiler compiles the C program.
This thesis also provides a translation technique from FBD to Verilog, which enables the use as an input program of HW-CBMC. Once the FBD program is translated into a semantically equivalent Verilog program and verification of be-havioral consistency is per-formed using HW-CBMC. This proposal makes the user can verify the behavioral consistency between FBD and C programs with-out specific knowledge about formal verification or HW-CBMC. Demonstration as a case study about the effectiveness of this proposal used one of RPS (Reactor Protection System) modules of APR-1400 (Advanced Power Reactor) in KNICS project.