Forum Discussion

ABerg28's avatar
ABerg28
Icon for New Contributor rankNew Contributor
5 years ago

Can't get there from here

We use the Terasic DE-1 Boards for our Digital Electronics class. I would also like to use them for my Embedded Systems class. I would like to be able to do two things:

1- Have the students develop simple peripheral devices in the FPGA fabric, such as timers, buffers or I/O ports and connect them to the ARM core.

2- Bring the bus signals to the GPIO pins so the bus activity could be viewed with an external logic analyzer,

Surprisingly, there seems to be disagreement among faculty who teach in this area about whether or not it is possible to do this. My idea scenario is to create buffers that can sit on the address, data and status busses and output to the GPIO pins. Any help would be much appreciated.

Arnie

5 Replies

    • ABerg28's avatar
      ABerg28
      Icon for New Contributor rankNew Contributor

      Hello AminT,

      I'm sorry if you didn't understand my post. I have the manual for the DE-1 board. We use them for our teaching. That isn't the issue at all. The issue is how to access the ARM bus inside the Cyclone V FPGA. After doing some research, I found a block diagram that shows why it probably isn't possible to do what I want to do. The reason is that there is a cache sitting between the ARM core and the FPGA fabric.

      I can write to specific addresses and write through the cache, but that is only to specific addresses. I can't see the bus. Unless there is a way to turn off the cache and bring all bus signals through to the FPGA, I don't see how what I want to do would be possible.

      Arnie

      • AminT_Intel's avatar
        AminT_Intel
        Icon for Regular Contributor rankRegular Contributor

        Hello Arnie,

        1. I think you are referring to the block ‘FPGA to HPS’ at the bottom of the figure Cyclone V SoC Hard Processor System on this page: https://www.intel.com/content/www/us/en/products/programmable/fpga/cyclone-v/features.html. The logic implemented in FPGA part can be read by the ARM core through the “FPGA-to-HPS: Configurable 32, 64, or 128 bit AMBA AXI interface”. You would also want to monitor the AXI bus by using Signal Tap.

        2. You may have to duplicate the registers driving the AXI bus to the GPIO pins, so that they can be observed using external logic analyzer.

        I hope this helps.

        Thank you,

        Amin