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!!
VHDL
Started by ●March 8, 2006
Reply by ●March 8, 20062006-03-08
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 by ●March 8, 20062006-03-08
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_pretty05@yahoo.com.hk wrote:> 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 by ●March 8, 20062006-03-08
Reply by ●March 8, 20062006-03-08
Hello, A good source of information is the tutorial EVITA (http://www.aldec.com/products/tutorials/) and (http://www.vhdl-online.de/tutorial/). Also, you can use the google to find others. I started using the book "VHDL starter's guide" Fabio laura_pretty05@yahoo.com.hk wrote:> I want to know which VHDL book is better for learning...?? >
Reply by ●March 9, 20062006-03-09
On 8 Mar 2006 10:31:12 -0800, laura_pretty05@yahoo.com.hk wrote:>I want to know which VHDL book is better for learning...??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 by ●March 14, 20062006-03-14
Brian Drummond wrote:> A good starting point is Peter Ashenden's "VHDL Cookbook".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