READ SIMULATION OUTPUT FILE

Reads the function computed by the digital circuit

Contents

Method of pwaFunction object.

Description

This method reads the text file containing the values of the function computed by the digital circuit (simulation) implementing the pwa function. The input file for the digital circuit simulation can be generated with method writeSimulationInputFile.

Syntax

f = readSimulationOutputFile(object)

Reads the values contained in file outputs.txt (in folder test, inside the folder containing the VHDL files describing the circuit), rescales them and returns them in output in f. f is a cell array (one entry for each component of the pwa function) whose elements are arrays.

Acknowledgements

Contributors:

Copyright is with: