adding frame_checker.v : check error in a frame