测试方法采用了VDMA仅有MM2S通道,
内存中的图像帧是用MicroBlaze核写入的一个colorbar.VDMA的mhs部分如下,
因为我的输出用了Digilent的HDMI核,而这个HDMI核是32位的,我自己写了个axis_24_32的位宽转换的ip,这个暂且按下不表.BEGIN
axi_...
分类:
其他好文 时间:
2014-04-29 17:23:46
阅读次数:
486
Stone Game, Why are you always there?Time Limit:
2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total
Submission(s): 393Accepted S...
分类:
其他好文 时间:
2014-04-29 17:23:45
阅读次数:
444
遇到一段代码,从数据库里读出来带 \ 字符需要转义成中文~用到url_decode(); 1
//$info 为刚从数据库中读取的二维数组 2 3 foreach($info as $key1 => &$value1) { 4
foreach($key1 as $key2 => &$val...
分类:
Web程序 时间:
2014-04-29 17:22:47
阅读次数:
709
并查集的路径压缩。 1 #include 2 #include 3 4 #define MAXNUM
100005 5 6 int deg[MAXNUM], bin[MAXNUM]; 7 char isCycle[MAXNUM]; 8 9 int
find(int x) {10 i...
分类:
其他好文 时间:
2014-04-29 17:22:46
阅读次数:
308
1 /// 2 /// 将集合转换成DataTable 3 /// 4 /// 集合 5 /// 6
public static DataTable ToDataTable(IList list) 7 ...
分类:
其他好文 时间:
2014-04-29 17:22:46
阅读次数:
321
之前测试过,在centos下,所有字符集全部设为utf8,可以同时满足命令行和网页的需求。在windows下,由于默认字符集为gbk,所以在命令行操作mysql时,需要设置set
character_set_client = gbk;今天发现,其实是要设置set character_set_resu...
分类:
数据库 时间:
2014-04-29 17:22:46
阅读次数:
630
恩,开始写API编程的第三节,其实马上要考试了,但是不把这节写完,心里总感觉不舒服啊。写完赶紧去复习啊
在前两节中,我们介绍了Windows API 编程的一些基本概念和一个最基本API函数
MessageBox的使用,在这节中,我们就来正式编写一个Windows的窗口程序。在具体编写代码之前,我....
问 1 class B 2 { 3 public: 4 virtual void fun()
5 { 6 printf("fun in B\n"); 7 } 8 void b1() 9 {10 printf("b1 in B\n...
分类:
其他好文 时间:
2014-04-29 17:22:46
阅读次数:
424
//控件名:myNewClock//作者:刘典武//时间:2011-06-10using
System;using System.Collections.Generic;using System.ComponentModel;using
System.Drawing;using System.Dat...
分类:
其他好文 时间:
2014-04-29 17:21:46
阅读次数:
538
如果用下面第1行的写法,调用[NSObject
cancelPreviousPerformRequestsWithTarget:self
selector:@selector(removeFromSuperview) object:nil];可以生效如果用下面第3行的写法,调用[NSObject
c...
分类:
其他好文 时间:
2014-04-29 17:21:46
阅读次数:
326