1. Use sys_id in the generated csp file.
2. Fix the bug that the tags in cond instruction starts from 0.