Unlock instant, AI-driven research and patent intelligence for your innovation.

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.

Active Publication Date: 2014-07-23
SHANDONG SINOCHIP SEMICON
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the existing technology, the SD card model is generally designed using the design idea and using the Verilog language. Although this method can design the SD card model, but because this type of design uses clock jumps for timing control, each control logic is performed in parallel.
[0005] This type of design method is not flexible enough, which is manifested in that it cannot control the timing well on the one hand. For example, for the timing value Ncr of the SD standard, if the idea of ​​this type of design is adopted, that is, after a certain clock triggers and then delays Ncr clock cycles, which makes the code difficult to debug, and it is difficult to make its value random between 2 and 64
[0006] On the other hand, it is difficult to use the state machine to control the state transition of the SD card. For example, the card identification mode is a sequential process, and the SD card states in the data transmission mode jump to each other.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Sequential control method for SD card model
  • Sequential control method for SD card model

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a sequential control method for an SD card model. A category for random SD card standard time sequential values is built for excitation of a verification platform for SD card model verification, the category for the random SD card standard time sequential values is matched, and a category related to different time sequential values to generate corresponding time sequential parameters is built; the method adapts to the SD card model to be detected, and when the excitation is generated according to the command operation and data reading and writing, the corresponding time sequential values and the corresponding time sequential parameters are configured for different time frames of the command operation and data reading and writing. According to the method, the time sequence of the SD card model can be controlled better.

Description

technical field [0001] The invention relates to a timing control method of an SD card (Secure Digital Memory Card, secure digital memory card) model, belonging to the technical field of System on a chip (SoC) chip verification. Background technique [0002] For an SoC chip, in some applications it is necessary to mount external devices, such as SD cards, which requires verifying the controller of the SD card at the SoC module level and verifying whether the SoC system can operate the SD card correctly at the top layer. Module-level verification and top-level verification are verified on the computer using simulation software, so if you want to verify the correctness of the SD function of the SoC chip during simulation, you need a compatible SD card model. [0003] Specifically, the SD card is an external device of the SD bus. It is connected to the on-chip bus AHB (Advanced High Performance Bus) through the SD controller. The controller sends commands to the SD card through ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F11/26
Inventor 李风志杨萌姚香君戴绍新
Owner SHANDONG SINOCHIP SEMICON