xmsmmc_minimal.v
来自「MMC卡的VHDL源代码实现」· Verilog 代码 · 共 37 行
V
37 行
//// BootX-XMSMMC IP Core demonstration// Minimal configuration - to show the absolute minimal resource useage// This configuration uses 20 Macrocells in Xilinx XCR3032// // Copyright 2004-2005 Openchip// http://www.openchip.org//`include "mmc_boot_defines.v"module xmsmmc_minimal( cclk, done, init, mmc_cmd, mmc_clk );// Connect to FPGA CCLK, INIT, DONE// Init and Done need an external PULLUP Resistor!input cclk;input init; input done; // MMC Card DAT goes to FPGA DIN// MMC Card CS (pin 1) tie high or leave floating// Connect to MMC Card CMD and CLKinout mmc_cmd;output mmc_clk;// Instantiate XMSMMC IPxmsmmc_core boot_i ( .cclk ( cclk ), .done ( done ), .init ( init ), .mmc_cmd ( mmc_cmd ), .mmc_clk ( mmc_clk ), .dis ( 1'b0 ), // Tristate control not used .error ( ) // Error output not used );endmodule
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?