% render "layouts/guides.html" do
This page will be used to document any UltraFLEX-only APIs related to pattern generation,
however the goal is to have as few of these as possible so that Origen pattern source code can re-target
automatically to any supported platform.
There are no significant APIs in this category currently, therefore refer to the
[Common Pattern API](<%= path "guides/pattern/common" %>) which can fully target the UltraFLEX.
### DigSrc
UltraFlex supports :digsrc
as a tester.overlay_style
set like this:
~~~ruby
tester.overlay_style = :digsrc
~~~
By default Origen will automatically place the digsrc start opcode at the beginning of the resulting pattern
when overlay is used. In some cases (like when the pattern is used in a pattern set that has already started
the instrument in a previous pattern, or possibly in svm_patterns) this behavior is undesirable.
The insertion of this start opcode can be disabled by placing the following code **before** any overlay operations
for a given pin.
~~~ruby
tester.digsrc_skip_start :pin_or_group_name if tester.ultraflex?
# Overlay operations can happen after this point
~~~
% end