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

Reply

VHDL - How to draw Logic Network from VHDL code

 
Thread Tools Search this Thread
Old 02-23-2008, 10:49 AM   #1
Default How to draw Logic Network from VHDL code


Could someone help me how to draw the devices of the network from the vhdl
code.
An example at this link

http://home.dei.polimi.it/bolchini/d...20080211cb.pdf

last exercise

--
Message posted using http://www.talkaboutelectronicequipm...omp.lang.vhdl/
More information at http://www.talkaboutelectronicequipment.com/faq.html



wave00
  Reply With Quote
Old 02-23-2008, 11:28 AM   #2
Frank Buss
 
Posts: n/a
Default Re: How to draw Logic Network from VHDL code
wave00 wrote:

> Could someone help me how to draw the devices of the network from the vhdl
> code.
> An example at this link
>
> http://home.dei.polimi.it/bolchini/d...20080211cb.pdf
>
> last exercise


I can do the homework for you, but only if you tell this your instructor
and if I would get the certificate for it

--
Frank Buss,
http://www.frank-buss.de, http://www.it4-systems.de


Frank Buss
  Reply With Quote
Old 02-23-2008, 12:26 PM   #3
Jonathan Bromley
 
Posts: n/a
Default Re: How to draw Logic Network from VHDL code
On Sat, 23 Feb 2008 04:49:28 -0600, giuseppe rossitto wrote:

>Could someone help me how to draw the devices of the
> network from the vhdl code.
>An example at this link
>
>http://home.dei.polimi.it/bolchini/d...20080211cb.pdf
>
>last exercise


Hmmm... That exercise carries 20% of the marks for a 2 hour paper.
So you should be able to do it in 24 minutes - let's say 20 minutes
to leave a little time for checking. And, amongst other (easier)
things, it asks you to draw the logic diagram of a 4*4-bit
multiplier using only gates and multiplexers. I wonder how long
it took the writer of the question to create the model answer?

The model also has some errors that would prevent it from
compiling, and at least one error that would be detected
at runtime in simulation (but probably at compilation by a
synthesis tool). Extra marks for locating those

Anyway, now that you're away from the exam. room, you can
simply take the code, fix it, run it through synthesis and
look at the RTL schematic. At least that would introduce
a measure of realism to the exercise, something that the
person who set the paper seems to have lacked.
--
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 02-23-2008, 01:24 PM   #4
Frank Buss
 
Posts: n/a
Default Re: How to draw Logic Network from VHDL code
Jonathan Bromley wrote:

> Hmmm... That exercise carries 20% of the marks for a 2 hour paper.
> So you should be able to do it in 24 minutes - let's say 20 minutes
> to leave a little time for checking. And, amongst other (easier)
> things, it asks you to draw the logic diagram of a 4*4-bit
> multiplier using only gates and multiplexers. I wonder how long
> it took the writer of the question to create the model answer?


It should be not too difficult. You have to use only gates, multiplexers
and flip-flops, but this doesn't mean that you can't create your own
symbols for half-adders etc. with the basic gates, from which you can build
the multiplier (e.g.
http://groups.google.de/group/comp.l...a9a02c2b2b838d ). You
have to know the basic ciruits and ideas, but then it should be possible to
draw it in some minutes.

> The model also has some errors that would prevent it from
> compiling, and at least one error that would be detected
> at runtime in simulation (but probably at compilation by a
> synthesis tool). Extra marks for locating those


And you can't fix this, because of the bad coding style (complete lack of
any comments) you can't know which bits are needed from the multiplication
result. Formatting is not very consistent, too, sometimes spaces after
superfluously parantheses, sometimes not. Looks like an inexperienced VHDL
programmer has written the code.

--
Frank Buss,
http://www.frank-buss.de, http://www.it4-systems.de


Frank Buss
  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
IMHO, Digital SECAM video is better than Analog NTSC video Radium DVD Video 167 10-25-2006 04:16 AM
Setting up a Network -- Wired or Wireless? shopzero.net DVD Video 1 07-24-2006 07:18 PM
Re: adding wireless to a wired network AG A+ Certification 3 01-14-2005 08:52 AM
Re: adding wireless to a wired network Remo A+ Certification 0 01-07-2005 06:31 PM
Re: Help Setup a Home network Frederic A+ Certification 1 12-31-2003 01:28 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