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

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.

Active Publication Date: 2015-11-18
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
  • A timing control method of SD card model
  • A timing control method of 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, 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...

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 time sequence control method for an SD card (Secure Digital Memory Card, secure digital memory card) model, and belongs to the technical field of system on chip (System on chip, SoC) chip verification. Background technique [0002] For a SoC chip, in some applications, external devices, such as SD cards, need to be mounted, 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 performed 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 (AdvancedHighPerformanceBus) through the SD controller. The controller sends commands to the...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/26
Inventor 李风志杨萌姚香君戴绍新
Owner SHANDONG SINOCHIP SEMICON