in reply to Unable to write the .sv file
What do you mean by "unable to write"? Do you see any errors? Hasn't the file changed? Or are the changes unexpected?