Go Back   Velocity Reviews > Newsgroups > VHDL
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

VHDL - sample

 
Thread Tools Search this Thread
Old 03-21-2008, 07:45 AM   #1
Default sample




Hello group,

In one of the previous threads, I had pointed out to page 15 at
http://www.wolfsonmicro.com/uploads/.../en/WM8731.pdf
documentation which discusses a CODEC. Now, I need to write a VHDL
code to simulate this but was wondering if there is an online example
or something that can give me a lead to follow.

Thanks.


Amit
  Reply With Quote
Old 03-21-2008, 09:30 AM   #2
Jonathan Bromley
 
Posts: n/a
Default Re: sample
On Fri, 21 Mar 2008 00:45:04 -0700 (PDT), Amit wrote:

>In one of the previous threads, I had pointed out to page 15 at
>http://www.wolfsonmicro.com/uploads/.../en/WM8731.pdf
>documentation which discusses a CODEC. Now, I need to write a VHDL
>code to simulate this but was wondering if there is an online example
>or something that can give me a lead to follow.


As usual when thinking about simulation models of existing devices,
the big question is: what parts of the device's behaviour do you
wish to simulate?

For many digital verification scenarios, it's sufficient to
mimic the digital behaviour (timing, register activity) of
the digital interfaces, providing dummy data to represent
the analogue values flowing through those digital interfaces.
You'll need to know about the data format (AC96 or whatever)
that's used to serialise the data, but that's not too hard.

If you want to link the thing a little more accurately to the
simulated analogue domain, then you need to model behaviour
on the analogue pins too. There are various ways to do this
in digital VHDL, none entirely satisfactory, but modelling
a DAC or ADC's conversion is easy - just take a "real" number
representing the analogue value and type-convert it to the
appropriate number of digital bits.

If you plan to simulate all the rather sophisticated filtering
that's going on inside the device, you have a tough DSP
challenge ahead of you.

Tell us what you really need and perhaps we can find some
useful suggestions, or examples of the kind of behavioural
model that you will require.
--
Jonathan Bromley, Consultant

DOULOS - Developing Design Know-how
VHDL * Verilog * SystemC * e * Perl * Tcl/Tk * Project Services

Doulos Ltd., 22 Market Place, Ringwood, BH24 1AW, UK

http://www.MYCOMPANY.com

The contents of this message may contain personal views which
are not the views of Doulos Ltd., unless specifically stated.


Jonathan Bromley
  Reply With Quote
Old 03-22-2008, 06:59 PM   #3
Rick
 
Posts: n/a
Default Re: sample
Amit wrote:
>
> Hello group,
>
> In one of the previous threads, I had pointed out to page 15 at
> http://www.wolfsonmicro.com/uploads/.../en/WM8731.pdf
> documentation which discusses a CODEC. Now, I need to write a VHDL
> code to simulate this but was wondering if there is an online example
> or something that can give me a lead to follow.
>
> Thanks.


Amit,

For general information about component modeling, go to
www.FreeModelFoundry.com. They do not have a model of theCODEC you are
using but they do have lots of other models to serve as examples.

Rick


Rick
  Reply With Quote
Old 03-23-2008, 06:29 AM   #4
Amit
 
Posts: n/a
Default Re: sample
On Mar 21, 2:30 am, Jonathan Bromley <jonathan.brom...@MYCOMPANY.com>
wrote:
> On Fri, 21 Mar 2008 00:45:04 -0700 (PDT), Amit wrote:
> >In one of the previous threads, I had pointed out to page 15 at
> >http://www.wolfsonmicro.com/uploads/.../en/WM8731.pdf
> >documentation which discusses a CODEC. Now, I need to write a VHDL
> >code to simulate this but was wondering if there is an online example
> >or something that can give me a lead to follow.

>
> As usual when thinking about simulation models of existing devices,
> the big question is: what parts of the device's behaviour do you
> wish to simulate?
>
> For many digital verification scenarios, it's sufficient to
> mimic the digital behaviour (timing, register activity) of
> the digital interfaces, providing dummy data to represent
> the analogue values flowing through those digital interfaces.
> You'll need to know about the data format (AC96 or whatever)
> that's used to serialise the data, but that's not too hard.
>
> If you want to link the thing a little more accurately to the
> simulated analogue domain, then you need to model behaviour
> on the analogue pins too. There are various ways to do this
> in digital VHDL, none entirely satisfactory, but modelling
> a DAC or ADC's conversion is easy - just take a "real" number
> representing the analogue value and type-convert it to the
> appropriate number of digital bits.
>
> If you plan to simulate all the rather sophisticated filtering
> that's going on inside the device, you have a tough DSP
> challenge ahead of you.
>
> Tell us what you really need and perhaps we can find some
> useful suggestions, or examples of the kind of behavioural
> model that you will require.
> --
> Jonathan Bromley, Consultant
>
> DOULOS - Developing Design Know-how
> VHDL * Verilog * SystemC * e * Perl * Tcl/Tk * Project Services
>
> Doulos Ltd., 22 Market Place, Ringwood, BH24 1AW, UK
> jonathan.brom...@MYCOMPANY.comhttp://www.MYCOMPANY.com
>
> The contents of this message may contain personal views which
> are not the views of Doulos Ltd., unless specifically stated.



Hello Jonathan,

Thanks for your time and explaining it. One thing is that in this
phase of the project I need to simulate it base on timing on page 15.
Please correct me if I'm wrong. I think I have to implement it either
counter or FSM but I'm confused and not sure to start it.

1) should I use the exact timing values?
2) do you suggest counter or fsm?


Thanks.


Amit
  Reply With Quote
Old 03-23-2008, 06:29 AM   #5
Amit
 
Posts: n/a
Default Re: sample
On Mar 22, 11:59 am, Rick <fmfoun...@sbcglobal.net> wrote:
> Amit wrote:
>
> > Hello group,

>
> > In one of the previous threads, I had pointed out to page 15 at
> >http://www.wolfsonmicro.com/uploads/.../en/WM8731.pdf
> > documentation which discusses a CODEC. Now, I need to write a VHDL
> > code to simulate this but was wondering if there is an online example
> > or something that can give me a lead to follow.

>
> > Thanks.

>
> Amit,
>
> For general information about component modeling, go towww.FreeModelFoundry.com. They do not have a model of theCODEC you are
> using but they do have lots of other models to serve as examples.
>
> Rick



Rick thanks you so much. It was big help. Of course couldn't find any
CODEC example but there are so many helpful samples.

Thank you.


Amit
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sample BeITCertified Products waqar MCTS 0 05-24-2009 08:10 PM
Sample BeITCertified Products Beitcertified MCITP 0 05-24-2009 08:07 PM
Download Sample Exam and Brain dumps Sana MCTS 0 02-23-2009 05:18 AM
lastest A+ certification sample exam? saturnlee@yahoo.com A+ Certification 3 04-04-2007 05:03 PM
Re: Free sample film Video Flyer DVD Video 0 02-27-2004 05:24 PM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46