User Tools

Site Tools


script_instructions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

script_instructions [2010/08/27 19:00]
acanis
script_instructions [2010/12/15 15:53]
Line 1: Line 1:
-===== Setting Up ===== 
- 
-The script is in the directory: 
-<​code>​ 
-legup/​hwtest/​ 
-</​code>​ 
- 
-Assuming you have quartus installed, get Ploticus and ImageMagick:​ 
-<​code>​ 
-sudo apt-get install ploticus 
-sudo apt-get install imagemagick ​ 
-</​code>​ 
- 
-===== 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: 
-<​code>​ 
-@width = (4,8,12); 
-</​code>​ 
- 
-Edit the operations array to have the signed add operation. This should look like: 
-<​code>​ 
-@operations = ("​signed_add"​);​ 
-</​code>​ 
- 
-Now try running the script (this will default to CycloneII and AUTO for the device): 
-<​code>​ 
-./hwtest.pl 
-</​code>​ 
- 
-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) 
-<​code>​ 
-/hwtest.pl CycloneII EP2C35F672C6 50 1000 
-</​code>​ 
- 
-===== Sample Output/​Plots From Previous Runs ===== 
- 
-Output from run for [CycloneII EP2C35F672C6] 
- 
-  * General Source Files: http://​www.legup.org/​hwprofile/​cycloneII/​ 
-  * Plots: http://​www.legup.org/​hwprofile/​cycloneII/​plots/​ 
- 
-Output from run for [StratixII EP2S15F484C5] 
- 
-  * General Source Files: http://​www.legup.org/​hwprofile/​stratixII/​ 
-  * Plots: http://​www.legup.org/​hwprofile/​stratixII/​plots/​ 
  
script_instructions.txt ยท Last modified: 2010/12/15 15:53 (external edit)