_origen._origen_metal.interface#

Classes#

class _origen._origen_metal.interface.PyInterface#
add_cz_test(test_obj, cz_setup, **kwargs)#

Add a cz test to the flow

add_test(test_obj, allow_missing=False, **kwargs)#

Add a test to the flow

bad_die(hard_bin, soft_bin=None, softbin=None, description=None, priority=None, **kwargs)#
bin(hard_bin, soft_bin=None, softbin=None, good=False, description=None, priority=None, **kwargs)#

Bin out

declare_input_variable(name)#

Declare the given flow variable, keeping the case of its name, as an input of the current flow without reading it, e.g. a value which the flow only passes down to its sub-flows. A sub-flow receives it only if it reads or declares it too. Must be called at flow level, not within a condition or loop.

declare_local_flag(name)#

Declare that the given flag, when set in the current flow or in any of its sub-flows, is local to the flows which read it: it is passed out of the flow which sets it only as far as the highest enclosing flow in which another flow reads it, rather than to every enclosing flow. Must be called at flow level, not within a condition or loop.

declare_output_variable(name)#

Declare the given flow variable, keeping the case of its name, as an output of the current flow without assigning it, e.g. a variable which a test method sets natively. Must be called at flow level, not within a condition or loop.

description#
good_die(hard_bin, soft_bin=None, softbin=None, description=None, priority=None, **kwargs)#
group(name, **kwargs)#
if_enable(*flags, **_kwargs)#
if_enabled(*flags, **_kwargs)#
if_expr(expression, **_kwargs)#

Generates the content of the returned context manager only when the given tester expression is true

if_failed(*ids, **_kwargs)#
if_flag(*ids, **_kwargs)#
if_job(*jobs, **_kwargs)#
if_passed(*ids, **_kwargs)#
if_ran(*ids, **_kwargs)#
log(text)#
loop(count, variable=Ellipsis, descending=False, start=1, **kwargs)#

Repeats the flow content generated within the returned context manager count times. The count is a number from 1, or the name of a flow variable which holds it when the loop starts. Like a hand-written V93K SMT8 for loop, a loop to a variable is not guarded, the variable must be at least 1 when the loop starts. The iteration number, counting up from start through count values (or down to start when descending), is available within the loop as the given flow variable. Flow options, e.g. if_enable, are applied to the whole loop.

name_override#
render_str(text)#

Render the given string directly to the current flow

resources()#
resources_filename#
set_flag(name, state=True)#

Set the given flow flag, or clear it when state is false

set_resources_filename(path, kind=None)#
set_variable(name, value)#

Assign a value, a number or a tester expression, to the given flow variable

test_invocation_options(tester)#

Returns a list of valid test invocation options for the given tester type.

unless_enable(*flags, **_kwargs)#
unless_enabled(*flags, **_kwargs)#
unless_expr(expression, **_kwargs)#

Generates the content of the returned context manager only when the given tester expression is false

unless_failed(*ids, **_kwargs)#
unless_flag(*ids, **_kwargs)#
unless_job(*jobs, **_kwargs)#
unless_passed(*ids, **_kwargs)#
unless_ran(*ids, **_kwargs)#
volatile(*flags)#