module liangzhu(clk_50M,rst,speaker); input clk_50M,rst; output speaker; reg speaker; //分频计数器parameter wide=15;reg[7:0] cnt; //音名数reg[3:0] cnt1; //5MH ...
分类:
其他好文 时间:
2016-07-06 20:20:56
阅读次数:
170
module spi_25M(input clk,input rst_n,output reg sdin,output reg sclk,output reg cs);reg [7:0]cnt;reg[4:0]state;reg[15:0]data; /*always@(clk) if(!rst_n ...
分类:
其他好文 时间:
2016-07-06 20:16:47
阅读次数:
159
module qam64(x,out,clk,clk1,rst);input x,clk,clk1,rst;output [18:0] out;reg [2:0] count;reg [5:0] reg1,reg2;reg [18:0] ssig,csig;reg [15:0] sine;reg [ ...
分类:
其他好文 时间:
2016-07-06 20:14:09
阅读次数:
246
//第一个CS变低的时候要sclk为高电平,第一个跳变沿进行赋值 module spi(input clk,input rst_n,output reg sclk,output reg cs,output reg sdin);reg [2:0]cnt;reg [5:0]state;reg[1:0]s ...
分类:
其他好文 时间:
2016-07-06 20:10:46
阅读次数:
152
module qin(input clk,output reg beep,input [3:0] col,output [3:0] row_data,output [7:0]out ,input rst_n);wire [3:0] key;wire en;parameter STOP=0, DOD= ...
分类:
其他好文 时间:
2016-07-06 20:09:53
阅读次数:
134
按键仿真模型 `timescale 1ns/1ns //仿真模型的建立module key_model(press,key); output reg key; input press; initial begin key = 1'b1; end always@(posedge press) key_ ...
分类:
其他好文 时间:
2016-07-06 20:08:46
阅读次数:
211
RTL结构图 采集模块运用SPI 通讯 MISO方式收集数据 module ad_collect(input sddata,input rst_n,output reg cs,output reg sclk,input clk,output [7:0]seg_data,output done); r ...
分类:
其他好文 时间:
2016-07-06 20:08:11
阅读次数:
363
原文链接:http://www.cnblogs.com/zcy_soft/p/3542501.html 在注册表里新建一个key,按照URL protocol的格式,设置好路径。如下图。也可以写一个.reg文件,打开文件即可注册key了。 , 写一个test的html: 最后就会提示luanch你的 ...
分类:
Web程序 时间:
2016-07-06 14:45:34
阅读次数:
185
在公司做项目 遇到SVN解除关联的问题 后经过解决: 1.解除文件的关联方法: 1.1. 创建一个reg文件 如下 1.2 在文件中填入如下内容并保存: Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Classes ...
分类:
移动开发 时间:
2016-07-05 18:43:12
阅读次数:
336
1 /** 2 * 第一行匹配特殊字符; 3 * 第二行匹配开头和结尾都有空格的; 4 * 第三行匹配结尾有空格的 5 * */ 6 private Boolean DetermineChar(String reqData, String respData) { 7 String reg = "@@ ...
分类:
编程语言 时间:
2016-07-05 15:29:33
阅读次数:
191