文件名称:SF-CY3 FPGA套件开发指南Ver7.10 (by特权同学) .pdf
文件大小:24.91MB
文件格式:PDF
更新时间:2023-03-03 03:18:10
SF-CY3 FPGA 套件开发 指南 特权
目录 SF-CY3 FPGA 套件开发指南 ............................................................................................................... 1 1 概述 ............................................................................................................................................... 12 1.1 功能框图............................................................................................................................ 18 1.2 Cyclone III 系列 FPGA 器件简介 ....................................................................................... 19 1.3 EP3C5E144C8 器件资源一览 ............................................................................................. 21 2 SF-CY3 硬件电路解析 .................................................................................................................... 22 2.1 实物示意图........................................................................................................................ 22 2.2 原理图解析........................................................................................................................ 23 2.2.1 系统电源电路 ........................................................................................................ 23 2.2.2 FPGA 电源电路 ........................................................................................................ 23 2.2.3 时钟和复位电路 .................................................................................................... 25 2.2.4 FPGA 配置电路 ........................................................................................................ 26 2.2.5 SDRAM 电路 ............................................................................................................ 29 2.2.6 LED 指示灯 .............................................................................................................. 30 2.2.7 连接器电路 ............................................................................................................ 30 3 SF-CY3 基本使用安装说明............................................................................................................ 31 3.1 电路板安装........................................................................................................................ 31 3.2 Quartus II 与 ModelSim 软件下载与安装 ......................................................................... 32 3.2.1 EDA 工具概述 .......................................................................................................... 32 3.2.2 软件下载和 license 申请 ....................................................................................... 33 3.2.3 Quartus II 的安装 .................................................................................................... 37 3.2.4 ModelSim 的安装 .................................................................................................... 40 3.3 USB Blaster 驱动安装 ......................................................................................................... 42 4 FPGA 的下载配置 .......................................................................................................................... 44 4.1 FPGA 的上电启动原理 ....................................................................................................... 44 4.2 JTAG 在线烧录 FPGA .......................................................................................................... 46 4.3 JTAG 烧录配置芯片 ............................................................................................................ 49 5 SF-CY3 工程实例 ............................................................................................................................ 53 5.1 逻辑(Verilog)实例 1——LED 闪烁 .............................................................................. 53 5.1.1 新建工程 ................................................................................................................ 53 5.1.2 输入源码 ................................................................................................................ 57 5.1.3 ModelSim 仿真 ........................................................................................................ 59 5.1.4 引脚分配与编译 .................................................................................................... 65 5.1.5 时序分析基础与时钟约束实例 ............................................................................ 67 5.1.6 下载配置与板级调试 ............................................................................................. 87 5.2 逻辑(Verilog)实例 2——PLL 配置 ................................................................................ 89 5.2.1 新建工程 ................................................................................................................ 89 5.2.2 PLL 配置和例化 ....................................................................................................... 89 5.2.3 ModelSim 仿真 ........................................................................................................ 99 5.2.4 引脚分配与编译 .............................................................................................