Sha256: bbdcebfbc74f18a28acab1d957c9425bbde8e46b45a1388db80ea77abeb04022

Contents?: true

Size: 1.42 KB

Versions: 6

Compression:

Stored size: 1.42 KB

Contents

% render "layouts/guides.html" do

All of the
[Common Pattern API](<%= path "guides/pattern/common" %>) can be used to target the V93K.

This page is used to document any additional V93K-specific 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.


#### Driving Custom Waveforms

The V93K has a very powerful waveform generator and it is common to use many more pin state codes than
other platforms in order to select particular waveforms.

Say for example that we have various waveforms defined to drive a clock pin, where a '1' on the pin
will drive a single pulse and a code of 'P' will select a different waveform which will create 4 pulses
per cycle.

The 'P' code (or any other letter) can be driven very easily as shown below:

~~~ruby
                        #      Example vectors
pin(:clk).drive!(1)     #     1 X XXXX 10100001
1.cycle                 #     1 X XXXX 10100001
pin(:clk).drive!('P')   #     P X XXXX 10100001
1.cycle                 #     P X XXXX 10100001
pin(:clk).drive!(1)     #     1 X XXXX 10100001
~~~

The above vectors would produce the following waveform per the earlier description of 'P':

~~~text
            _______         _______   _   _   _   _   _   _   _   _         _______
clk _______|       |_______|       |_| |_| |_| |_| |_| |_| |_| |_| |_______|       |

~~~



% end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
origen_testers-0.31.0 templates/origen_guides/pattern/v93k.md.erb
origen_testers-0.30.0 templates/origen_guides/pattern/v93k.md.erb
origen_testers-0.21.0 templates/origen_guides/pattern/v93k.md.erb
origen_testers-0.20.0 templates/origen_guides/pattern/v93k.md.erb
origen_testers-0.19.3 templates/origen_guides/pattern/v93k.md.erb
origen_testers-0.19.2 templates/origen_guides/pattern/v93k.md.erb