FPGA Central - World's 1st FPGA / CPLD Portal

FPGA Central

World's 1st FPGA Portal

 

Go Back   FPGA Groups > NewsGroup > Verilog

Verilog comp.lang.verilog newsgroup / usenet

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-22-2006, 08:58 PM
Stephen Williams
Guest
 
Posts: n/a
Default SD/MMC card Simulation Model

Hi,

I'm working on an system (in Verilog) that I want to interact with
MMC and/or SD memory cards, so I'm looking for a Verilog model for
any MMC card (or a generic model of an MMC card) that I can use for
system-level test benches.

I need it to work under Icarus Verilog. Samsung has models of their
MMC cards, but they are `protect'ed so they do me no good. Other
vendors use Denali, which also seems closed to Icarus Verilog.

--
Steve Williams "The woods are lovely, dark and deep.
steve at icarus.com But I have promises to keep,
http://www.icarus.com and lines to code before I sleep,
http://www.picturel.com And lines to code before I sleep."
Reply With Quote
  #2 (permalink)  
Old 11-22-2006, 09:53 PM
Alex
Guest
 
Posts: n/a
Default Re: SD/MMC card Simulation Model

Looks like this MMC design from "opencores" can be used as MMC model:

http://www.opencores.org/cvsweb.shtm.../xmsmmc_core.v

-Alex


Stephen Williams wrote:
> Hi,
>
> I'm working on an system (in Verilog) that I want to interact with
> MMC and/or SD memory cards, so I'm looking for a Verilog model for
> any MMC card (or a generic model of an MMC card) that I can use for
> system-level test benches.
>
> I need it to work under Icarus Verilog. Samsung has models of their
> MMC cards, but they are `protect'ed so they do me no good. Other
> vendors use Denali, which also seems closed to Icarus Verilog.
>
> --
> Steve Williams "The woods are lovely, dark and deep.
> steve at icarus.com But I have promises to keep,
> http://www.icarus.com and lines to code before I sleep,
> http://www.picturel.com And lines to code before I sleep."


Reply With Quote
  #3 (permalink)  
Old 11-22-2006, 11:08 PM
Stephen Williams
Guest
 
Posts: n/a
Default Re: SD/MMC card Simulation Model

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alex wrote:
> Looks like this MMC design from "opencores" can be used as MMC model:
>
> http://www.opencores.org/cvsweb.shtm.../xmsmmc_core.v


I'm not seeing in that a model for an MMC *card*, this is a design
that controls a card to cause it to program an FPGA. I would think
that the design was simulated, but I do not see the MMC model that
is used.

I'm going to be writing a block device controller, so I need a model
for the *card* against which I can test my controller.

> Stephen Williams wrote:
>> Hi,
>>
>> I'm working on an system (in Verilog) that I want to interact with
>> MMC and/or SD memory cards, so I'm looking for a Verilog model for
>> any MMC card (or a generic model of an MMC card) that I can use for
>> system-level test benches.
>>
>> I need it to work under Icarus Verilog. Samsung has models of their
>> MMC cards, but they are `protect'ed so they do me no good. Other
>> vendors use Denali, which also seems closed to Icarus Verilog.
>>
>> --
>> Steve Williams "The woods are lovely, dark and deep.
>> steve at icarus.com But I have promises to keep,
>> http://www.icarus.com and lines to code before I sleep,
>> http://www.picturel.com And lines to code before I sleep."

>



- --
Steve Williams "The woods are lovely, dark and deep.
steve at icarus.com But I have promises to keep,
http://www.icarus.com and lines to code before I sleep,
http://www.picturel.com And lines to code before I sleep."
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFFZMpgrPt1Sc2b3ikRAnl7AJ9mAyBVWUqH8sVMFK9szy xhlaixIwCgjnIX
JyKRkdWqjsH7J8WyMfLO4OI=
=TYpk
-----END PGP SIGNATURE-----
Reply With Quote
  #4 (permalink)  
Old 11-23-2006, 12:52 AM
John_H
Guest
 
Posts: n/a
Default Re: SD/MMC card Simulation Model

The SD format is significantly protected. You'd think it was entirely
proprietary but the technology sharing method I understand is used is
"membership only" and the reason you won't find a Linux driver.

You might be able to find an MMC resource but our guy here who's tried to
get closer to the SD/MMC specs hasn't come across one in his travels.

Stop looking for SD and start looking exclusively for MMC. Luck be with
you.


"Stephen Williams" <[email protected]> wrote in message
news[email protected] ...
> Hi,
>
> I'm working on an system (in Verilog) that I want to interact with
> MMC and/or SD memory cards, so I'm looking for a Verilog model for
> any MMC card (or a generic model of an MMC card) that I can use for
> system-level test benches.
>
> I need it to work under Icarus Verilog. Samsung has models of their
> MMC cards, but they are `protect'ed so they do me no good. Other
> vendors use Denali, which also seems closed to Icarus Verilog.
>
> --
> Steve Williams "The woods are lovely, dark and deep.
> steve at icarus.com But I have promises to keep,
> http://www.icarus.com and lines to code before I sleep,
> http://www.picturel.com And lines to code before I sleep."



