Return to Support Page
 homesearchagentssupportask xilinxmap

Answers Database


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


Record #3889

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


Problem Description:
Keywords:  epic

Ugrency: Standard

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 by 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 bring 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.	First, 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 editblock, 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

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

© 1998 Xilinx, Inc. All rights reserved
Trademarks and Patents