02 2014 档案

sqrt in fpga
摘要::Newton-RaphsonSRT-RedundantNon-Redundant 阅读全文

posted @ 2014-02-15 20:04 testset 阅读(220) 评论(0) 推荐(0)

Booth's multiplication algorithm
摘要:fromhttp://en.wikipedia.org/wiki/Booth%27s_multiplication_algorithmHow it works Consider a positive multiplier consisting of a block of 1s surrounded by 0s. For example, 00111110. The product is given by: where M is the multiplicand. The number of operations can be reduced to two by rewriting the s. 阅读全文

posted @ 2014-02-15 20:01 testset 阅读(413) 评论(0) 推荐(0)

win-r
摘要:1、cleanmgr: 打开磁盘清理工具 2、compmgmt.msc: 计算机管理 3、conf: 启动系统配置实用程序 4、charmap: 启动字符映射表 5、calc: 启动计算器 6、chkdsk.exe: Chkdsk磁盘检查 7、cmd.exe: CMD命令提示符 8、certmgr.msc: 证书管理实用程序 9、Clipbrd: 剪贴板查看器 10、dvdplay: DVD播放器 11、diskmgmt.msc: 磁盘管理实用程序 12、dfrg.msc: 磁盘碎片整理程序 13、devmgmt.msc: 设备管理器 14、dxdiag: 检查Dir... 阅读全文

posted @ 2014-02-14 22:41 testset 阅读(1130) 评论(0) 推荐(0)

nonblocking vs blocking funny example
摘要:1modulehwscan;2integerfd;3initial4begin5fd=$fopen("data2o.txt","w");6end7always@(posedgetb.clk)begin8$fwrite(fd,"hw:\t(int=%d,reg=%d)\n",tb.Count,tb.rcnt);9end10endmodulehwsan1`timescale1ns/100ps;2moduletb;3regclk;456integerCount;7reg[7:0]rcnt;8/////////////////////9int 阅读全文

posted @ 2014-02-14 22:28 testset 阅读(183) 评论(0) 推荐(0)

`define compile error
摘要:Model Technology ModelSim ALTERA vlog 10.1d Compiler 2012.11 Nov 2 2012-- Compiling module cordic_atan** Error: cordic_atanp2.sv(146): near "[": syntax error, unexpected '[', expecting ')'`define ATAN_ITER(x) cordicatan_micro #( \ .wid (wi) \ , .wa (wo) \ , .ITER_SHIFT (x) 阅读全文

posted @ 2014-02-14 22:14 testset 阅读(237) 评论(0) 推荐(0)

when to use define macro vs generate
摘要:Summary: after trying some time to differentiate our design with IFDEFs and Generates, we realized that it is not practical. Now we maintain two source codes in parallel - one for each platform. Use IFDEFs in top modules to remove/switch between modules and remove unnecessary ports and parameter... 阅读全文

posted @ 2014-02-12 15:49 testset 阅读(165) 评论(0) 推荐(0)

`define marcos usage in system verilog
摘要:Note it is not supported in verilog http://en.wikipedia.org/wiki/SystemVerilogThe preprocessor has improved `define macro-substitution capabilities, specifically substitution within literal-strings (""), as well as concatenation of multiple macro-tokens into a single word.link fromhttps:// 阅读全文

posted @ 2014-02-12 15:40 testset 阅读(1489) 评论(0) 推荐(0)

导航

点击右上角即可分享
微信分享提示