The DE2-115 board was the device provided in the lab that displayed the output for viewing by the student. The portions of the DE2-115 board that were used during the duration of the lab were the switches, the LEDs, and the seven segment displays. When looking at the board the switches are located towards the bottom of the board, and the LEDs that correspond to each switch are located above. The seven-segment display is located on the left of the board, above the switches …show more content…
The switches and the seven segment displays work together to show the specific number the instructor asked for in lab. The switches can become directly linked to the seven-segment display when programmed correctly by using a multiplexer. Multiplexing is, “sending multiple streams of information through a communication link simultaneously to a receiver” [1]. By using multiplexing, this allows several lines of information generated from either the Quartus II program or the switches to be quickly transmitted to the seven-segment display board. This process happens very quickly that even the human eye cannot detect it, which is why the output appears as one number lighting entirely at once on the display board and not a segment by segment lighting process. When the seven-segment board is controlled by the switches on the DE2-115 board a simple process can help in determining which segments will light, due to the negative logic the DE2-115 board possesses. The term negative logic as well as positive logic refers to the binary system of ones and zeros. In a negative logic device when a switch has a value of zero power is …show more content…
The Quartus II program is a software that is found on the laboratory computers, and is used in most labs for this course. This program allows codes to be created, and formatted, then be sent to a device, such as the DE2-115. To program the DE2-115 board a new project within the Quartus II program must be created. This created project allows users to create many VHL files, and waveforms, which can be used to program devices. Once a new project has been created, and new VHL file, or Verilog file is created, and this is where the code is implemented. The code can appear in several forms, however in this lab the modular approach was used. This form allows the program to be created in sections, and then the sections are compiled together to formulate the code in its entirety. In each part of this lab a code was created using this approach, such as code one which can be seen in Figure 5. After a code, has been completed it is compiled to ensure no errors are present, which would interfere with the output generated on the DE2-115 board. If no errors appear, then a pin assignment, that was given at the beginning of the semester is imported to the project file. The pin assignment file allows connections to be made between the Quartus II system and the DE2-115 board. Without the pin assignments, the board would receive no command from the