Document type:
Title:
Revision date:
Revision:
User's Manual (MUT)
Mod. V1495 General Purpose VME Board
12/02/2010
8
NPO:
Filename:
Number of pages:
Page:
00117/04:V1495.MUTx/08 V1495_REV8.DOC
42
36
Fig. 5.6: Delay Unit with DLOs
COINC
DLOx_OUT
STARTDELAY
PULSE_OUT
STOPDELAY
DELAY_COUNTER
DLOx_GATE
0
1
2
3
4
0
PULSE
Fig. 5.7: DLOs Delay line timing
When a coincidence occurs (leading edge of COINC signal) the STARTDELAY signal
becomes active (high).
STARTDELAY enables the oscillator on external delay line (DLOx) selected via MODE
register. At the same time the DELAY_COUNTER is enabled. The PULSE signal leading
edge increases the counter until the value set via GATEWIDTH register is reached. The
PULSE signal corresponds, in this reference, with the selected PDL output. On the first
PULSE leading edge after the coincidence, PULSE_OUT is activated high and is kept
high until a time = GATEWIDTH times the period of the selected DLO. The period in this
case is constant.
The maximum pulse width is limited by the GATEWIDTH counter: in the case of this
reference design the GATEWIDTH register is 16 bit wide, so a maximum width of
65536*Td (Td is the intrinsic delay of the selected DLO).
5.6. Quartus II Web Edition Project
The freely available Altera Quartus II (it can be downloaded from the Altera Web site)
software must be used in order to generate a user firmware for the USER FPGA. It
includes the source of VHDL reference design, which can be modified according to the
decription provided with the manual, in order to modify the card functionalities.
The tool provides a complete pinout of the FPGA; it is also enabled to generate the file
type of programming (RBF format) used fot the flash programming.
This software tool requires the Quartus II Web Edition rel. 5.1 (and newer) and can be
freely downloaded at:
http://www.caen.it/nuclear/software_download.php
Quartus II manual is available at:
www.altera.com/literature/hb/qts
The following figure shows the typical project flow for generating the firmware for an
ALTERA FPGA, through the following steps:
Design Entry is the functional descritption of the circuit; it could be either a description of
the hardware (VHDL, Verilog, AHDL) or a scheme made with the tool provide by Quartus.
The reference design provided is developed through VHDL; a VHDL knowledge is
required in order to modify this design. A different description can be developed with a
different language among those allowed by the Quartus tool.
Syntesis translates the descritpion into a format compatible with the subsequent
place&route step.