Hi
i need some help with communicating to SPI DAC 5641 THROUGH DE1 SOC ALTERA board, in vhdl. i have written some code but it is not working. i have to send 14- bit digital data from FPGA and obtain analog voltage at off board DAC OUTPUT. i am using GPIO bus to get the outputs on oscilloscope.
How do you expect this to work? It's not even written in a way that describes hardware. VHDL is a hardware description language, you've written this like software. I'm not even going to try and figure out what you are trying to do.
Besides that you say it doesn't work, what doesn't work? You aren't being very specific about your problem.