ID:200002 Can't open file <name> for writing

CAUSE: You specified the EDA tool you are using for simulation or timing analysis for the current project, and compiled the project. However, the Quartus Prime software cannot overwrite the specified file because the existing file does not have read or write permissions enabled.

ACTION: Make sure that the file has has read or write permissions enabled and regenerate the file.