Sequential control method for SD card model
A timing control and model technology, applied in the detection of faulty computer hardware, functional testing, etc., can solve the problems of difficult state machine control SD card state transition, code debugging is difficult, and lack of flexibility.
- 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, which is the top-level file of the model, is used to connect the various files of the model, including the interface between SD device (SD device) and external connections. Part of it looks like this:
[0023] module sd_dev
[0024] (
[0025] input sdclk,
[0026] wire cmd,
[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] assign cmd = sd_dev_io. cmd_oe ? sd_dev_io. cmd_out : 'z;
[0041] assign sd_dev_io. cmd_in = cmd;
[0042] assign dat = sd_dev_io.dat_oe ?sd_dev_io.dat_out : 'z;
[0043] assig...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 