Wednesday, October 23, 2019
Vhdl for Synthesis
ELE591 ââ¬â VHDL for Synthesis Issue 1. 0: 1st December 2010 The purpose of this laboratory experiment is to familiarise you with the principles of VHDL for synthesis targeted at programmable logic devices. You will observe how various VHDL descriptions result in Register Transfer Level (RTL) implementations and how these can be implemented within specific logic devices. The principles of back-annotation will also be explored and how this can be used to examine performance limitations of specific hardware resource mappings. This lab assumes you are already familiar with Xilinx ISE and ModelSim, given that ELE335 is a prerequisite for this module. If necessary, consult the ELE335 lab guide, which is included in the Coursework section of the ELE591 module webpage. Most of the VHDL files needed for this lab are also available from the same location. Exercise 1: Aim: To compare the results of different architectural descriptions for the same entity Steps: â⬠¢ Create a project named ââ¬Å"exercise1â⬠. Add the file ex1a. vhd as a ââ¬Å"VHDL moduleâ⬠â⬠¢ Select the Spartan3 as the target device Compile and synthesise the VHDL description and examine the design report file, paying particular attention to the resource utilisation summary (and timing path analysis). Also examine the RTL design. â⬠¢ Repeat with the files ex1b. vhd and ex1c. vhd and compare the results. Exercise 2: Aim: To illustrate the use of ââ¬Å"donââ¬â¢t careâ⬠values in synthesis Steps: â⬠¢ Create a proje ct named ââ¬Å"exercise2â⬠. Add the file docare. vhd as a ââ¬Å"VHDL moduleâ⬠â⬠¢ Compile and synthesise the design targeting the Spartan3 device â⬠¢ Add the file dontcare. hd as a ââ¬Å"VHDL moduleâ⬠and repeat the synthesis. â⬠¢ Compare the report files. Exercise 3: Aim: To illustrate logic resource requirements for conditional versus mutually exclusive input conditions Steps: â⬠¢ Create a project named ââ¬Å"exercise3â⬠. Add the file cond. vhd as a ââ¬Å"VHDL moduleâ⬠â⬠¢ Compile and synthesise the design targeting the Spartan3 device â⬠¢ Add the file exclusiv. vhd as a ââ¬Å"VHDL moduleâ⬠and repeat the synthesis. â⬠¢ Compare the report files. Also compare the timings at the design logic level and at the place and route level. Exercise 4: Aim: To review resource and timing requirements of a complex reset function Steps: â⬠¢ Create a project named ââ¬Å"exercise4â⬠. Add the file cntpt. vhd as a ââ¬Å"VHDL moduleâ⬠â⬠¢ Compile, synthesise and simulate the design targeting the Spartan3 device â⬠¢ Review the report file paying particular attention to the reset equation. â⬠¢ Now examine the file cntpt2. vhd which employs a synchronous complex reset. â⬠¢ Attempt to simulate the designs and comment on the reset timing in both cases. Exercise 5: Aim: To compare CPLD and FPGA implementations of a FIFO design Steps: Create a project named ââ¬Å"exercise5â⬠. Add the file fifo. vhd as a ââ¬Å"VHDL moduleâ⬠â⬠¢ Compile and synthesise the design targeting the Spartan3 device â⬠¢ Recompile the design for a Coolrunner2. â⬠¢ Compare the report files and the resulting RTL layouts. â⬠¢ Place and route both designs â⬠¢ Compare the design files paying particular attention to the maximum operating frequency and the amount of resources used. Which timing parameter is the limiting factor on the operating frequency in each case? Exercise 6: Aim: To illustrate the effects of implicit memory Steps: â⬠¢ Create a project named ââ¬Å"exercise6â⬠. Add the file memcont. vhd as a ââ¬Å"VHDL moduleâ⬠â⬠¢ Compile and synthesise the design targeting the Spartan3 device. â⬠¢ Examine the report file. â⬠¢ Add the file memcont2. vhd as a ââ¬Å"VHDL moduleâ⬠. In this file the signal assignments for oe, we and addr are removed from under the reset condition. â⬠¢ Compile and synthesise the design targeting the Spartan3 device. â⬠¢ Compare the report file with that of the original design. Verify that implicit memory resulted in the creation of a combinatorial latch. Exercise 7: Aim: To illustrate the advantage of ââ¬Å"one hotâ⬠encoding of large state-machines implemented in FPGA architectures Steps: â⬠¢ Create a project named ââ¬Å"exercise7â⬠. Add the file onehot. vhd as a ââ¬Å"VHDL moduleâ⬠â⬠¢ Compile and synthesise the design targeting the Spartan3 device â⬠¢ Place and route the design and record the number of logic cells required, the setup time, clock-to-output delay and maximum operating frequency. â⬠¢ Now employ the file notonehot. vhd. This uses the synthesis tool to assign values to the various enumerated states. Compile and synthesise the updated design targeting the Spartan3 device. â⬠¢ Place and route the design and record the number of logic cells required, the setup time, clock-to-output delay and maximum operating frequency. â⬠¢ Compare the results with the original design. This series of experiments should be written up as an INDIVIDUAL formal lab report. The report will be limited to a maximum of 8 pages of main text (i. e. omitting title page etc). The hand-in date is the 17th December, unless you are informed otherwise.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.