A timing control method of SD card model
A timing control and model technology, applied in the detection of faulty computer hardware, function inspection, etc., can solve the problems of difficult state machine control SD card state transition, insufficient flexibility, and poor timing control.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0021] A timing control method for an SD card model, the corresponding SD card model includes the following files:
[0022] sd_dev.sv, this is the top-level file of the model, used to connect various files of the model, including the interface between SDdevice (SD device) and external connection. Some of the content is as follows:
[0023] modulesd_dev
[0024] (
[0025] inputsdclk,
[0026] wirecmd,
[0027] wire[3:0]dat
[0028] );
[0029] --------------------------------------
[0030] --------------------------------------
[0031] sd_dev_io
[0032] sd_dev_io(
[0033] .clk(sdclk)
[0034] );
[0035] sd_dev_test
[0036] sd_dev_test(
[0037] .io(sd_dev_io),
[0038] .mem_io(ahb_slv_mem_io)
[0039] );
[0040] assigncmd=sd_dev_io.cmd_oe?sd_dev_io.cmd_out:'z;
[0041] assignsd_dev_io.cmd_in=cmd;
[0042] assigndat=sd_dev_io.dat_oe?sd_dev_io.dat_out:'z;
[0043] assignsd_dev_io.dat_in=dat;
[0044] endmodule.
[0045] sd_dev.svh, which is the header...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 