Now that you have installed and run the Pre-Built Power Advantage Tool in the previous section, let’s take a moment to see what else you can do with it. The Power Tool can be used as a tool, with designs, to monitor the power budget during the design process. In addition, the Power Tool can be used as a demonstration of the power savings with processing designs.
If running from BEAM Tool proceed to section 1.1 BEAM Tool Running Instructions. If running from Jupyter Notebook proceed to section 1.2 Jupyter Notebook Running Instructions. Then for both, proceed to section 1.3 Common Running Instructions.
Once you can launch the BEAM Tool, you are only a few clicks away from the Versal Power Tool. From the Home Screen, click "Run Demos & Designs"
Then click Power Advantage Demo > "Run"
Skip to 1.3 Common Running Instructions
Run Jupyter Notebook from your booted Linux. Seek the instructions based on your System Controller or Versal installation, but one set of instructions is provided here as an example.
From the Linux command prompt from either your System Controller or Versal:
jupyter notebook --no-browser --allow-root --debug --ip=<IP Address>
(<IP Address> is the IP Address of the System Controller, and should be on the same subnet as your Chrome browser Host)
Then open your Chrome browser to http://<IP Address>:8888
From Jupyter Notebook, open Power_Advantage_Tool.ipynb
When you open the Versal Power Tool you will have the following interface. Most of the time you will not need to do anything. But if it has not been done for you already, you will need to edit the "pa = poweradvantage("Tenzing", "SC") line to your appropriate environment. The first argument will be your evaluation board type. The second argument is either "SC" for running on the System Controller or "" for Versal. Repeat the edit for each code cell.
You normally will not need to do this step either, only if you had made a custom installation and do not have the supporting Python libraries installed yet. Click to select the last code cell and click "Run".
Ideally you did not have to do anything yet. Click to select the first code cell and click "Run". Congratulations, you just made your first set of measurements.
There are additional code cells that do different things, take continuous measurements, plot measurements. But the key is the code is powerful and short because it is based on a library. And you can customize your code, add your own Python libraries. There are no tools to download and there are no compile times to wait for .