class Origen::Application::Environment

Class to control the environment.

The environment is a Ruby file that is loaded prior to generating every piece of output. It is optional, and is loaded before the target, thereby allowing targets to override environment settings.

A typical use case for the environment is to setup the test platform, or to set Origen to run in debug or simulation mode. It can generally be thought of as a global target.

All environment definition files must live in Origen.root/environment.

An instance of this class is automatically instantiated and available globally as Origen.environment.