From a50df0a6ed741db0a838e5764b33be034606a17d Mon Sep 17 00:00:00 2001
From: Sebastien Bourdeauducq <sebastien@milkymist.org>
Date: Thu, 28 Jun 2012 00:43:27 +0200
Subject: [PATCH] doc: link df simulation example

---
 doc/dataflow.rst   | 2 ++
 doc/simulation.rst | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/doc/dataflow.rst b/doc/dataflow.rst
index b1bca206f..6dde22fdd 100644
--- a/doc/dataflow.rst
+++ b/doc/dataflow.rst
@@ -181,6 +181,8 @@ The ``Token`` class contains the following items:
 * The name of the endpoint from which it is to be received, or to which it is to be transmitted. This value is not modified by the transaction.
 * A dictionary of values corresponding to the fields of the token. Fields that are lower-level records are represented by another dictionary. This item should be set to ``None`` (default) when receiving from a sink.
 
+See :ref:`dfsimexample` for an example demonstrating the use of these actors.
+
 Arithmetic and logic actors
 ===========================
 
diff --git a/doc/simulation.rst b/doc/simulation.rst
index 41db27dec..ce0a6d913 100644
--- a/doc/simulation.rst
+++ b/doc/simulation.rst
@@ -160,6 +160,8 @@ Abstract bus transactions
 .. include:: ../examples/sim/abstract_transactions.py
    :code: python
 
+.. _dfsimexample:
+   
 Dataflow simulation actors
 ==========================
 .. include:: ../examples/sim/dataflow.py