Hide menu

Laborations TSTE12



The lab hours are intended for practice using the tools, practice writing small VHDL programs, and also completing three lab tasks. It is suggested that the tutorial (see the course material page) is completed first before solving the lab tasks.

The first task is to decode an attached keyboard (standard PC). This laboration is also an introduction to the graphical entry tool HDL Designer which will be used in the project. Synthesis and programming of hardware (FPGA) is also included. The hardware documentation is available on the computer system at /courses/TSTE12/material/DE2-115_SystemCD_v3.0.6/

Notes to laboration number one is available below. Please note that the computer tools have been upgraded and there may be minor differences in the notes compared to the current computer system.

NOTE: To get a pass on the first lab shall the testbench model indicate what tests have been done, and the outcome of those, using a text output. The simulation shall also stop by itself once all tests have been carried out. It should be enough for the user to enter "run -all" in the simulator.

Task number 2 consists of using an image present in the SRAM memory, and display this image on an attached VGA screen. Notes on the second task is available below (703 kB pdf). Please note that the computer tools have been upgraded and there may be minor differences in the notes compared to the current computer system.

The third lab task is not necessary for students of the Y, D and ED programs. The task is to implement the ability to modify the image in the SRAM based on microcoded structure. A pre-defined structure is available that only needs its microprogram to be defined.

The notes describing the microprogramming lab is found below (88 KB pdf). Please note that the computer tools have been upgraded and there may be minor differences in the notes compared to the current computer system.

NOTE: A small clarification of the lab notes section 3 "Copy of template design":
After completing step 3, the lab3_microprog library must be opened by double click on the name in the project tab of the design manager. This is necessary to create the directory and open it in the design manager.
In step 4 must all components and blocks be selected, but not the library itself (TSTE12_lab3_DE2_115).

The altera_mf library is required to simulate the lab 3 setup. This library can be added by following the notes in Adding Altera downstream libraries found below. Please note that any simulation that includes the PLL will be very timeconsuming, and may require changing the default time step in Modelsim to be set to 10 ps or smaller.

Lab 1 must be completed no later than 6 September 2023 at 21.00 for Y, D and ED students in order to be allowed to participate in the project. The corresponding deadline for all other students is 13 September 2023 at 21.00. No lab results will be examined for the Y, D and ED students between 14 September and 20 October 2023, and for all other students the same restriction applies between 21 September and 20 October 2023. This time should instead be used for the project task.

File name  Size  Last Modification Time
Adding_Altera_downstream_libraries.pdf   331K 08 October 2019 14:23
TSTE12_Lab1_220826.pdf   656K 26 August 2022 10:54
TSTE12_Lab1_230830.pdf   244K 29 August 2023 23:15
TSTE12_Lab2_200912.pdf   945K 12 September 2020 12:59
TSTE12_Lab3_191008.pdf   84K 08 October 2019 08:27


Page responsible: Kent Palmkvist
Last updated: 2023-08-29