MISC AMPLE STUFF
January 13, 2000
Received an ample file from Mentor Graphics to allow a text file to be inserted into a schematic. The instructions given below didn't work for this file. So the procedure I used was as follows:
In $MGC_HOME/shared/pkgs/des_arch/userware/default, edited the file schematic.ample. I basically concatenated the new ample file and schematic.ample.
Comment out the end of the file that puts things on the menu because this part doesn't work. And put the line that says "Compiled the des_arch version ..."at the end.
Save the original des_arch.ample_c file in $MGC_HOME/pkgs/des_arch/userware/default
Recompile with the following:
complie_userware -i /net/mgc/mgc_C.2/shared/pkgs/des_arch/userware/default
-p des_arch -o /net/mgc/mgc_C.2/pkgs/des_arch/userware/default
If anyone is running Design Architect while this is being done, it will not quit properly. Killing the process is the only way to get it to stop.
A copy of the original ample file sent is in /net/mgc/mgc_C.2/edg_ample_files/userware/des_arch.
To actually use this command, in Design Manager, click anywhere on the schematic and type:
insert_text_file_as_comment("path to file");
July 27, 1999
There was an update to the QuickSimII printing window that was accomplished using an ample file update from Mentor Graphics. To allow this file to be used by everyone, a directory was created in $MGC_HOME, called edg_ample_files. This was done in case this situation comes up again. Inside this directory was created a directory called userware, which is what traditionally holds ample files. Then inside the userware directory was created a directory called simv, for QuickSimII. The file that was sent from Mentor Graphics was then put inside here and called simv_chart.ample. The file was given permissions 775.
Next, the environment variable AMPLE_PATH was edited to show this location. That's it.
In summary,
create $MGC_HOME/edg_ample_files/userware/simv
put script in there and call it simv_chart.ample
give script permissions 775
edit AMPLE_PATH to include $MGC_HOME/edg_ample_files/userware