Jump to content
  • 0

Anvyl demo documentation


JColvin

Question

A customer on the website asked

Hello I am trying to get some documentation such as a functional description of one of the Anvyl demos that are available in the resource guide (demo name - 03.Anvyl_KYPD_SEG_Demo.) The information included in the PDF is fairly high level lacking much of the design detail. Could you possibly supply more information about the design of the demo and how each of the components are interacting together? Thanks!

The response is below.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

The  keypad-seven segment demo is strangely complex but the source code for it is fairly straightforward.

I drew a quick block diagram to figure out what is happening.  

A simple explanation:

1. col_cnt is counting from 0b00 to 0b11

2. the decoder changes the number to an inverted bit location IE: 0b01 -> 1101

3. The decoded signal from 2 is passed to the keypad_decoder and out of the chip to the keypad itself.

4. The keypad_decode module analyzes the two incoming signals and produces the resulting value for the location of the button that was pressed. The value is passed to the BRAM

5. The key_detect module just finds when a key is pressed and enables the write enable on the BRAM

6. The seven segment decoder is enabled by an external switch

7. The seven  segment decoder requests data from the BRAM at an address and the BRAM returns the value stored at the requested location.

8. Finally the seven segment decoder displays the values on the seven segment display.

Hope the helps!

Marshall

IMG_20160511_150935.jpg

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...