Forum Discussion

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

System to read a RAM memory on FPGA

Hello,

I am developing a module of hardware of a robot for educational application and I have some problems. I developed a serial interface of the FPGA with a microcontroller utilizing the protocol RS232. The data received by the serial interface should be writing in the RAM memory and then well-read by some system that I do not know for control dc motors and read sensors. What should I do for to write those data in the RAM memory and read them? :confused: The block diagram of hardware structure is below.

At once I thank for the attention!

http://images.orkut.com/orkut/photos/OgAAAPE8DuYtNOJ861I44qzk9YSUusEEi2ZTl49YNpFTE-HP6awjMaoxCTiMM_C-U77kyyCm8x3bprSRjF3I7HikGkUAm1T1UGYKHpp20gsGTLS3Z7K8GYnMGCB8.jpg

7 Replies

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

    Do you intend to use a soft core CPU in the FPGA, or do you plan to do everything in hardware?

    If you do everything in hardware I think that you can store the data in registers. They are directly readable/writeable in VHDL/Verilog.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    thanks for your reply, but how can i develop a soft core CPU in FPGA?? and where can i get this?

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

    if you want to use a free soft core cpu, have a look at opencores.org there you can get lots of cpu's. for example if you are familiar with the 8051 just get such a 8051 cpu source code and build you own system inside the fpga.

    btw .. there is a project that has a complete pc with bios and vga inside a fpga that runs windows 3.1
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    How there is a project that has a complete pc with bios and vga inside a fpga that runs windows 3.1??