Answers Database


M1.x: EPIC: Can an Epic script be launched without invoking the GUI?


Record #3889

Product Family: Software

Product Line: FPGA Implementation

Product Part: Epic

Product Version: 1.5i

Problem Title:
M1.x: EPIC: Can an Epic script be launched without invoking the GUI?


Problem Description:
General Description: Can an Epic script be launched without invoking the GUI?


Solution 1:

You can run EPIC totally unattended using the EPIC scripts in a batch process. However, there is no
  way to disable the EPIC graphics from being displayed. There are ways to minimize screen redraws b
y turning off (hiding) all of the EPIC layers in the EPIC script.

The fastest way is to create a file called "epic.ini", then invoke "epic design.ncd". Epic will bri ng up the design and run the epic.ini file. Here is an example of what one would look like:

setattr main edit_mode Read-Write
setattr comp Q<4> config F:\#LUT:F=(~F1\*F2)\*F4\*F3\ G:\#LUT:G=1
unload
quit!

This just changes the configuration of 1 CLB, but you can obviously create as many setattr commands as necessary. The unload command is actually a save.

To learn more about what you can do in epic script files, you can create them inside the editor. Fi rst, from the edit window, press CTRL-E. This will change from NO-LOGIC-CHANGES mode to READ-WRITE mode. From the menu, select script record, then do some action, like select a comp, then press edit block, then press attr, then change the F and G equations. Get out of the block editor, then select
  script end record from the menu. Look at the script file in a text editor, and paste the relevant
sections into your epic.ini file.




End of Record #3889 - Last Modified: 05/26/99 07:33

For the latest news, design tips, and patch information on the Xilinx design environment, check out the Technical Tips!