Vision VHD-800 Spezifikationen Seite 18

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 20
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 17
Be aware of the fact that the compilation steps will take longer and longer. The compiler has to push all its efforts to the
limit for increasing constraints!
7 Example IV: Magnitude Comparator
Our final example is located in the source file ./sourcecode/comparator.vhd and is a purely combinational 4-bit magnitude
comparator.
Student Task 15:
Have a look at the VHDL code. Two binary inputs are compared to each other. If the first number is equal,
smaller, or larger than the second number, separate outputs are set accordingly.
Now, synthesize the code and investigate the log, reports and resulting netlist. Note that while elaborating
the VHDL file, you have to set the parameter WIDTH : set it to 4 (Hint: elaborate <design_name> \
-parameters "<parameters> = XX").
Are there some additional cells, which you had not intended?
Correct the source code such as to prevent those cells from being inferred. After having changed the source
code, you have to perform an RTL simulation to verify the correct functionality of it. For that, we have already
prepared a testbench, which is located at ./sourcecode/comparator tb.vhd. For the simulation, you can use the
script located at ./modelsim/comparator compile rtl.csh
Show your source code correction and the simulation results to an assistant.
18
Seitenansicht 17
1 2 ... 13 14 15 16 17 18 19 20

Kommentare zu diesen Handbüchern

Keine Kommentare