步骤1新建或打开Quartus II工程,用QII自带文本编辑器打开HDL文件。图1 用QII自带的文本编辑器打开HDL文件步骤2选择File>Create / Update>Creat Symbol Files for Current File,等待图3所示画面出现即可。图2 选择Creat Sy...
分类:
其他好文 时间:
2014-08-05 18:32:19
阅读次数:
344
Quartus II综合器对于使能信号的产生 对比下面的代码和综合结果(代码取自crazybingo例程):always@(posedge clk or negedge rst_n)begin if(!rst_n) delay_cnt <= 0; else if(de...
分类:
其他好文 时间:
2014-08-05 18:11:29
阅读次数:
210
Follow up for "Unique Paths":Now consider if some obstacles are added to the grids. How many unique paths would there be?An obstacle and empty space i...
分类:
其他好文 时间:
2014-08-05 18:09:19
阅读次数:
168
题目:Given a string s, partition s such that every substring of the partition is a palindrome.Return the minimum cuts needed for a palindrome partition....
分类:
编程语言 时间:
2014-08-05 13:32:29
阅读次数:
252
题目:Given a binary tree, return the bottom-up level order traversal of its nodes' values. (ie, from left to right, level by level from leaf to root).F....
分类:
编程语言 时间:
2014-08-05 05:18:08
阅读次数:
340
http://acm.hdu.edu.cn/showproblem.php?pid=3277题意:有2N个孩子,其中有N个女生,N个男生,每一个女生可以找一个没有争吵过得男生组成一个家庭,并且可以和与她关系好的女生互换男生。与HDU 3081 Marriage Match II不同的是,女生交换朋友...
分类:
其他好文 时间:
2014-08-04 17:25:47
阅读次数:
219
1 概述Nios II 的boot过程要经历两个过程。FPGA器件本身的配置过程。FPGA器件在外部配置控制器或自身携带的配置控制器的控制下配置FPGA的内部逻辑。如果内部逻辑中使用了Nios II,则配置完成的FPGA中包含有Nios II软核CPU。Nios II本身的引导过程。一旦FPGA配置...
分类:
移动开发 时间:
2014-08-04 17:10:17
阅读次数:
335
题目:Follow up for "Remove Duplicates":What if duplicates are allowed at most twice?For example,Given sorted array A = [1,1,1,2,2,3],Your function shou....
分类:
编程语言 时间:
2014-08-04 13:24:27
阅读次数:
256
问题:找出只出现一次的数,其他数出现了三次分析:将数转化为二进制的位,数出现了三次相当于其对应的二进制上每个位置出现了3次,这里有个抽象的地方就是,例如数中包含1,3两个其二进制的第一位都包含1, 怎么区分,其实并不需要区分,无论是数字3的还是数字1的二进制第一位的1都无所谓,因为我们完全可以...
分类:
其他好文 时间:
2014-08-04 10:53:27
阅读次数:
296
题目:Follow up for problem "Populating Next Right Pointers in Each Node".What if the given tree could be any binary tree? Would your previous solution ....
分类:
编程语言 时间:
2014-08-04 10:31:57
阅读次数:
239