cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Newbie
Newbie
2,757 Views
Registered: ‎07-28-2017

interfacing parallel DAC with Artix 7

I am looking for a few pointers on how to get started with interfacing a 10bit parallel DAC (http://www.farnell.com/datasheets/2258690.pdf?_ga=2.122444303.541138324.1501226629-2134010037.1500388166) with my Nexys Video board from Digilent.

Should this be done with a state machine? 

 

Tags (3)
0 Kudos
2 Replies
Highlighted
Explorer
Explorer
2,720 Views
Registered: ‎04-05-2016

That part looks like it needs a clock and data, and that's it to work correctly. It's on the source of the data on the 10 bit bus to "latch" the data. You can just drive all 10 bits out of a flip flop that is on the same clock that you are sending out of the chip.

You may find that going all the way out to the FMC connector may introduce significant enough delays that bits are not setup in time on the bus to be latched by the clock. You can use the ODELAYE2 primitive. See page 407 of UG953 for information on instantiating the ODELAYE2.

https://www.xilinx.com/support/documentation/sw_manuals/xilinx2017_2/ug953-vivado-7series-libraries.pdf
0 Kudos
Highlighted
Professor
Professor
2,707 Views
Registered: ‎08-14-2007

This could get tricky if you're trying to run at the full rated 240 MHz.  According to the data sheet, you need 1.5 ns setup and 2.5 ns hold and the clock cycle time is only 4.1666 ns.  That means the window to hit for data transition is only about 166 ps.  At much lower speeds, it should be relatively straightforward, though.  How fast were you going to run the DAC?

-- Gabor
0 Kudos