- 1
- 2
- 3
- 4
- 5
华邦w25x16 SPIFlash Read ID FPGA(EP4CE6)实验Verilog逻辑源
资料介绍
华邦w25x16 SPIFlash Read ID FPGA(EP4CE6)实验Verilog逻辑源码Quartus工程文件+文档说明资料,FPGA为CYCLONE4系列中的EP4CE6E22C8. 完整的工程文件,可以做为你的学习设计参考。
**------------------------------------------------------------------------------------------------------
** Modified by:
** Modified date:
** Version:
** Descriptions: Read the Device ID of the W25X16 Flash
**
**------------------------------------------------------------------------------------------------------
********************************************************************************************************/
module W25X16 (
//input signal
input sys_clk ,
input sys_rst_n ,
input W25X16_DO ,
//output signal
output reg W25X16_CS ,
output reg W25X16_CLK ,
output reg W25X16_DIO ,
output reg [7:0] LED
);
//reg define
reg [5:0] counter ;
reg [5:0] clk_cnt ;
reg [15:0] shift_buf ;
//wire define
wire div_clk1 ;
wire div_clk2 ;
/*******************************************************************************************************
** Main Program
**
********************************************************************************************************/
//creat a clock about 1MHz
always @(posedge sys_clk or negedge sys_rst_n) begin
if ( sys_rst_n ==1'b0 )
clk_cnt <= 6'b0;
else
clk_cnt <= clk_cnt + 1'b1;
end
assign div_clk1 = clk_cnt[5];
assign div_clk2 = ~clk_cnt[5];
//get a counter that width is 6 bits
always @(posedge div_clk1 or negedge sys_rst_n) begin
if ( sys_rst_n ==1'b0 )
counter <= 6'b0;
else
counter <= counter + 6'b1;
end
//get the enable signal of the w25x16,and the low level effectively
always @(*) begin
if ( counter >= 8 && counter <= 58 )
W25X16_CS <= 1'b0;
部分文件列表
文件名 | 文件大小 | 修改时间 |
w25x16_Read_ID/Project/RTL/W25X16.v | 5KB | 2014-05-10 16:18:10 |
w25x16_Read_ID/Project/RTL/W25X16.v.bak | 4KB | 2014-05-07 23:09:02 |
w25x16_Read_ID/Project/stp1.stp | 101KB | 2014-05-08 23:44:10 |
w25x16_Read_ID/Project/W25X16.asm.rpt | 7KB | 2014-05-10 16:19:00 |
w25x16_Read_ID/Project/W25X16.cdf | 1KB | 2014-05-08 22:51:40 |
w25x16_Read_ID/Project/W25X16.done | 1KB | 2014-05-10 16:19:14 |
w25x16_Read_ID/Project/W25X16.fit.rpt | 521KB | 2014-05-10 16:18:52 |
w25x16_Read_ID/Project/W25X16.fit.smsg | 1KB | 2014-05-10 16:18:50 |
w25x16_Read_ID/Project/W25X16.fit.summary | 1KB | 2014-05-10 16:18:50 |
w25x16_Read_ID/Project/W25X16.flow.rpt | 15KB | 2014-05-10 16:19:14 |
w25x16_Read_ID/Project/W25X16.jdi | 4KB | 2014-05-10 16:19:00 |
... |
最新上传
-
21ic下载 打赏310.00元 3天前
用户:zhengdai
-
21ic下载 打赏310.00元 3天前
用户:小猫做电路
-
21ic下载 打赏310.00元 3天前
用户:gsy幸运
-
21ic下载 打赏210.00元 3天前
用户:kk1957135547
-
21ic下载 打赏210.00元 3天前
用户:w178191520
-
21ic下载 打赏210.00元 3天前
用户:liqiang9090
-
21ic下载 打赏100.00元 3天前
用户:jh03551
-
21ic下载 打赏110.00元 3天前
用户:1111111ffgg
-
21ic下载 打赏30.00元 3天前
用户:sun2152
-
21ic下载 打赏25.00元 3天前
用户:玉落彼岸
-
21ic下载 打赏20.00元 3天前
用户:xuzhen1
-
21ic下载 打赏15.00元 3天前
用户:WK520077778
-
21ic下载 打赏15.00元 3天前
用户:x15580286248
-
21ic下载 打赏25.00元 3天前
用户:天融之境
-
21ic下载 打赏5.00元 3天前
用户:qminiup
-
21ic下载 打赏5.00元 3天前
用户:xiaomage1991
-
21ic下载 打赏5.00元 3天前
用户:Nara
-
21ic小能手 打赏5.00元 3天前
-
21ic小能手 打赏5.00元 3天前
-
21ic小能手 打赏5.00元 3天前
资料:2KW超声波电源设计
-
21ic小能手 打赏5.00元 3天前
-
21ic小能手 打赏10.00元 3天前
-
21ic小能手 打赏5.00元 3天前
-
21ic小能手 打赏5.00元 3天前
资料:八卦PCB图
-
21ic小能手 打赏5.00元 3天前
-
21ic小能手 打赏5.00元 3天前
-
21ic小能手 打赏5.00元 3天前
资料:扫码枪仿真和读取范例
-
21ic小能手 打赏5.00元 3天前
-
21ic小能手 打赏5.00元 3天前
-
21下载积分 打赏10.00元 3天前
用户:玉落彼岸
-
21ic下载 打赏310.00元 3天前
用户:小猫做电路
-
21ic下载 打赏310.00元 3天前
用户:zhengdai
-
21ic下载 打赏310.00元 3天前
用户:gsy幸运
-
21ic下载 打赏260.00元 3天前
用户:kk1957135547
-
21ic下载 打赏210.00元 3天前
用户:w178191520
-
21ic下载 打赏230.00元 3天前
用户:liqiang9090
-
21ic下载 打赏120.00元 3天前
用户:1111111ffgg
-
21ic下载 打赏25.00元 3天前
用户:sun2152
-
21ic下载 打赏30.00元 3天前
用户:WK520077778
-
21ic下载 打赏25.00元 3天前
用户:xzxbybd
全部评论(0)