I tried to open Active-HDL and run a script without manually loading a design. I cannot make it work. Can you help?
Active-HDL requires a design to be loaded before compilation or simulation can be executed. In order for your script to run without you manually loading a design, you need to add following commands:
#will create a new design with the specified name createdesign [-flow] <design_name> <path> #if the design already exists this command will load it. opendesign [-a] [-preserve] <design_name>
So, if you already have a design you need to add “opendesign” command after “set worklib work” command.