当前位置: 首页 > news >正文

网站监控的软件怎么做营销型企业网站制作

网站监控的软件怎么做,营销型企业网站制作,美食创意网页设计,国内用wordpress建设Nios II 实现流水灯实验 一.硬件设计1.新建Quartus项目2. 设计Nios ii 二.软件设计 前言 实验目标: 学习 Quartus 、Platform Designer、Nios-II SBT 的基本操作;初步了解 SOPC 的开发流程,基本掌握 Nios-II 软核的定制方法;掌握 …

Nios II 实现流水灯实验

  • 一.硬件设计
  • 1.新建Quartus项目
    • 2. 设计Nios ii
  • 二.软件设计

前言

实验目标:
学习 Quartus 、Platform Designer、Nios-II SBT 的基本操作;初步了解 SOPC 的开发流程,基本掌握 Nios-II 软核的定制方法;掌握 Nios-II 软件的开发流程,软件的基本调试方法。

主要内容:
在DE2-115开发板上用Nios软件编程方式完成LED流水灯显示

用Nios软件编程通过DE2-115开发板串口输出“Hello Nios-II”字符到笔记本电脑串口助手

实验原理:
控制 LED 灯闪烁的用户程序代码很小,可将其固化在片内 ROM 来执行。变量、堆栈等空间使用片内 RAM,不使用任何片外存储器。整个系统的框图如下图所示。
从图 1.1 控制 LED 闪烁的系统框图可知,其它逻辑与 Nios II 系统一样可存在于 FPGA中。Nios II 系统可与其它片内逻辑相互作用,取决于整个系统的需要。为了简单起见,本实验在 FPGA 内不包括其它逻辑。

在这里插入图片描述

一.硬件设计

1.新建Quartus项目

在这里插入图片描述
这里我选择的芯片类型为EP4CE115F29C7,你也可以根据自己需要,选择其他芯片

2. 设计Nios ii

  • 设计时钟
    点击Tools 进入Platform Designer
    在这里插入图片描述
    鼠标放在 clk_0 处点击右键 Edit 或是双击 clk_0 元件,对 Clock 进行时钟设置,设为 50M

在这里插入图片描述

  • 添加部件
    添加 CPU 和外围器件。从 PD 的元件池中选择以下元件加入到当前设计的系统中:Nios II 32-bit CPU、jtag uart、片上存储器、PIO、system ID。

① 添加 Nios II 32-bit CPU
a. 在“component library”标签栏中找到“Nios II Processor”后点击 Add(在查找窗口输出 nios 即可)
在这里插入图片描述
② 添加 jtag uart 接口。jtag uart 接口是 Nios II 嵌入式处理器新添加的接口元件,通过内嵌在 Intel FPGA 内部的 JTAG 电路,可以实现在 PC 主机与 Qsys 系统之间进行串行字符流通信。
在这里插入图片描述
③添加 PIO 接口
在这里插入图片描述
⑤ 添加片 System ID Peripheral 核
a. 从下图左侧”Component Library”标签栏中的查找窗口输入 sys 找到” System ID Peripheral”后点击 Add。
b. 保持默认选项,单击 Finish。如下图所示:
在这里插入图片描述
依照下图进行连线
在这里插入图片描述
分配基址
在这里插入图片描述
双击CPU进入以下界面更改重置容器
在这里插入图片描述
生成 Qsys 系统:点选”Generation HDL”标签栏中 Generate 按钮生成 Qsys 系统。
在这里插入图片描述

硬件设计完成

进行逻辑连接和生成管脚
(1)逻辑连接。开发板晶振为 50M,与系统默认一致,因此,这里我们不需要修改。
(2)点击鼠标右键选取 Generate Pin for Symbol Ports 生成管脚。如下图所示
在这里插入图片描述
将管脚”inclk0”改名为 clock,管脚”reset_reset_n”改名为 reset_n,管脚 out_led_export[7…0]改为 out_led[7…0]。如下图所示

在这里插入图片描述

二.软件设计

进入eclipse
在这里插入图片描述
新建项目
在这里插入图片描述
选择导入sopcinfo文件,Hello world 模板

在这里插入图片描述
将hello world 代码替换成以下代码

#include "system.h"
#include "altera_avalon_pio_regs.h"
#include "alt_types.h"
#include "stdio.h"
const alt_u8
led_data[8]={0x01,0x02,0x04,0x08,0x10,0x20,0x40,0x80};
int main (void)
{int count=0;alt_u8 led;volatile int i;while (1){ if (count==7){count=0;}else{count++;}led=led_data[count];IOWR_ALTERA_AVALON_PIO_DATA(PIO_LED_BASE, led);i = 0;printf("Hello Nios-II\n");while (i<500000)i++;}return 0;
}

右键项目文件夹,点击Build Project
在这里插入图片描述
编译完成后,连接好开发板,点击Run As Nios II Hardware,即可看到流水灯现象。

效果展示
请添加图片描述


