origen¶
Submodules¶
origen.applicationorigen.attributesorigen.blocksorigen.bootorigen.compilerorigen.controllerorigen.errorsorigen.helpersorigen.interfaceorigen.pinsorigen.producerorigen.servicesorigen.sub_blocksorigen.targetorigen.testerorigen.timesetsorigen.translatororigen.translatorsorigen.web
Functions¶
current_user(): Undocumented.flow_ast(): Returns a serialized representation of the AST for the current test program flowhas_plugin(): Returns true if an Origen plugin matching the given name is found in the current environmentload_file(): Undocumented.plugin(): Returns anOrigen applicationinstance representingreg_description_parsing(): Undocumented.set_mode(): Sets the current modestandard_context(): Returns the context (locals) that are available by default within filestest_ast(): Returns a serialized representation of the AST for the current pattern
-
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 applicationinstance 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
See also
-
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
origenmodule 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
appis notNone, it should be child of the base classorigen.application.BaseSee also
-
origen.dut¶ Pointer to the current DUT, or
None, if no DUT has been set.if
dutis notNone, then it should be a child of the base classorigen.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-likecontainer for current and addedUsersPut another way, accessor for global
UsersobjectSee also
-
origen.ldaps¶ dict-likecontainer for current and addedUsersPut another way, accessor for global
LDAPsobjectSee also
-
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
See also