The Designer's Guide Community
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Jun 14th, 2024, 5:01am
Pages: 1
Send Topic Print
how to overwrite a value in VHDL_AMS output file (Read 86 times)
Junior Member

Posts: 10

how to overwrite a value in VHDL_AMS output file
Oct 10th, 2013, 7:09am
Hello All,
Through VHDL-AMS code, I want to write in a file. I want every new value to be written should overwrite the old value. I tried opening the write file in write mode and in append mode. but in both the modes the values are added to the file.
for example: in one clock cycle I want to write 7 in a file. in next clock cycle the code should delete 7 and write 3 on its place. so my file content will be 3 and not

any suggestions ???  :-?
thanks in advance.

Back to top
View Profile   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to Consider submitting a paper or model.