Skip to content

Commit 9b46bd2

Browse files
authored
Update cpld.rst
1 parent 2212758 commit 9b46bd2

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

docs/source/cpld.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ The complexity of simulation models can vary a lot and is defined by the require
6161

6262
.. admonition:: Exercise 1: BUFG
6363

64-
#. Write a Verilog module "BUFG" (filename ``BUFG.v``) with the same IO pin names and basic functionality (hint: one-liner), that can be used within the simulation. Include the module in the ``afe_tb.v`` testbench (e.g. ```include "BUFG.v"``).
64+
#. Write a Verilog module "BUFG" (filename ``BUFG.v``) with the same IO pin names and basic functionality (hint: one-liner), that can be used within the simulation. Include the module in the ``afe_tb.v`` testbench (```include "BUFG.v"``).
6565

6666

6767
Simulation
@@ -83,7 +83,7 @@ Start the compiler and the simulator from your ISE directory. The generated vcd
8383
8484
.. admonition:: Exercise 2: Waveforms
8585

86-
#. Try to interpret the waveforms and find the corresponding code lines in the testbench and source files. You can add internal signals from instantiated modules using the `[instancename].[signalname]`-notation.
86+
#. Try to interpret the SPI waveforms and find the corresponding code lines in the testbench and source files. The plotted signal names are listed in the testbench (``$dumpvars(0,SCLK,CS_B,MISO,MOSI);``). You can add internal signals from instantiated modules using the [instancename].[signalname]-notation or you can simply show all signals with ``$dumpvars();``.
8787

8888

8989
ToT Counter
@@ -136,8 +136,8 @@ The development of the digital logic can now be done on the local Raspberry Pi w
136136
ToT measurement
137137
=================
138138

139-
Connect a BPW34 diode to the AFE board and set the "CLK_EN" jumper.
139+
Connect a BPW34 diode to the AFE board, cover it with foil to protect it from light, and set the "CLK_EN" jumper.
140140

141141
.. admonition:: Exercise 4: ToT measurement
142142

143-
#. Test the counter with the ToT functions (e.g. ``tot_scan()`` or ``tot_histrogram()``) in ``afe_solution.py``. What information do you gain compared to a simple binary implementation (hit / no-hit) and for which type of measurement could this be useful?
143+
#. Test the counter with the ToT functions (``tot_scan()`` or ``tot_histrogram()``) in ``afe_solution.py``. Adjust the threshold and incection charge until you see a Gaussian ToT distribution. What information do you gain compared to a simple binary implementation (hit / no-hit) and for which type of measurement could this be useful?

0 commit comments

Comments
 (0)