年代hop
参考
倪公司
Toggle Navigation
内部工具
页面工具
年代how page
Old revisions
反向链接
网站工具
近期变动
网站地图
Media Manager
用户工具
登录
狗万man05 .com
FPGA / SoC开发板
ARTY A7
arty s7
arty z7
Basys 3.
科拉Z7.
CMOD A7
Eclypse Z7
Genesys zu.
Genesys 2
nexys 4.
Zedboard
Zybo Z7.
更多的...
CMOD S7
科拉Z7.
Eclypse Z7
Genesys 2
Genesys zu.
nexys a7
Nexys视频
USB104 A7
Zedboard Zynq-7000 Development Board
Zybo Z7.
查看全部
程序员
查看全部
Expansion Modules
Zmods
ZMOD范围1410.
zmod awg 1411.
查看全部
PMODS.
查看全部
PCAMS.
FMC PCAM适配器
PCAM 5C.
MCU板
Basys MX3.
MAX32
UC32
WF32
Wi-Fire.
查看全部
狗万电脑平台
USB范围,分析仪和信号发生器
模拟发现2
Analog Discovery Pro(ADP5250)
Analog Discovery Pro(ADP3450 / ADP3250)
模拟发现演播室
数字发现
查看全部
软件
波形
波形生活
适配器和帆布
音频适配器
BNC适配器
面包板突破
面包板适配器
Impedance Analyzer Adapter
晶体管测试仪适配器
空白的画布
面包板帆布
Interposer Canvas
软件
Digilent软件
娴熟2
波形
波形SDK.
查看全部
|
博客
论坛
项目
Digilent GitHub.
你在这里::
Digilent参考
学习
可编程逻辑
可编程逻辑教程
入门FPGA
此页面仅是读取的。您可以查看源,但不会更改它。如果您认为这是错误的话,请询问您的管理员。
======使用FPGA ====== =====数字工程和FPGA板简介=====此项目设置您的FPGA板使用,并向您展示启动项目中的步骤文件。它还为您提供了一些关于电气工程和数字电路的基本背景知识。这是一个初学项目,与您的董事会有很少的手,但如果您忘记了如何启动项目,这是一个很好的参考。---- =====先决条件==== *具有DigIlent®FPGA板。*有一个互联网接入的PC。*有一段时间设置电路板并下载工具以获取进一步的项目。==== Software ==== *
xilinx ise webpack wrap>。* [[软件:adep:start]] ====硬件==== * XILINX ISE兼容板,如[[可编程逻辑:NEXYS-4:start]],[[Programmable-Logic:Nexys-3:启动]],[[可编程逻辑:nexys-2:start]],或[[programmable-logic:basys-2:start]] ---- =====基本理论=====使用在这种情况下的单词电路来自思想,即电力必须通过一个或多个电子设备从电源的正极流出并返回到电源的负端子,从而形成电路。 If the connections between an electronic device and either the positive or negative terminals of a power supply are interrupted, the circuit will be broken and the device will not function. A digital circuit consists of a power supply, devices, and conduction nets. Some nets provide circuit inputs from the “outside world”; in a schematic, these input nets are generally shown entering the left side of component and/or the overall circuit. Other nets present circuit outputs to the outside world; these nets are generally shown exiting the schematic on the right side. Circuit components are shown as arbitrary shapes, nets are shown as lines, and inputs and outputs are denoted by connector symbols. In a digital circuit, power supply voltage levels are constrained to two distinct values – “logic high voltage” (called LHV or Vdd) and “logic low voltage” (called LLV or GND). The GND node in any circuit is the universal reference voltage against which all other voltages are measured (in modern digital circuits, GND is typically the lowest voltage in the circuit). In a schematic, it is often difficult to show lines connecting all GND nodes; rather, any nodes labeled GND are assumed to be connected into the same node. The Vdd node in a digital circuit is typically the highest voltage, and all nodes labeled Vdd are tied together into the same node. Vdd may be thought of as the “source” of positive charges in a circuit, and GND may be thought of as the “source” of negative charges in a circuit. In modern digital systems, Vdd and GND are separated by anywhere from 1 to 5 volts. Older or inexpensive circuits typically use 5 volts, while newer circuits use 1-3 volts. In digital circuits, the Vdd and GND voltages are used not only to supply electric power to circuit devices; they are used to represent information as well. The most basic digital devices are called gates. The function of gates, or“gating,” is to allow or halt the flow of digital information. In general, a gate has one or more inputs and produces an output (more on that later). Now that you have a basic understanding of what digital engineering is and how the circuits function, let’s move on to setting up your FPGA board and getting started. === Related Material === ---- ===== 1. Download the Xilinx ISE Tools and License ===== You will need to have a computer connected to the internet and some time for this step. - Follow the link to install Xilinx ISE WebPACK tools, all projects require a Xilinx ISE Design Suite WebPACK Edition. ---- ===== 2. Create an ISE Project ===== This set of steps is for you to get familiar with how to create a project. Once you can create the module for a Verilog project you will have completed this project. Select your board from the links below and download the file you need for this project: {{:learn:programmable-logic:tutorials:getting-started-with-fpga:nexys4_p1.zip|Nexys 4}} {{:learn:programmable-logic:tutorials:getting-started-with-fpga:nexys3_p1.zip|Nexys 3}} {{:learn:programmable-logic:tutorials:getting-started-with-fpga:nexys2-500_p1.zip|Nexys 2-500}} {{:learn:programmable-logic:tutorials:getting-started-with-fpga:nexys2-1200_p1.zip|Nexys 2-1200}} {{:learn:programmable-logic:tutorials:getting-started-with-fpga:basys2_p1.zip|Basys 2}} 1. Open the "ISE project navigator"\\ 2. Click on File and then New Project. This will open the new project wizard.\\ 3. On the first page:\\ * Enter a name for the project, in this case project 0. * NOTE: it is recommended that the path of location and working directory does not contain white spaces (i.e., C:\Document and Settings\... is not recommended as there are spaces in the path. Having white spaces in the file path may cause XST to fail.) {{ :learn:programmable-logic:tutorials:getting-started-with-fpga:newproject.png?direct |Create New Project}} 4. In the project settings, you will need to select details that pertain to your FPGA on the board. The Nexys 3 is being used for this example.\\ {{ :learn:programmable-logic:tutorials:getting-started-with-fpga:projectsettings.png?direct |Project Settings}} * For Nexys 4: * Family: Artix-7 * Device: XC7A100T * Package: CSG324 * Speed: -1 * For Nexys 3: * Family: Spartan 6 * Device: XC6SLX16 * Package: CSG324 * Speed: -2 * For Nexys 2-1200: * Family: Spartan-3E * Device: XC3S1600E * Package: FG320 * Speed: -4 * For Nexys 2-500: * Family: Spartan-3E * Device: XC3S500E * Package: FG320 * Speed: -4 * For Basys 2: * Family: Spartan-3E * Device: XC3S100E * Package: CP132 * Speed: -4 5. The final page of the wizard shows the project summary. Click finish after you have looked over the details of your project.\\ {{ :learn:programmable-logic:tutorials:getting-started-with-fpga:projectsummary.png?direct |Project Summary}} 6. After the wizard finishesm you will be left with a blank window similar to the image below:\\ {{ :learn:programmable-logic:tutorials:getting-started-with-fpga:blankwindow.png?direct |Blank Window}} 7. Right-click on the name of your board's chip and select the option "add copy of source"\\ {{ :learn:programmable-logic:tutorials:getting-started-with-fpga:copyofsource.png?direct |Add copy of source windown}} 8. After adding the “ project0_demo.v” file to the project, add the .ucf file from the directory to the project using the instructions from the previous step. You can examine both the Verilog file (file.v) and the UCF file (.ucf) by double-clicking the file in the design window in the left pane.\\ 9. Now that you have the Verilog file and the appropriate UCF file added to the project, you can build the project by double-clicking on “generate programming file”.\\ {{ :learn:programmable-logic:tutorials:getting-started-with-fpga:generate.png?direct |Generate file}} 10. Once the project is done building the bit file, the window will look like this:\\ {{ :learn:programmable-logic:tutorials:getting-started-with-fpga:donebuilding.png?direct |}} 11. Now that we have a bit file generated from the Xilinx tools, it's time to program with Adept! ---- ===== 3. Setup Your FPGA Board and Program it with the Bit File ===== 1. If you have not already installed Digilent Adept System, then please go here to do so: Digilent Adept\\ 2. Once installed, open the Adept program and the software will automatically recognize your board. A Nexys3 is being used for this demonstration, but note that the window will say the name of whichever FPGA you are using.\\ {{ :learn:programmable-logic:tutorials:getting-started-with-fpga:adept.png?direct |Digilent Adept}} 3. You will now program the board with the compiled bit file from Step 2, to do this click browse and navigate to the working directory you chose and select the .bit file.\\ {{ :learn:programmable-logic:tutorials:getting-started-with-fpga:bitfile.png?direct |}} 4. Click on program and your board will be programmed. You will see the demo operating and showing the green LEDs on except for a moving off LED. The seven segment display will change through the different segments. When this is complete you have finished this project!\\ {{tag>learn programmable-logic tutorial nexys-4 nexys-3 nexys-2 basys-2 fpga getting-started}}