实例介绍
这是利用FPGA来读写SD卡的程序,是开源程序。
【实例截图】
【核心代码】
SD
└── SD
├── Aldec
│ └── design0
│ ├── design0.adf
│ ├── fsm.set
│ └── src
│ ├── initSD.asf
│ ├── readWriteSDBlock.asf
│ ├── readWriteSPIWireData.asf
│ ├── sendCmd.asf
│ └── spiCtrl.asf
├── bench
│ ├── testCase0.v
│ └── testHarness.v
├── doc
│ ├── spiMaster_FSM.pdf
│ ├── spiMaster_Specification.pdf
│ └── src
│ └── spiMaster_Specification.sxw
├── model
│ ├── sdModel.v
│ └── wb_master_model.v
├── RTL
│ ├── ctrlStsRegBI.v
│ ├── db
│ │ ├── altsyncram_mrc1.tdf
│ │ ├── altsyncram_peg1.tdf
│ │ ├── logic_util_heursitic.dat
│ │ ├── spiMaster.(0).cnf.cdb
│ │ ├── spiMaster.(0).cnf.hdb
│ │ ├── spiMaster.(10).cnf.cdb
│ │ ├── spiMaster.(10).cnf.hdb
│ │ ├── spiMaster.(11).cnf.cdb
│ │ ├── spiMaster.(11).cnf.hdb
│ │ ├── spiMaster.(12).cnf.cdb
│ │ ├── spiMaster.(12).cnf.hdb
│ │ ├── spiMaster.(13).cnf.cdb
│ │ ├── spiMaster.(13).cnf.hdb
│ │ ├── spiMaster.(14).cnf.cdb
│ │ ├── spiMaster.(14).cnf.hdb
│ │ ├── spiMaster.(15).cnf.cdb
│ │ ├── spiMaster.(15).cnf.hdb
│ │ ├── spiMaster.(16).cnf.cdb
│ │ ├── spiMaster.(16).cnf.hdb
│ │ ├── spiMaster.(17).cnf.cdb
│ │ ├── spiMaster.(17).cnf.hdb
│ │ ├── spiMaster.(1).cnf.cdb
│ │ ├── spiMaster.(1).cnf.hdb
│ │ ├── spiMaster.(2).cnf.cdb
│ │ ├── spiMaster.(2).cnf.hdb
│ │ ├── spiMaster.(3).cnf.cdb
│ │ ├── spiMaster.(3).cnf.hdb
│ │ ├── spiMaster.(4).cnf.cdb
│ │ ├── spiMaster.(4).cnf.hdb
│ │ ├── spiMaster.(5).cnf.cdb
│ │ ├── spiMaster.(5).cnf.hdb
│ │ ├── spiMaster.(6).cnf.cdb
│ │ ├── spiMaster.(6).cnf.hdb
│ │ ├── spiMaster.(7).cnf.cdb
│ │ ├── spiMaster.(7).cnf.hdb
│ │ ├── spiMaster.(8).cnf.cdb
│ │ ├── spiMaster.(8).cnf.hdb
│ │ ├── spiMaster.(9).cnf.cdb
│ │ ├── spiMaster.(9).cnf.hdb
│ │ ├── spiMaster.amm.cdb
│ │ ├── spiMaster.asm_labs.ddb
│ │ ├── spiMaster.asm.qmsg
│ │ ├── spiMaster.asm.rdb
│ │ ├── spiMaster.cbx.xml
│ │ ├── spiMaster.cmp0.ddb
│ │ ├── spiMaster.cmp1.ddb
│ │ ├── spiMaster.cmp2.ddb
│ │ ├── spiMaster.cmp.bpm
│ │ ├── spiMaster.cmp.cdb
│ │ ├── spiMaster.cmp.hdb
│ │ ├── spiMaster.cmp.kpt
│ │ ├── spiMaster.cmp.logdb
│ │ ├── spiMaster.cmp_merge.kpt
│ │ ├── spiMaster.cmp.rdb
│ │ ├── spiMaster.db_info
│ │ ├── spiMaster.eda.qmsg
│ │ ├── spiMaster.fit.qmsg
│ │ ├── spiMaster.hier_info
│ │ ├── spiMaster.hif
│ │ ├── spiMaster.idb.cdb
│ │ ├── spiMaster.lpc.html
│ │ ├── spiMaster.lpc.rdb
│ │ ├── spiMaster.lpc.txt
│ │ ├── spiMaster.map_bb.cdb
│ │ ├── spiMaster.map_bb.hdb
│ │ ├── spiMaster.map_bb.logdb
│ │ ├── spiMaster.map.bpm
│ │ ├── spiMaster.map.cdb
│ │ ├── spiMaster.map.hdb
│ │ ├── spiMaster.map.kpt
│ │ ├── spiMaster.map.logdb
│ │ ├── spiMaster.map.qmsg
│ │ ├── spiMaster.pre_map.cdb
│ │ ├── spiMaster.pre_map.hdb
│ │ ├── spiMaster.root_partition.map.reg_db.cdb
│ │ ├── spiMaster.rpp.qmsg
│ │ ├── spiMaster.rtlv.hdb
│ │ ├── spiMaster.rtlv_sg.cdb
│ │ ├── spiMaster.rtlv_sg_swap.cdb
│ │ ├── spiMaster.sgate.rvd
│ │ ├── spiMaster.sgate_sm.rvd
│ │ ├── spiMaster.sgdiff.cdb
│ │ ├── spiMaster.sgdiff.hdb
│ │ ├── spiMaster.sld_design_entry_dsc.sci
│ │ ├── spiMaster.sld_design_entry.sci
│ │ ├── spiMaster.smart_action.txt
│ │ ├── spiMaster.smp_dump.txt
│ │ ├── spiMaster.sta_cmp.8_slow.tdb
│ │ ├── spiMaster.sta.qmsg
│ │ ├── spiMaster.sta.rdb
│ │ ├── spiMaster.syn_hier_info
│ │ ├── spiMaster.tis_db_list.ddb
│ │ └── spiMaster.tmw_info
│ ├── incremental_db
│ │ ├── compiled_partitions
│ │ │ ├── spiMaster.db_info
│ │ │ ├── spiMaster.root_partition.cmp.cdb
│ │ │ ├── spiMaster.root_partition.cmp.dfp
│ │ │ ├── spiMaster.root_partition.cmp.hdb
│ │ │ ├── spiMaster.root_partition.cmp.kpt
│ │ │ ├── spiMaster.root_partition.cmp.logdb
│ │ │ ├── spiMaster.root_partition.cmp.rcfdb
│ │ │ ├── spiMaster.root_partition.map.cdb
│ │ │ ├── spiMaster.root_partition.map.dpi
│ │ │ ├── spiMaster.root_partition.map.hbdb.cdb
│ │ │ ├── spiMaster.root_partition.map.hbdb.hb_info
│ │ │ ├── spiMaster.root_partition.map.hbdb.hdb
│ │ │ ├── spiMaster.root_partition.map.hbdb.sig
│ │ │ ├── spiMaster.root_partition.map.hdb
│ │ │ └── spiMaster.root_partition.map.kpt
│ │ └── README
│ ├── initSD.v
│ ├── readWriteSDBlock.v
│ ├── readWriteSPIWireData.v
│ ├── sendCmd.v
│ ├── simulation
│ │ └── modelsim
│ │ ├── spiMaster_fast.vo
│ │ ├── spiMaster_modelsim.xrf
│ │ ├── spiMaster.sft
│ │ ├── spiMaster_v_fast.sdo
│ │ ├── spiMaster.vo
│ │ └── spiMaster_v.sdo
│ ├── sm_dpMem_dc.v
│ ├── sm_fifoRTL.v
│ ├── sm_RxFifoBI.v
│ ├── sm_RxFifo.v
│ ├── sm_TxFifoBI.v
│ ├── sm_TxFifo.v
│ ├── spiCtrl.v
│ ├── spiMaster.asm.rpt
│ ├── spiMaster_defines.v
│ ├── spiMaster.done
│ ├── spiMaster.eda.rpt
│ ├── spiMaster.fit.rpt
│ ├── spiMaster.fit.smsg
│ ├── spiMaster.fit.summary
│ ├── spiMaster.flow.rpt
│ ├── spiMaster.jdi
│ ├── spiMaster.map.rpt
│ ├── spiMaster.map.summary
│ ├── spiMaster.pin
│ ├── spiMaster.pof
│ ├── spiMaster.qpf
│ ├── spiMaster.qsf
│ ├── spiMaster.sof
│ ├── spiMaster.sta.rpt
│ ├── spiMaster.sta.summary
│ ├── spiMaster.v
│ ├── spiMasterWishBoneBI.v
│ ├── spiTxRxData.v
│ └── timescale.v
├── sim
│ ├── build_icarus.bat
│ ├── compile.do
│ ├── filelist.icarus
│ ├── modelsim.ini
│ ├── run.do
│ ├── run_icarus.bat
│ └── wave.do
└── syn
├── db
│ ├── spiMaster.db_info
│ └── spiMaster.sld_design_entry.sci
├── incremental_db
│ ├── compiled_partitions
│ │ └── spiMaster.db_info
│ └── README
├── spiMaster_assignment_defaults.qdf
├── spiMaster.qpf
├── spiMaster.qsf
├── spiMaster.qws
└── undo_redo.txt
19 directories, 179 files
标签:
相关软件
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论