Importing the Task into the IDE

Top  Previous  Next

Follow these steps to import the task produced by System Generator in the Diamond IDE:

1.

Create a new task on your FPGA;

2.

Give your task a name that is derived from the name of your model by appending _cw;

3.

Deselect the option 'create main source files';

4.

Once the IDE has created the task, expand the task in the Diamond source view and delete the package file that was created by Diamond; there should be no other files remaining under the task;

5.

Right click the task and select 'Link to External File';

6.

Browse to the FCD file you created for your task.

You can now connect your task as if it were a standard HDL task; the IDE will use the FCD file you created previously. Any change to this FCD file or to the files it refers to as a result of a change in your System Generator model will be detected by the IDE and used in subsequent compilations.

 

When you compile your Simulink model with System Generator, right click the project in the Diamond IDE and select refresh to force the IDE to detect the changes.  You can then build the Diamond project.