Académique Documents
Professionnel Documents
Culture Documents
sclr:
datain:
out_FSK:
Before starting the design please, copy the folder of TX_FSK of last exercise in order to have a
backup.
Run QuartusII and open the last project TX_FSK.
In this project, please, Create a new Block Diagram / Schematics File called
RX_FSK and draw the circuit.
Note: For each component of the new schematic, please use an instance name that differ from
the name used in TX_FSK in order to avoid errors. For example you can use an instance
name starting from 200.
-
Please calculate the threshold value for the lpm_compare and the required bits.
Remove the schematic file of TX_FSK and set as Top Level Entity the realized
schematic.
Remove from the project also the Test beng file of TX_FSK.
Project Simulation.
In order to simulate the project a Verilog test beng file must be generated.
and select Verilog HDL File from
OK
.
This will open an empty file in which to write the necessary Verilog instructions. An example of a
listing is shown in the figure. The full version can be downloaded from the web site. Define the
system clock by setting the clock frequency to 3.68MHz. Also in the list it has been defined the
periods related to the mark-signal ("1") and space ("0"), according to the Bell202 standards. The
auxiliary register "bit" is used in order to change the frequency of the input signal during the time
evolution defined with the "initial" block.
Set the simulation options trough the tools Assignments/Settings/EDA Tool
Settings/Simulation, and insert in Compile test bench the name of new generated test
beng.
Launch a new compilation. After Run the simulation by the command Tools/RunEDA
Simulation Tool/EDA RTL Simulation and see the results.
Please, analyze and comment the results. See also the counter evolution (conteggio) as analog
signal.
Moreover, some pins have been connected to some LEDs in order to have a debug.
Regarding the DAC converter, note that, in order to reduce the voltage value of analog voltage to 05V level for the input of the demodulator, the most significant bit (Pin54 on the auxiliary board) has
been set to zero. Alternatively you can use a resistive divider on the input of the receiver.
Also remember to put to zero the CS and CE signals for a correct operation of the DAC converter.
1) Please, check the correct operation of the FSK transmitter, using the oscilloscope probe on
the BNC output of the DAC. Measure the corresponding amplitude.
2) Make a BNC cable that connects the DAC output to the input of the demodulator (Pin 39 on
the auxiliary PCB).
3) Send through the switch 5, the bit "1" or a "0" and check that the demodulator return the
same bits.