Forum Discussion

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

IP core instantiation

Hello,

Can I instantiate an IP core from SOPC in my vhd code? :confused:

I want to make a Modbus slave core and I'd like to use the FIFOed UART (or default UART) component as receiver/transmitter. My vhd code would control the core by accessing its registers (TX,RX,STATUS,CONTROL...) and should do the Avalon interface.

Briefly, I want to control the UART signals that are currently managed by the Avalon interface. Can I do this?

Thanks in advance,

Willian

2 Replies

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

    You've got a couple of options and these depend on the core itself.

    1 - Generate a fake SoPC builder system and steal the generated HDL files.

    2 - If the component has the HDL code in its install directory, you can steal it from there.

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

    --- Quote Start ---

    You've got a couple of options and these depend on the core itself.

    1 - Generate a fake SoPC builder system and steal the generated HDL files.

    2 - If the component has the HDL code in its install directory, you can steal it from there.

    Jake

    --- Quote End ---

    I didn't find the HDL code in its install directory, but the first option helped me.

    Thanks Jake..