User Tools

Site Tools


Setting Up

The script is in the directory:


Assuming you have quartus installed, get Ploticus and ImageMagick:

sudo apt-get install ploticus
sudo apt-get install imagemagick 

Configuring The Script

The script takes in two command line arguments:

  • The Device Family (i.e. CycloneII, StratixII)
  • The Device (i.e. EP2C35F672C6)

Open the script with a text editor first. There are two arrays that govern the script's run:

  • The width array: Contains all the widths for which each hardware component is going to be tested.
  • The operations array: Contains all the operations to be tested. (All supported operations are listed within comments in the script)

The number of widths tested also corresponds to the number of samples taken for plotting.

For a start, lets take three samples to make a simple plot. Edit the width array to have the numbers 4, 8 and 12. This should look like:

@width = (4,8,12);

Edit the operations array to have the signed add operation. This should look like:

@operations = ("signed_add");

Now try running the script (this will default to CycloneII and AUTO for the device):


The data results appear in output.dat within the Device Family directory. The plots can be found under the plots directory.

For power (50% of bits toggle each cycle, 1000 random test vectors)

./ CycloneII EP2C35F672C6 50 1000

Sample Output/Plots From Previous Runs

Output from run for [CycloneII EP2C35F672C6]

Output from run for [StratixII EP2S15F484C5]

script_instructions.txt · Last modified: 2010/12/15 15:53 (external edit)