Example: Custom Register

Top  Previous  Next

This example shows how you can access the custom registers implemented in the FPGA of the Signal Master board from a Diamond task.

 

The custom registers can be read and written by the DSP and the FPGA. They are implemented in the FPGA Framework.

 

The example is made of two tasks: task_0 and registers.

 

Task task_0 runs on the DSP, writes some data to the custom registers 0 to 7, then reads back and prints the data.  Task registers implements the custom registers in the FPGA.

 

Running the Example

Users of the SignalMaster Quad should select the type of board they have as shown here.

 

There are four versions of the example:

'smq.customregister' is for a SignalMaster Quad Virtex4

'smd.customregister' is for a SignalMaster Dual

'smd.drc.customregister' is for a SignalMaster Dual equipped with a DRC

'smq.drc.customregister' is for a SignalMaster Quad equipped with a DRC

 

You can build the application by typing Ctrl+B and then execute it by clicking run. Note that building this application takes a few minutes as it involves launching the Xilinx tools.

 

Prerequisites

You  need the following components to be able to run this example:

 


Hardware

Quantity


SignalMaster Dual or Quad

1


3L Diamond DSP licence

1


3L Diamond FPGA licence

1