Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Stupid Encounter scripting problem..

Status
Not open for further replies.

jelydonut

Full Member level 4
Joined
Dec 27, 2002
Messages
239
Helped
3
Reputation
6
Reaction score
0
Trophy points
1,296
Activity points
1,730
After searching through the documentation any trying many things i am unable to figure out how to execute a script of commands in the console. Im sure its easy (like "do" in modelsim).. i just can't find it..

jelydonut
 

Which OS you are working with???
In windows you can create a ".bat" file which contains all ur commands, to execute
the .bat file just type the .bat filename at the dos prompt.

If you are woring with Linux OR Unix write all ur commands in a script file
add executable permission to file mode using chmod +x "script file"
Just type the file name at Linux OR Unix prompt!

Hope this helps
 

Im running it in Linux..

I tried what you said and this is what im getting..

encounter 8>./floorplan
./floorplan: line 4: loadConfig: command not found
./floorplan: line 5: commitConfig: command not found
etc..

but if i just type the same commands at that prompt it works fine.. i don't get it..

jelydonut
 

Try out this

encounter> source ./floorplan

Hope this will works.
 

    jelydonut

    Points: 2
    Helpful Answer Positive Rating
Encounter uses TCL as his interface langauage: the you can use
source <script_path>
to execute a script,
set <variable name> <variable value>
to set a variable,
and so on...
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top