# Measurement data of the publication "In-depth Analysis and Enhancements of RO-PUFs with a Partial Reconfiguration Framework on Xilinx Zynq-7000 SoC FPGAs"
The presented measurement data is the base of the publication "In-depth Analysis and Enhancements of RO-PUFs with a Partial Reconfiguration Framework on Xilinx Zynq-7000 SoC FPGAs" 
presented on May 9th, 2019 at 
IEEE International Symposium on Hardware Oriented Security and Trust (HOST) 2019 

Link to conference: [IEEE HOST](http://www.hostsymposium.org "hostsymposium.org") / [IEEE HOST 2019](http://www.hostsymposium.org/host2019/index2019.php "hostsymposium.org (2019)")

Link to publication: [IEEE Xplore](https://ieeexplore.ieee.org/ "ieeexplore.ieee.org")

## Description of the measured hardware
This dataset contains all measurements presented in the publication. The measured hardware platform is the Digilent ZYBO (ZYnq BOard), which contains the Z-7010 of the Xilinx Zynq-7000 family (XC7Z010-1CLG400C).
A total of 21 Boards were measured, from which 20 were used for the publication. The board with id 8 was excluded from the analysis as its measurement data showed irregular deviations from the usual behavior, but is included in the
data set for consistency.
On each board, all reprogrammable logic cells were successively used as ring-oscillators, which totals to 3800 ring-oscillators per board.
Each ring-oscillator was measured for different evaluation times (1us, 10us and 100us), for different readout approaches (parallel and serial), and for 1000 times for each measurement.

## Description of the data archive
The measurement data is presented in two formats, as comma-separated values (.csv) and as native matlab files (.mat).
Three different data sets are provided with different hardware settings, as discussed in the publication: old_ro, new_ro and carry_4.
Therefore, 6 different files are available, which are named as follows:

type | csv  | mat
----------- | ----------- | -----------
old | old_ro_csv.zip | old_ro_mat.zip
new | new_ro_csv.zip | new_ro_mat.zip
carry4  | new_ro_carry4_csv.zip | new_ro_carry4_mat.zip

Each zip-file contains two folders, sorting the data by the readout approach. Each of these folders then contains three sub-folders, sorting the data further by the evaluation time.
The whole folder structure is as follows:

* parallel
    * 1 us
    * 10 us
    * 100 us
* serial
    * 1 us
    * 10 us
    * 100 us

### .csv data 
For the .csv data set, the measurement data in each subfolder is represented as files, with each board with the number **ID** having four associated files:

* id**ID**_ref_data.csv - readout values of the reference ring-oscillator
* id**ID**_ro_data.csv - readout values of the ring-oscillators
* id**ID**_ro_x.csv - coordinate **x** of the ring-oscillators associated logic slice SLICEX**x**Y**y** (e.g. SLICEX**2**Y**13**)
* id**ID**_ro_y.csv - coordinate **y** of the ring-oscillators associated logic slice SLICEX**x**Y**y**

Each csv file has a total of 3800 lines/rows, describing the ring-oscillators in a sorted order.
Additionally, the files id**ID**_ref_data.csv and id**ID**_ro_data.csv have 1000 columns, each holding a single readout value.
It should be noted that, even though there are 3800 rows in id**ID**_ref_data.csv, only one reference ring-oscillators was physically present at the time of measurement.
The 3800 rows contain the readouts of these two references for the time when the respective ring-oscillator in id**ID**_ro_data.csv was measured.

The physical position regarding x and y coordinates can be extracted from the respective files.

### .mat data
For the .mat data set, there exists only one file per data set, each containing the same data as in the csv data, stored as variables:

* ref_data - readout values of the reference ring-oscillator
* ro_data - readout values of the ring-oscillators
* ro_x - coordinate **x** of the ring-oscillators associated logic slice SLICEX**x**Y**y** (e.g. SLICEX**2**Y**13**)
* ro_y- coordinate **y** of the ring-oscillators associated logic slice SLICEX**x**Y**y**
