Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: m-labs/artiq
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 171ed70f2aac
Choose a base ref
...
head repository: m-labs/artiq
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 4d0e5db955c8
Choose a head ref
  • 2 commits
  • 5 files changed
  • 1 contributor

Commits on Oct 27, 2014

  1. Copy the full SHA
    4eda58f View commit details
  2. Verified

    This commit was signed with the committer’s verified signature.
    Mic92 Jörg Thalheim
    Copy the full SHA
    4d0e5db View commit details
23 changes: 23 additions & 0 deletions doc/manual/core_drivers_reference.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
Core drivers reference
======================

These drivers are for peripherals closely integrated into the core device, which do not
follow the controller paradigm.

:mod:`artiq.coredevice.rtio` module
-----------------------------------

.. automodule:: artiq.coredevice.rtio
:members:

:mod:`artiq.coredevice.dds` module
----------------------------------

.. automodule:: artiq.coredevice.dds
:members:

:mod:`artiq.coredevice.runtime_exceptions` module
-------------------------------------------------

.. automodule:: artiq.coredevice.runtime_exceptions
:members:
File renamed without changes.
20 changes: 9 additions & 11 deletions doc/manual/drivers_reference.rst
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
Drivers reference
=================

:mod:`artiq.coredevice.rtio` module
-----------------------------------
These drivers are for "slow" devices that are directly controlled by a PC, typically over a non-realtime channel such as USB.

.. automodule:: artiq.coredevice.rtio
:members:
Certain devices (such as the PDQ2) may still perform real-time operations by having certain controls physically connected to the core device (for example, the trigger and frame selection signals on the PDQ2). For handling such cases, parts of the drivers may be kernels executed on the core device.

:mod:`artiq.coredevice.dds` module
----------------------------------
Each driver is run in a separate "controller" that exposes a RPC interface (based on :class:`artiq.management.pc_rpc`) to its functions. The master never does direct I/O to the devices, but issues RPCs to the controllers when needed. As opposed to running everything on the master, this architecture has those main advantages:

.. automodule:: artiq.coredevice.dds
:members:
* Each driver can be run on a different machine, which alleviates cabling issues and OS compatibility problems.
* Reduces the impact of driver crashes.
* Reduces the impact of driver memory leaks.

:mod:`artiq.coredevice.runtime_exceptions` module
-------------------------------------------------
:mod:`artiq.devices.pdq2` module
----------------------------------

.. automodule:: artiq.coredevice.runtime_exceptions
.. automodule:: artiq.devices.pdq2
:members:
4 changes: 2 additions & 2 deletions doc/manual/tutorial.rst → doc/manual/getting_started.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Tutorial
========
Getting started
===============

Connecting to the core device
-----------------------------
7 changes: 4 additions & 3 deletions doc/manual/index.rst
Original file line number Diff line number Diff line change
@@ -7,7 +7,8 @@ Contents:
:maxdepth: 2

installing
tutorial
core_reference
drivers_reference
getting_started
core_language_reference
core_drivers_reference
management_reference
drivers_reference