## Thought it looks better without the breadcrumbs bar, and kinda redunant since we have the sidebar nav
Origen v2
:

Table Of Contents

Contents

Previous topic

Documenting The Core

Next topic

origen.application

origen

Submodules

Functions

origen.current_user()
origen.flow_ast() → List[str]

Returns a serialized representation of the AST for the current test program flow

origen.has_plugin(name)

Returns true if an Origen plugin matching the given name is found in the current environment

origen.load_file(path, globals={}, locals={})
origen.plugin(name)

Returns an Origen application instance representing the given Origen plugin. None is returned if no plugin is found matching the given name within the current environment.

origen.reg_description_parsing()
origen.set_mode(val: str) → None

Sets the current mode

origen.standard_context()

Returns the context (locals) that are available by default within files loaded by Origen, e.g. dut, tester, origen, etc.

origen.test_ast() → List[str]

Returns a serialized representation of the AST for the current pattern

Variables

origen.config

Dictionary of configurable workspace settings.

Keys include: ['python_cmd', 'pkg_server', 'pkg_server_push', 'pkg_server_pull', 'some_val']

Returns

Configurable workspace settings.

Return type

dict

origen.status

Dictionary of various application and workspace attributes Keys include: ['is_app_present', 'root', 'origen_version', 'home', 'on_windows']

Returns

Application and/or workspace attributes as key-value pairs.

Return type

dict

origen.root

Path subclass for Windows systems.

On a Windows system, instantiating a Path should return this object.

origen.version

Returns the version of the Origen executable.

Returns

Origen executable version

Return type

str

>>> origen.version
'2.0.0.dev4'
origen.running_on_windows

Indicates if Origen is currently running on Windows.

Returns

Return type

bool

>>> origen.running_on_windows
False
origen.running_on_linux

Indicates if Origen is currently running on Linux.

Returns

Return type

bool

>>> origen.running_on_linux
True
origen.frontend_root

Returns the directory of the origen module as a pathlib.Path

origen.app

Pointer to the current application instance, or None, if Origen was not invoked from within an application workspace.

If app is not None, it should be child of the base class origen.application.Base

origen.dut

Pointer to the current DUT, or None, if no DUT has been set.

if dut is not None, then it should be a child of the base class origen.controller.Base

origen.tester

Pointer to the global tester object, origen.tester.Tester

origen.producer

Pointer to the global producer object, origen.producer.Producer

origen.users

dict-like container for current and added Users

Put another way, accessor for global Users object

origen.mailer

Accessor to the global Mailer

origen.ldaps

dict-like container for current and added Users

Put another way, accessor for global LDAPs object

origen.logger

Direct access to the build-in logger module for logging and displaying user-friendly output. Also available as log

Returns

Pointer to _origen.logger

Return type

_origen.logger