Skip to content

Commit

Permalink
doc: fix usb protocol example, png figure (thanks Didi)
Browse files Browse the repository at this point in the history
  • Loading branch information
jordens committed Apr 22, 2016
1 parent 75ab033 commit f535abc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions doc/manual.rst
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Control commands can be inserted at any point in the non-control data stream.
Examples:

* ``0x0072 0x0001 0x0003 0x0005 0x0007 0x0008`` writes the three words ``0x0005 0x0007 0x0008`` to the memory address ``0x0001`` of DAC channel 2 (the last of three) on board 7 (counting from 0).
* ``0xa5 0x06 0x0000 0x00a5a5 0x00a5a5 0xa5a5a5a5 0xa5 0x02 0xa5 0x04 0xa5 0x08`` enables the clock doubler (100 MHz) on all channels, then writes the single word ``0xa5a5`` to address ``0x00a5`` (note the escaping and the endianess) of channel 0 of board 0, enables soft trigger on all channels, disarms all channels, and finally starts all channels.
* ``0xa5 0x06 0x0000 0x00a5a5 0x00a5a5 0xa5a5a5a5 0xa5 0x02 0xa5 0x04 0xa5 0x08`` enables the clock doubler (100 MHz) on all channels, then writes the single word ``0xa5a5`` to address ``0x00a5`` (note the escaping and the endianess) of channel 0 of board 0, enables soft trigger on all channels, arms all channels, and finally starts all channels.


.. _memory-layout:
Expand Down Expand Up @@ -373,7 +373,8 @@ It configures a single frame (the first and only) consisting of a single trigger

The following figure compares the output of the three channels as simulated by the ``artiq.wavesynth.compute_samples.Synthesizer`` test tool with the output from a full simulation of the PDQ2 gateware including the host side code, control commands, memory writing, memory parsing, triggering and spline evaluation.

.. figure:: pdq2_wavesynth_test.svg
.. .. figure:: pdq2_wavesynth_test.svg
.. figure:: pdq2_wavesynth_test.png

PDQ2 and ``Synthesizer`` outputs for wavesynth test program.

Expand Down
Binary file added doc/pdq2_wavesynth_test.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f535abc

Please sign in to comment.