## 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

origen.target

Next topic

origen.timesets

origen.tester

Classes

  • DummyTester: Undocumented.

  • IGXL: Python interface for the tester backend.

  • Tester: Python interface for the tester backend.

  • V93K: Python interface for the tester backend.

class origen.tester.DummyTester

Inheritance

Inheritance diagram of DummyTester
generate(ast)
class origen.tester.IGXL

Inheritance

Inheritance diagram of IGXL
new_flow_line()
new_patset()
new_test_instance()
set_wait_flags()
test_instance_group()
class origen.tester.Tester

Inheritance

Inheritance diagram of Tester
ast

Prints out the AST for the current flow to the console (for debugging)

cc(comment: str) → self

Inserts a single-line comment into the AST.

>>> origen.tester.cc("my comment")
<self>
>>> origen.tester.cc("my first comment").cc("my second comment")
<self>
cycle(**kwargs) → self
end_pattern()
eq(*names)
generate_pattern_header()
issue_callbacks()
neq(*names)
pin_header
register_tester()
render_pattern()

Attempts to render the pattern on all targeted testers and returns paths to the output files that have been created. There is no need for the Python side to do anything with those, but they are returned in case they are useful in future. Continue on fail means that any errors will be logged but Origen will continue, if false it will blow up and immediately return an error to Python.

repeat()
reset()

This resets the tester, clearing all loaded targets and any other state, making it ready for a fresh target load. This should only be called from Python code for testing, it will be called automatically by Origen before loading targets.

set_pin_header()
set_timeset(timeset)

Sets the timeset.

>>> origen.tester.set_timeset(origen.dut.timesets['my_timeset'])
origen.tester.timesets['my_timeset']
Parameters

timeset (_origen.dut.timesets.Timeset, None) – Timeset to set as current, or None to clear

stats()
target()
targets
testers
timeset

Property for the current _origen.dut.timesets.Timeset or None, if no timeset has been set. Set to None to clear the current timeset.

Returns

_origen.dut.timesets.Timeset or None

>>> # Initially no timeset has been set
>>> origen.tester.timeset
None
>>> origen.tester.timeset = origen.dut.timesets.Timeset['my_timeset']
origen.dut.timesets.Timeset['my_timeset']
>>> origen.tester.timeset
origen.dut.timesets.Timeset['my_timeset']
>>> # Clear the current timeset
>>> origen.tester.timeset = None
None
>>> origen.tester.timeset
None
class origen.tester.V93K

Inheritance

Inheritance diagram of V93K
new_test_method()
new_test_suite()