摘要:经过试验这个引脚外部连接可以是电阻上拉至3.3v,如下图或者内部直接上拉至VCC。 下载 (6.47 KB)黑金1小时前但是不能使用类似单片机复位电路的RC电路 否则可能会导致下载到配置芯片里的程序有问题或者固化程序后重新上电导致系统不能启动。
阅读全文
摘要:错误提示SOPC_BUILDER_PATH 不对艾米电子工作室-让开发变得更简单我用的是8.1,下载的网上那个EP2C8_NIOS工程,解压缩后直接编译原来里面带的那个NIOS工程,又出现了提示SOPC_BUILDER_PATH没有设定。如果直接自己建1个NIOS工程编译没有问题,在网上找了下虽然不是这个错误,但都是设置环境变量问题。这个原因的解决办法是在环境变量里增加这个变量,但都是针对7.1的...
阅读全文
摘要:帖子链接:http://www.amy-studio.com/bbs/thread-598-1-1.html首先按照要求解压缩,把ip核放在了指定位置,未动quartus的工程,直接在nios中打开目录下的nios工程编译有误,提示如下:make -s all includes make: *** No rule to make target `C:/altera/81/nios2eds/bin/...
阅读全文
摘要:转自:http://blog.ednchina.com/riple/121990/message.aspxriple 的本科和硕士毕业设计都是关于8051 IP core的。本科毕设在Flex10k上实现了8051的部分指令集;硕士毕设完成了一个指令集和外设都可以配置的8051,核心工作是完成了指令集的自动配置。这算是我的第一个EDA产品了,采用的语言是Matlab,可以对用户的.hex编程文件进...
阅读全文
摘要:转自:http://www.cnblogs.com/chentuo/articles/1427402.html 实验:PIO外部中断Author:Chen TuoCopyright © Chen Tuo, 2008-2009. All rights reserved.2008年3月1日创建2009年3月26日修改1. 实验目的熟悉NiosII PIO设备的访问方法。学习边沿触发中断。2....
阅读全文
摘要:SOPC技术基础教程 候建军,郭勇 清华大学
阅读全文
摘要:Nios II Step By Step(中文)/Files/xinjie/Nios_II_Step_By_Step_中文.pdf
阅读全文
摘要:#define IOADDR_ALTERA_AVALON_PIO_DATA(base) __IO_CALC_ADDRESS_NATIVE(base, 0)//定义从PIO_DATA读数据#define IORD_ALTERA_AVALON_PIO_DATA(base) IORD(base, 0) //定义向PIO_DATA写数据#define IOWR_ALTERA_AVALON_PIO_DATA...
阅读全文
摘要:NIOS数据类型来自:Nios II Software Developer's Handbook
阅读全文
摘要:#define LED_NAME "/dev/led" //设备名#define LED_TYPE "altera_avalon_pio" //sopc对应的ip核#define LED_BASE 0x010020c0 //基地址#define LED_SPAN 16 //存储地址的总大小#define LED_DO_TEST_BENCH_WIRING 0#define LED_DRIVEN_SI...
阅读全文
摘要:转载:http://blog.ftliang.com/post/416/Error: One or more components could not be located (altera_nios2). Check Global User Libraries under Tools->Options... in Quartus II.今天我在7.1下也有这个问题,找到了如下的回复,问题实际...
阅读全文
摘要:When building a NiosII C/C++ application project, the Nios II IDE references the SOPC Builder system file (.ptf) to create executable code that matches the target hardware. After creating a project ba...
阅读全文
摘要:http://www.edacn.net/html/13/85113-2320.htmlsytem.h文件时HAl系统库的基础。这个文件提供了NiosII系统硬件的完全的描述。他作为软件和硬件设计过程的转接点而存在,作为一个程序员在System.h中不是所有的信息对你是有用的,在你的C文件中它几乎没有必要明确地包括进去。尽管如此,system.h拥有基本问题的答案:在你的系统中有什么样的硬件? ...
阅读全文
摘要:[FPGA][NiosII]内置LCD控制器使用心得学习niosII很好玩,特别是在解决问题的时候实验3 NiosII 内置字符型LCD控制器实验实验平台:Altera CycloneII EP2C8 核心板本实验使用如下IP:NiosII软核、SDRAM控制器、字符型LCD控制器、JTAGUART(调试很方便)、PLL锁相环源程序:使用Nios IDE内置Hello World模板修改得到(其他...
阅读全文
摘要:NiosII处理器的启动可采用两种方式:自动初始化和用户自定义初始化,nios中alt_main 和main的区别也在这里。如果NiosII处理器自动初始化,ANSIC标准定义应用程序可以通过调用main()来开始执行。在调用main()之前,应用程序假定运行环境和所有的服务系统都被初始化并准备运行。初始化可以被硬件抽象层(HAL)系统库自动执行。程序员不需要考虑系统的输出设备以及如何初始化每一个...
阅读全文
摘要:How FPGAs workLogic-cellsFPGAs are built from one basic "logic-cell", duplicated hundreds or thousands of time. A logic-cell is basically a small lookup table ("LUT"), a D-flipflop and a 2-to-1 mux (t...
阅读全文
摘要:Crossing clock domains - Data busData bus to another clock domainTo move a data bus (2 bits wide or more) from one clock domain to another, we have several techniques to our disposal.Here are a few id...
阅读全文
摘要:Crossing clock domains - TaskGetting a task done in another clock domainIf the clkA domain has a task that needs to be completed in the clkB domain, you can use the following design.Here's one way to ...
阅读全文
摘要:Crossing clock domains - FlagA flag to another clock domainIf the signal that needs to cross the clock domains is just a pulse (i.e. it lasts just one clock), we call it a "flag". The previous design ...
阅读全文
摘要:Crossing clock domains - Signalfrom:http://www.fpga4fun.com/CrossClockDomain1.htmlA signal to another clock domainLet's say a signal from clkA domain is needed in clkB domain. It needs to be "synchron...
阅读全文