Forum Discussion

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

Avalon interface

Hi

I have created my HDL code of ADC filter and trying to add by SOPC builder (Component Editor).

I have created 3 VHDL files

1. task

2. register read and write operation

3. avalon bus interface

while using SOPC builder (Component Editor) I am getting Error clockreset: Cannot have an associated clock. Kindly tell me the solution to add this component using SOPC builder (Component Editor). And would want to use this component in my design.

files please find attached all the required file.

man_ena

3 Replies

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

    I do not think a clockreset should have an associated clock. I have had the same error myself I fixed it by manually editing the *hw.tcl file and removing the associated clock from the clockreset. I do not know why the clockreset got the associated clock in the first place. Maybe this is an error in SOPC builder.

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

    You will want to create a clock interface and assign the clk and reset signals of your top level module to it. Then your Avalon slave interface you would associate the clock interface to it so that SOPC Builder will know what clock domain your slave port operates on. In component editor there are templates for things like Avalon slaves that you can try out and look through the signals and interfaces tabs to get and idea of associations you need to make.

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

    --- Quote Start ---

    I do not think a clockreset should have an associated clock. I have had the same error myself I fixed it by manually editing the *hw.tcl file and removing the associated clock from the clockreset. I do not know why the clockreset got the associated clock in the first place. Maybe this is an error in SOPC builder.

    --- Quote End ---

    Thanks, I also trtied and fixed it manually