Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
14 years ago

Communication between computer and FPGA

I've a module (Transmitter) and i've already programmed it on the FPGA,now i want to test it by a lot of trials of data by sending it from the computer (matlab for ex),please i want steps to follow them to acheive this.

note:i don't want to use the on-chip memory, i've a RAM module to store data comming from computer to read it,i want only to know how to connect with the computer.

Thanks in advance.

4 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Please correct me if i m wrong,i think u want to communicate between pc and fpga through serial interface (using RS232 cable).So pc will transmits data ( i.e hyper terminal) and then ur fpga will read and will store the data in your memory and you will read it from ur programing memory (i.e RAM)

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    yes,i want that but i tried to do that,and the serial protocol was difficult to be understood,so please help me if you done that before.

    thanks.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I had established serial communication through UART long days ago by adding UART in SOPC builder and it is quite easy to do that.You need to read UART IP document and then just set registers (transmitter,recevier,control.etc..) and type from computer and read it through your UART receiver register.