Forum Discussion

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

PCI and TSE on SOPC Builder

I want some real help soon on this problem I want to solve.

I am trying to build a system on SOPC which contain only ethernet TSE and PCI target only device (as we already have it in the system and we dont want to change) and for the information I'm trying to implicate AM79C973's MAC in to the current FPGA

i have a master pci in a mpc8259 processor

I want to build a system with only the PCI and TSE and do the data transfers through the PCI.

How would be the system connection?

could anyone please explain in detail?

Is that kind of system possible with the current avalon devices or we need any additional block in between the PCI and the Ethernet TSE device?

Ethernet settings: 10/100/1000MB ethernet MAC with MII/GMII interface internal fifo used

all the options checked in the MAC options. 32 bit fifo

PCI settings: PCI target only peripheral with 33 MHz 32 bit PCI with shared PCI and avalon clock.

i might not have covered everything. so please ask if i need to explain the problem more

2 Replies

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

    You will most likely need DMA along with PCI. Probably a scatter-gather streaming DMA (SG SDMA). In the most basic scenario, you should be able to connect the source of SG DMA to your MAC's sink etc.

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

    --- Quote Start ---

    You will most likely need DMA along with PCI. Probably a scatter-gather streaming DMA (SG SDMA). In the most basic scenario, you should be able to connect the source of SG DMA to your MAC's sink etc.

    --- Quote End ---

    hello Yocto,

    I need to access the data directly through th PCI only. I am not using any external devices

    what would be your suggestion?

    previously there was an Ethernet PHY+MAC IC directly connected to the PCI interface

    now I am bringing MAC into FPGA.

    could you please elaborate your suggestion?