一、软件与硬件平台 软件平台: 操作系统:Windows 8.1 开发套件:ISE14.7 硬件平台: FPGA型号:XC6S45X-CSG324 二、ChipScope介绍 ChipScope是Xilinx提供的一个校验FPGA设计的工具。它的本质是一个虚拟的逻辑分析仪,能调用FPGA内部的逻辑资 ...
分类:
其他好文 时间:
2018-10-19 02:11:25
阅读次数:
361
轉自 https://blog.csdn.net/sinat_28576553/article/details/80258619 四个基本概念TP、True Positive 真阳性:预测为正,实际也为正 FP、False Positive 假阳性:预测为正,实际为负 FN、False Negati ...
分类:
系统相关 时间:
2018-10-19 00:00:25
阅读次数:
930
题意:给你多个数字串,求本质不同的子串和(去掉前导零) 题解:建广义sam,刚开始一直想的是用l来计算,发现前导零对l的影响根本消不掉,所以不会做= =,原来应该是直接用一个新的数组表示到当前有多少个子串就好了 // pragma GCC optimize(2) // pragma GCC opti ...
分类:
其他好文 时间:
2018-10-18 14:07:57
阅读次数:
145
#include "iphlpapi.h" #pragma comment(lib, "iphlpapi.lib ") CString ODFSDownLoadThread::GetMacAddress() { CString strMac; strMac.Format(_T("")); u_cha... ...
分类:
系统相关 时间:
2018-10-17 14:58:19
阅读次数:
175
听说有人跟我比代码长…… 祭出祖传的高精度类型水一波…… 大概也就9k代码这样子…… 代码: cpp pragma GCC optinize(3) pragma comment(linker, "/STACK:102400000,10240000") include define LEN 35663 ...
分类:
其他好文 时间:
2018-10-15 20:25:05
阅读次数:
172
1 #include 2 #include 3 #include 4 #include 5 #pragma comment(lib, "shell32.lib") 6 using namespace std; 7 #ifdef _UNICODE 8 typedef wstring tstring; ... ...
分类:
编程语言 时间:
2018-10-13 18:17:18
阅读次数:
365
#include <stdio.h> #include <locale.h> #include <windows.h> #include <tlhelp32.h> #include <tchar.h> #include <Psapi.h> #pragma comment (lib,"Psapi.li ...
1>e:\极速考拉下载目录\vs2013(visual studio 2013旗舰版)\vc\include\xtgmath.h(214): warning C4602: #pragma pop_macro:“new”该标识符前面没有 #pragma push_macro1>e:\极速考拉下载目录\ ...
分类:
其他好文 时间:
2018-10-12 14:00:09
阅读次数:
310
打算练习Socket的时候用用,最近有点小事情,没时间继续完善,先把写的这些代码贴上来,有空了再完善一下。 HardwareInfo.h 1 #include <stdio.h> 2 #include <windows.h> 3 #include <vfw.h> 4 5 #pragma commen ...
分类:
编程语言 时间:
2018-10-07 10:38:08
阅读次数:
223
转 在面试中,常会考到结构体的对齐方式,因此对其进行总结。 1、在没有#pragma pack宏的情况下 原则1:每个成员按类型的大小对齐,即相对于结构体地址的成员地址能被类型大小整除.并且结构体的大小(sizeof(A))必须为成员所含类型中最大值(sizeof(double))的整数倍,不够就补 ...
分类:
其他好文 时间:
2018-10-05 10:50:03
阅读次数:
145