Reply With Quote
  #5 (permalink)  
Old 11-23-2006, 01:18 AM
Stephen Williams
Guest
 
Posts: n/a
Default Re: SD/MMC card Simulation Model

John_H wrote:
> The SD format is significantly protected. You'd think it was entirely
> proprietary but the technology sharing method I understand is used is
> "membership only" and the reason you won't find a Linux driver.
>
> You might be able to find an MMC resource but our guy here who's tried to
> get closer to the SD/MMC specs hasn't come across one in his travels.
>
> Stop looking for SD and start looking exclusively for MMC. Luck be with
> you.


My plan has indeed been to focus on mmc because of the absurd
restrictions of the SD standard, but I understand that SD cards
should support the MMC command set.

A lot about the MMC standard can be gleaned from datasheets for
parts. For example, the Samsung datasheet seems quite thorough and
if all else fails I'd code up a Verilog model based on that. If
my design (which I will test against this model) doesn't work when
talking to real cards, then I'll (meaning my company) spring for the
MMC standard, which is a mere $500.00.

(FWIW I've got approval to open-source the Verilog for the device
I'm working on, so the next guy won't have this struggle.)

(I wonder where I can get a devel board that is an FPGA with an
attached MMC socket...)

> "Stephen Williams" <[email protected]> wrote in message
> news[email protected] ...
>> Hi,
>>
>> I'm working on an system (in Verilog) that I want to interact with
>> MMC and/or SD memory cards, so I'm looking for a Verilog model for
>> any MMC card (or a generic model of an MMC card) that I can use for
>> system-level test benches.
>>
>> I need it to work under Icarus Verilog. Samsung has models of their
>> MMC cards, but they are `protect'ed so they do me no good. Other
>> vendors use Denali, which also seems closed to Icarus Verilog.
>>
>> --
>> Steve Williams "The woods are lovely, dark and deep.
>> steve at icarus.com But I have promises to keep,
>> http://www.icarus.com and lines to code before I sleep,
>> http://www.picturel.com And lines to code before I sleep."

>
>



--
Steve Williams "The woods are lovely, dark and deep.
steve at icarus.com But I have promises to keep,
http://www.icarus.com and lines to code before I sleep,
http://www.picturel.com And lines to code before I sleep."
Reply With Quote
  #6 (permalink)  
Old 11-23-2006, 12:28 PM
Martin Thompson
Guest
 
Posts: n/a
Default Re: SD/MMC card Simulation Model

Stephen Williams <[email protected]> writes:
> (I wonder where I can get a devel board that is an FPGA with an
> attached MMC socket...)
>


Here's one which might be a bit OTT!
http://www.enterpoint.co.uk/moelbryn/broaddown4.html

These have miniSD - is that the same electrically?
http://www.eubus.net/hydraXC/

Cheers,
Martin

--
[email protected]
TRW Conekt - Consultancy in Engineering, Knowledge and Technology
http://www.conekt.net/electronics.html


Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Observed a bug in the Model sim V 6.0a vssumesh Verilog 13 03-07-2006 07:14 AM
Free software to create simulation model from verilog HDL? ajcrm125 Verilog 1 02-04-2006 03:17 AM
FIR Filter Model priya Verilog 4 08-18-2005 11:32 PM
PCI plug n play and Graphics card implementation [email protected] Verilog 6 04-28-2005 06:53 PM
Re: The Verilog PLL model? Asher C. Martin Verilog 1 06-28-2003 06:21 AM


All times are GMT +1. The time now is 04:28 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright 2008 @ FPGA Central. All rights reserved