


Output signal is led 8 leds are defined by the multi-bit width form of led. The input signal of this experiment has 50 MHz system clock clk and reset signal rst_n. The first step: the establishment of the main program framework (interface design) module Led_shifting( Once the preparation is ready, start writing the program. Pay attention to the consistency of the program name and project name, and save it in the correct path (folder).įigure 1.9 Create a new project file (LED_shifting.v)
#FPGA PROJECTS ALTERA CYCLONE II HOW TO#
When the FPGA outputs a low level of 0, a current flows through the LED, and it is turned on.įigure 1.3 Schematics of LED 1.3.3 Program Design 1.3.3.1 Start Programīefore writing a program, let’s briefly introduce the development environment we use and how to create a project. The LED module of this experiment board adopts 8 common anode LEDs, which are connected with Vcc 3.3V through 180 R resistors, and the cathodes are directly connected and controlled by the FPGA. The schematics of LED is shown in Figure 1.3. The physical picture of the onboard 8-bit LED is shown in Figure 1.2. The FII-PRA040 uses the LED lights in the red circle.įigure 1.1 Different kinds of LEDs 1.3.2 Hardware Design Up to now, there are many types of LED lights, as shown in Figure 1.1. LED (Light-Emitting Diode), is characterized by low operating current, high reliability and long life. After the last (highest position) LED is lit, the next time it returns to the first (lowest position) LED, the loop is achieved.End reset, LED lights from low to high (from right to left) in turn.Use all LEDS, all light up during reset.Observe the experiment result and summarize it.Combine hardware resources to perform FPGA pin assignment and implement actual program downloading.Master the design of the frequency divider to implemnet the runing LED.
#FPGA PROJECTS ALTERA CYCLONE II CODE#
Proficiency in the writing of Verilog HDL programs to develop a good code writing style.Practice to use Quartus II to create new projects and use system resources IP Core.Altera Risc-V FPGA Board Experiment 1 LED shifting 1.1 Experiment Objective
