Description
This CPU block is used to create and transmit a configuration file to the FPGA Power Measurement block implemented in an FPGA model. This configuration file allows the user to define the indices of the Voltage and Current measurements used to compute the Instantaneous Power with the Power Measurement block, as well as the sample time and ID of the block. The outputs of this block must be connected to a LoadIn block, which will define the LoadIn port number to be used on the FPGA as an input to the FPGA Power Measurement block.
Mask Parameters
Current Indices: This parameter is used to define the indices of the measurements that will be used to compute the Instantaneous Power. The Current Indices are specified by a vector of size equal to the requested number of Power computations. Each index is one-based and defined as the index of the eHS measurment required to calculate the associated power.
Voltage Indices: This parameter is used to define the indices of the measurements that will be used to compute the Instantaneous Power. The Voltage Indices are specified by a vector of size equal to the requested number of Power computations. Each index is one-based and defined as the index of the eHS measurment required to calculate the associated power.
Controller Name: Name of the OpCtrl Controller name which defines the FPGA by which the feature is provided.
LoadIn port number [1..32]: LoadIn port number of the feature. This information can be found in the bistream associated conf file.
DataOut port number [1..32]: DataOut port number of the feature. This information can be found in the bistream associated conf file.
Outputs
PowerMeasurements: Power measurements values calculated in the FPGA from the configuration provided by the user. It outputs N values, N being the number of Current and Voltage indices specified. A moving average over one CPU model time step is applied on the power calculations within the FPGA prior being sent to the CPU-based simulation.
Config: This output displays the configuration stream to send to the feature to configure it.
Status: This output displays the status of the loadin port used for the feature configuration.
If you require more information, please contact https://www.opal-rt.com/contact-technical-support/.