Changes between Version 2 and Version 3 of WARPnet1/BuildClientScripts


Ignore:
Timestamp:
Jun 18, 2010, 2:06:23 PM (14 years ago)
Author:
sgupta
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WARPnet1/BuildClientScripts

    v2 v3  
    33Here we will build and run a client script. To see a complete example refer to [wiki:WARPnet/ExampleScript the example script].
    44
     5== Building the Client Script ==
     6
     7There are two files that the user control over as the build their custom scripts to control the boards. The first is `warpnet_client_experiment_structs.py`. This file defines the data structures that are sent back and forth between the FPGA design and the client script. The FPGA design and this file must be in sync for data to be accurately transferred between the two. Let us look at an example to understand how this file is built. The following is the ControlStruct that is used to set basic node parameters. First we see the C struct that is stored in the FPGA.
     8{{{
     9}}}
     10The next is the ControlStruct as seen in `warpnet_client_experiment_structs.py`.
     11{{{
     12}}}
     13
     14== Running the Client Script ==
     15
     16 1. Once the client script has been written, navigate to the folder where it is located.
     17 1. Run the following:
     18{{{
     19 python experiment.py
     20}}}