今天为了熟悉axiLite的自定义ip核设计, 把LED和SW的往AXI总线输入输出定义在一个ip核中, BD设计如下: ip核顶层文件(增加了LED_Out和SW_In的定义)mygpio_v1.0.v: module mygpio_v1_0 # ( // Users to add paramet...
分类:
其他好文 时间:
2014-06-18 17:36:35
阅读次数:
299
三个程序集:主程序集:BaseApp.exe接口程序集:IBaseApplication插件程序集:TestAttri=======================================================================================在接口程...
分类:
其他好文 时间:
2014-06-18 17:34:41
阅读次数:
157
用户轻量级的数据持久化,主要用于保存用户程序的配置等信息,以便下次启动程序后能恢复上次的设置。该数据实际上是以“键值对”形式保存的(类似于NSDictionary),因此我们需要通过key来读取或者保存数据(value)。具体使用如下:1、获取一个NSUserDefaults引用:NSUserDef...
分类:
其他好文 时间:
2014-06-18 17:34:04
阅读次数:
131
Given a binary tree, return thepostordertraversal of its nodes' values.For example:Given binary tree{1,#,2,3}, 1 \ 2 / 3return[3,2,1].No...
分类:
其他好文 时间:
2014-06-18 17:32:02
阅读次数:
168
.Net 内存溢出(System.OutOfMemoryException)的常见情况和处理方式总结在什么情况下会出现OutOfMemonryException呢? 在我们试图新建一个对象时,而垃圾收集器又找不到任何可用内存时被抛出,这种情况下我们是可以捕获该异常的; 另一种情况是,CLR需要内存时...
分类:
Web程序 时间:
2014-06-18 17:31:18
阅读次数:
201
最近几天折腾了一下Debian 7 (gnome桌面DVD版,KDE桌面CD版最后会提到),总的来说收获还是挺大的,对比以前使用ubuntu,debian 7给我的感觉像是一个新生婴儿,不带多余的花俏,那么的简单和单纯。话不多说,下面写出自己安装完debian后碰到的一些问题及解决方法。1.安装系统...
分类:
其他好文 时间:
2014-06-18 17:28:10
阅读次数:
313
Given an unsorted array of integers, find the length of the longest consecutive elements sequence.For example,Given[100, 4, 200, 1, 3, 2],The longest ...
分类:
其他好文 时间:
2014-06-18 17:25:33
阅读次数:
155
一、三目运算符 三目运算符的一种简便写法:bool b = str == "abc" ? false : true; 当是自身时,实际上别吝啬那一个括号,有一个括号,实际上更容易一看就看懂: int i = 0; i = (i == 0) ? 1 : 0; 实际上这样的代码更好看:bean.B...
分类:
其他好文 时间:
2014-06-18 17:24:17
阅读次数:
174
Spring Integration 配置 ...
分类:
移动开发 时间:
2014-06-18 17:23:33
阅读次数:
246
位于/etc/vim/的vimrc" All system-wide defaults are set in $VIMRUNTIME/debian.vim and sourced by" the call to :runtime you can find below. If you wish to....
分类:
其他好文 时间:
2014-06-18 17:21:42
阅读次数:
271