From 9bceb6f24ed34507cdfe747ea63340371e4d1d80 Mon Sep 17 00:00:00 2001 From: Blake Leverington Date: Fri, 11 Aug 2023 14:16:55 +0200 Subject: [PATCH] Update 'README.md' --- README.md | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index bced521..a211241 100644 --- a/README.md +++ b/README.md @@ -7,8 +7,10 @@ Files for building readout software for the TDC-GPX2 from ScioSense. | ------ | ----------- | | source/gpx2-raspi-readout-program| Contains a readout loop, buffer and calculations to measure time intervals between two signals with good accuracy. | source/spi | Folder containing gpx2 source files for making the tdc board library containing all options and an high level access for readout. -| source/gpx2-fpga | tba | +| scripts | python script makes a histogram of the output. requires matplotlib| +| data | empty folder for output|
+ Readout via SPI: Required: @@ -16,9 +18,22 @@ Required: - up-to-date c++ compiler (C++17 compatible), tested with clang 11 and newer How to build: -- This software packages is build with cmake +- requires cmake - builds the gpx2 library and optionally the readout program -
-Readout via LVDS using an FPGA:
-coming soon +```sh +cd source +mkdir build +cd build +cmake .. +cmake --build . +``` + +to run the code: +``` +/// outputs to stdout +./bin/readout + +///redirect to file +./bin/readout > ../data/test_out.data +```