UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Newbie jam2310
Newbie
2,498 Views
Registered: ‎04-23-2010

How To use BRAM for storing data and display on LCD (Spartan3A Kit)?

Hi I'm a FPGA newbie. I'm using Spartan 3A starter Kit and using PMOD MIC as a peripheral input. My intention is to take the 12bit ADC code and display on LCD. I intend to decode a specific values for a range of code:

ADC CODE RANGEdB valueCount
Fromto
12-702
37-605
824-5014
2577-4053
78243-30166
244771-20528
7722439-101668
2440409501656
  Total :4092

I was thinking of storing the values in BRAM then send it to display on LCD on with a clock sequence.

My questions?

1.Should I choose single/dual port RAM?

2. or use ROM?

3. From the VHDL sysnthesis template, thereare a few addresswith hexa codes to fill in, what what values  am I supposed to fill in there?- is it the LCD's ASCII code (7:0) for my dB value above or my ADC codes.

4. I've tried using if else statement, for loop, decoder template (case statements) but they are too long or giving me too many errors.

 

Sorry for asking very basic questions. Please guide my to the relevant program sample or technique. i've gone through the started kit tutorial but getting more confused. I'm new to VHDL and FPGA design. Appreciate your help.

 

Thanks a lot.

 

Al

Tags (6)
0 Kudos