Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

code for ramp generation in vhdl

Status
Not open for further replies.

vishnu shankar

Newbie level 2
Joined
Dec 5, 2009
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Kanpur
Activity points
1,293
hi i m new in fpga and vhdl programming. if any body have code for ramp generation in vhdl please pest it.and also suggest that how to define fpga pin to send this program in spi unit in fpga board for converting digital input to ramp output.
 

Hi,
If you are using ISE then to define pins you have to add a Constraint file to your project and set the pins according to your boards data sheet.
There are tutorials on this topic ,specially if you're using Xess's borads.

I don't know what the SPI expects but if you want to create a ramp you can simply use a For loop and increment the value of a bit vector and finally set it to zero .
You have to give this vector to a Digital-Analog-Converter.
 

actually we can't directely assign the dac pin in fpga. initially we have to interconnect it to spi interface then we'll give our output to the spi inputs but i m getting some problem in it.
spi interface have 5 pins p8, N8 ,u16,N10,T4, but i hv unable to proper initialisation of these pins if u have any idia about it please msg me.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top