I use openCarac with "SMASH" simulator. This simulator has a directive in its API that allows to extract measurements from the generated wavefile.
It would be great if it was possible to do an extraction of results from an already existing wavefile.
Here is an example of what I mean.
I have run a carac with a file called THD.inc (wich is a transient simulation). My simulator has generated a .tmf file, containing the waveforms; and a .mes file containing the results of the .MEASURE directive of my THD.inc. I add a .MEASURE in my .inc file (& carac.conf file) and I want to see it in my opencarac sumary file.
For the moment, the only possible way to add/modify/remove some measurements is to relaunch the entire carac wich can be very painful & long. But extract measurements from an already generated simulator file can be done in a blink.
So I want to know if it is possible to add a new option to openCarac: an "extract measurements" one.
This option will:
- take the already waveform file contained in the openCaracFiles folder
- open it with the appropriated simulator
- extrat measurements (generating .mes)
- parse this .mes to recreate the .caracResults files
So, with a openCarac -emf carac.conf you could regenerate a full carac, without relauching simulation.
MAU
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you for your feedback.
If I understand correctly, you would like to access files from a previously run carac, as described as follows:
You have run openCarac once and your simulator files have been copied into the output openCaracFiles directory; then you want to run openCarac a second time with an appropriate option and do not run your simulator the classic way, but only to execute a special command.
Unfortunately, I am affraid that SMASH(TM) ability to extract results in binary files may not be available in other spice simulators. On the other hand, it is possible to give access to the openCarac simulator files destination folder in the custom procedures and, when testing the existence of the files, make possible to execute any custom command using these files.
I keep your request in mind and add a todo in the Doxygen(TM) todos list:
Make possible to access simulator files folder in the openCaracFiles directory when running a custom procedure. Create an example using SMASH to run openCarac only to use the simulator API to extract results with the previously saved simulator files. Describe such a custom procedure in the user manual.
I hope that I might be able to make this feature available soon.
John
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2014-10-21
Thanks for your support Jonathan. I am eager to see this new functionnality available.
Good Luck for improving your tool.
MAU
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Dear Jonathan Certes,
I use openCarac with "SMASH" simulator. This simulator has a directive in its API that allows to extract measurements from the generated wavefile.
It would be great if it was possible to do an extraction of results from an already existing wavefile.
Here is an example of what I mean.
I have run a carac with a file called THD.inc (wich is a transient simulation). My simulator has generated a .tmf file, containing the waveforms; and a .mes file containing the results of the .MEASURE directive of my THD.inc. I add a .MEASURE in my .inc file (& carac.conf file) and I want to see it in my opencarac sumary file.
For the moment, the only possible way to add/modify/remove some measurements is to relaunch the entire carac wich can be very painful & long. But extract measurements from an already generated simulator file can be done in a blink.
So I want to know if it is possible to add a new option to openCarac: an "extract measurements" one.
This option will:
- take the already waveform file contained in the openCaracFiles folder
- open it with the appropriated simulator
- extrat measurements (generating .mes)
- parse this .mes to recreate the .caracResults files
So, with a openCarac -emf carac.conf you could regenerate a full carac, without relauching simulation.
MAU
Hello Mau,
Thank you for your feedback.
If I understand correctly, you would like to access files from a previously run carac, as described as follows:
You have run openCarac once and your simulator files have been copied into the output openCaracFiles directory; then you want to run openCarac a second time with an appropriate option and do not run your simulator the classic way, but only to execute a special command.
Unfortunately, I am affraid that SMASH(TM) ability to extract results in binary files may not be available in other spice simulators. On the other hand, it is possible to give access to the openCarac simulator files destination folder in the custom procedures and, when testing the existence of the files, make possible to execute any custom command using these files.
I keep your request in mind and add a todo in the Doxygen(TM) todos list:
Make possible to access simulator files folder in the openCaracFiles directory when running a custom procedure. Create an example using SMASH to run openCarac only to use the simulator API to extract results with the previously saved simulator files. Describe such a custom procedure in the user manual.
I hope that I might be able to make this feature available soon.
John
Thanks for your support Jonathan. I am eager to see this new functionnality available.
Good Luck for improving your tool.
MAU