VHDL

Now, I used the state machine to apply to VHDL. In my case, there are two states, S0 and S1. When I press a button, S0 is transit to S1 such that the LED display some of the segments,like segment a,b,c. And press this button again, S1 is back to S0. How can I present in VHDL so that the LED display in segment a,b,c ? Thanks!!

Reply to
laura_pretty05
Loading thread data ...

Why don't you have a look at a common VHDL book ? There are so many simple examples which show how to describe a state machine ...

You could design your state machine on a piece of paper first,=20 later try to describe in VHDL ...

Rgds Andr=E9

Reply to
ALuPin

if you are trying to learn vhdl by asking simple questions to this group you'll never learn. Download a good tutorial from the web and start working with the provided examples.

Aurash

laura snipped-for-privacy@yahoo.com.hk wrote:

Reply to
Aurelian Lazarut

I want to know which VHDL book is better for learning...??

Reply to
laura_pretty05

Hello, A good source of information is the tutorial EVITA

formatting link
and
formatting link
Also, you can use the google to find others. I started using the book "VHDL starter's guide"

Fabio

laura snipped-for-privacy@yahoo.com.hk wrote:

Reply to
Fabio Rodrigues de la Rocha

A good starting point is Peter Ashenden's "VHDL Cookbook". You should be able to find it online for free download, using Google.

His bigger book "Designer's Guide to VHDL" is very good too.

- Brian

Reply to
Brian Drummond

I disagree. It is a real nice book for advanced VHDL designers, but not for beginners. It shows a lot of not synthesizable code, a lot of features of the VHDL language (which may be confusing for a beginner), uses the data type bit / bit_vector which is not recommended and so on ...

For me Douglas J. Smith "HDL Chip Design" has of great help learning both VHDL and Verilog.

Ralf

Reply to
Ralf Hildebrandt

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.