Forum Discussion

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

LPC controller

Hi,

Do Altera FPGAs support LPC (Low Pin Count) controller as soft-IP core? I couldnt find it. I am having to design a system where a CPU interacts with the FPGA through the LPC bus apart from PCIe.

Or would I have to code my own controller?

Thanks,

Satish

6 Replies

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

    --- Quote Start ---

    Do Altera FPGAs support LPC (Low Pin Count) controller as soft-IP core? I couldnt find it. I am having to design a system where a CPU interacts with the FPGA through the LPC bus apart from PCIe.

    Or would I have to code my own controller?

    --- Quote End ---

    I don't recall seeing one from Altera. Have you tried looking at opencores.org?

    I vaguely recall looking at the LPC interface and it didn't look too hard to code a controller for it. If opencores does not have anything you want to use, code up an interface, and a bus functional model, and if you have trouble, post the code here.

    Note that if you post code with a Modelsim testbench you're more likely to get a response :)

    Cheers,

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

    Thanks very much for the confirmation.

    I would look for it in open cores, else sit down to code one myself.

    Regards,

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

    I want help about Lpc bus controller, I want to connect my FPGA throw lpc to Motherboard(lpc host ) ,I want to use only Firmware memory and Firmware memory write Cycles.I see Lattice document but I can't find any verilog code , please help me.

    thank you.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    The source code for the Lattice controller is licensed only for use on Lattice devices.

    You'll probably have better luck with the OpenCores one as a starting point.

    http://opencores.org/project,wb_lpc

    --- Quote End ---

    yes thank you, but it is Wishbone LPC , what is wishbone?

    I know only principal of LPC signaling and protocol,please help me more about that.