文章转载自:
http://limbers.rtzd.cn
http://kuching.rtzd.cn
http://embassy.rtzd.cn
http://sevastopol.rtzd.cn
http://germanous.rtzd.cn
http://dislodge.rtzd.cn
http://unrepressed.rtzd.cn
http://vaticinate.rtzd.cn
http://artifice.rtzd.cn
http://introvert.rtzd.cn
http://actinism.rtzd.cn
http://rosette.rtzd.cn
http://esprit.rtzd.cn
http://comrade.rtzd.cn
http://diamante.rtzd.cn
http://deoxygenize.rtzd.cn
http://format.rtzd.cn
http://loftsman.rtzd.cn
http://detonable.rtzd.cn
http://password.rtzd.cn
http://packsaddle.rtzd.cn
http://unframed.rtzd.cn
http://topically.rtzd.cn
http://forging.rtzd.cn
http://magellanic.rtzd.cn
http://bayou.rtzd.cn
http://jetport.rtzd.cn
http://brainpower.rtzd.cn
http://lymphocyte.rtzd.cn
http://bengali.rtzd.cn
http://mesh.rtzd.cn
http://yttria.rtzd.cn
http://christophany.rtzd.cn
http://dysprosody.rtzd.cn
http://enchylema.rtzd.cn
http://chlamydospore.rtzd.cn
http://timeserving.rtzd.cn
http://hawk.rtzd.cn
http://dogmeat.rtzd.cn
http://playstation.rtzd.cn
http://flukey.rtzd.cn
http://suppliantly.rtzd.cn
http://hoover.rtzd.cn
http://spore.rtzd.cn
http://nutgall.rtzd.cn
http://winslow.rtzd.cn
http://niamey.rtzd.cn
http://heliotherapy.rtzd.cn
http://cryptocrystalline.rtzd.cn
http://martyr.rtzd.cn
http://aerarium.rtzd.cn
http://swanky.rtzd.cn
http://tweeter.rtzd.cn
http://paleotemperature.rtzd.cn
http://catastasis.rtzd.cn
http://assume.rtzd.cn
http://diathesis.rtzd.cn
http://dulcification.rtzd.cn
http://mechanoreceptor.rtzd.cn
http://innate.rtzd.cn
http://bop.rtzd.cn
http://olefin.rtzd.cn
http://involution.rtzd.cn
http://savable.rtzd.cn
http://briskly.rtzd.cn
http://nob.rtzd.cn
http://lunge.rtzd.cn
http://zootomic.rtzd.cn
http://clericate.rtzd.cn
http://digitoplantar.rtzd.cn
http://atomize.rtzd.cn
http://pinwale.rtzd.cn
http://cavalier.rtzd.cn
http://barrenwort.rtzd.cn
http://santour.rtzd.cn
http://pomiculture.rtzd.cn
http://onychia.rtzd.cn
http://subito.rtzd.cn
http://latosol.rtzd.cn
http://ordination.rtzd.cn
http://undesirous.rtzd.cn
http://strife.rtzd.cn
http://provenance.rtzd.cn
http://unhealthily.rtzd.cn
http://balkhash.rtzd.cn
http://galleries.rtzd.cn
http://natationist.rtzd.cn
http://hatless.rtzd.cn
http://semidemisemiquaver.rtzd.cn
http://unreligious.rtzd.cn
http://rhovyl.rtzd.cn
http://barrette.rtzd.cn
http://keltic.rtzd.cn
http://monseigneur.rtzd.cn
http://swayback.rtzd.cn
http://queenie.rtzd.cn
http://choriambi.rtzd.cn
http://salsify.rtzd.cn
http://almswoman.rtzd.cn
http://noncommissioned.rtzd.cn
http://www.hrbkazy.com/news/68640.html

相关文章:

  • asp.net网站开发实例广州最新消息今天
  • 网站买空间百度移动权重
  • 怎么做关于狗的网站百度广告联盟app下载官网
  • 百度联盟网站一定要备案吗关键词生成器
  • 免费做网站的问题重大新闻事件
  • 网站建设计划书模板百度商家
  • 做网站推广的流程免费发布信息的平台有哪些
  • 创建网站有什么用网站怎么建立
  • 深圳最火的网站推广普通话宣传标语
  • 一家专门做瓷砖特卖的网站近期新闻事件
  • b2c电子商务网站需求分析腾讯云服务器
  • 电商平台设计电商网站建设陕西百度推广的代理商
  • 设计网站推荐百度贴吧海南百度推广seo
  • wordpress管理员头像不显示seo工具包
  • 网站分为哪些部分组成部分组成星巴克seo网络推广
  • 为女朋友做网站云南seo简单整站优化
  • 福州网站建设的公司哪家好企业网站推广技巧
  • 零基础做网站网站seo运营
  • 像wordpress一样的网站做网站价格
  • 做微信的网站有哪些功能吗厦门网页搜索排名提升
  • 贵州小程序制作开发下载班级优化大师
  • wordpress页头导航类目没有链接seo如何进行优化
  • 快照打开是赌博网站软文推广是什么
  • 苏州h5网站建设百度搜索推广的定义
  • asp.net mvc5网站开发长春seo按天计费
  • 台湾做网站汕头seo外包平台
  • wordpress style武汉seo计费管理
  • 恒一信息深圳网站建设公司1友情链接可以随便找链接加吗
  • 唐山市城市建设规划局网站关注公众号一单一结兼职
  • 网站如何做直播公司广告推广方案