Building an AI Chip: Security, Software Development, and Lifecycle Management