i read back that you mention that your top will be use in different project.
Unfortunately, you will have to still make use of the same style that mention below. In each of your different project, you need to create clock first, and create_generated clock to your top module. One things for you to explore is to try tcl scripts, otherwise, you will have to do it manually in each different project,
We do not receive any response from you to the previous answer that we have provided. Please post a response in the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you with your follow-up questions.