当前位置:网站首页>基于FPGA的SD卡读写设计及仿真verilog
基于FPGA的SD卡读写设计及仿真verilog
2022-06-09 17:55:00 【QQ_778132974】
本设计实现SD卡的读取和写入,使用quartusII,也可在vivado上实现,并实现了仿真测试。
下面是工程截图和仿真截图:


顶层模块代码设计:
module sd_card_test(
input clk,
input rst_n,
input key1,
output SD_nCS,
output SD_DCLK,
output SD_MOSI,
input SD_MISO,
output [5:0] seg_sel,
output [7:0] seg_data
);
parameter S_IDLE = 0;
parameter S_READ = 1;
parameter S_WRITE = 2;
parameter S_END = 3;
reg[3:0] state;
wire sd_init_done;
reg sd_sec_read;
wire[31:0] sd_sec_read_addr;
wire[7:0] sd_sec_read_data;
wire sd_sec_read_data_valid;
wire sd_sec_read_end;
reg sd_sec_write;
wire[31:0] sd_sec_write_addr;
reg [7:0] sd_sec_write_data;
wire sd_se
边栏推荐
- AI首席架构师4-AICA-百度CV技术应用及产业落地心得
- How to learn the process of KD tree construction and search with cases?
- Side B of the charging pile is Not only official account? And smart charging applet!
- build sqllite from amalgamation version
- 微信小程序根据经纬度获取省市区信息
- Word使用技巧
- Mediapipe body and hand key points
- 华为云零代码开发图片压缩工具
- [long time series prediction] time series decomposition of [2] model components for detailed explanation of aotoformer code
- MySQL parallel replication (MTS) principle (full version)
猜你喜欢

新股解读|位列活动内容营销行业第二位,多想云推SaaS产品打造竞争壁垒

NLP-RNN

OpenCV中的带参数宏定义CV_Assert()的作用

Moco -Momentum Contrast for Unsupervised Visual Representation Learning

Operating instructions for abbexa AEC chromogen Kit

How to learn the process of KD tree construction and search with cases?

Macro definition CV with parameters in opencv_ Role of assert()

redis源码学习-03_动态字符串SDS

I/O流

Solve the chrome prompt: "your connection is not a private connection" and there is no continue access option
随机推荐
Operating instructions for abbexa AEC chromogen Kit
Zhichong launched net zero series energy storage and charging all-in-one machine to create a net zero future with BYD
秒云云原生信创全兼容解决方案,推动信创产业加速落地
IIS how to open the MD file (how to solve the error when is cannot open the MD file)
Wake up from a dream
Le langage C résout le problème de l'escalier
[long time series prediction] time series decomposition of [2] model components for detailed explanation of aotoformer code
How to build a real-time development platform to deeply release the value of enterprise real-time data?
[work with notes] multiple coexistence of ADB, sound card, network card and serial port of Tina system
【长时间序列预测】Aotoformer 代码详解之[1]数据预处理及数据读取
Word使用技巧
ZigBee networking has never been so simple!
Fastjson反序列化远程代码执行漏洞
DAY6-T1345&T39 -2022-01-21-非自己作答
NLP text representation word bag model and TF-IDF
AUTOCAD——坐标引线标注
redis源码学习-01_Clion中调试redis源码
AI首席架构师4-AICA-百度CV技术应用及产业落地心得
word论文格式
Bienvenue à la plateforme d'écriture InfoQ!