Forum Discussion

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

How to add ISP1362 component to SOPC in DE2?

Who use the DE2 kit?

I study the example in its referrenc of DE2_SD_Card_Audio and I don't know it is how to add the ISP1362 in SOPC.

I try add it as new component but the result is not same.

I wish someone give me some suggests.

Thank you.

17 Replies

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

    hi sodaa!

    I am also facing the same problem that you faced while adding isp1362 to sopc(quartus 11.0). There are no irq_n and irq_n_avalon_1. Please tell me how you managed to solve this problem. Note that I am new to fpga.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I followed wtfe's solution the first time. I think it worked out but, I can't seem to duplicate the results.

    The first part was easy. I have the OTG_Ports done.

    The next part I could complete also.

    The main problem is, when going through the initial updating of the ISP1362 (to get your pins), it seems that the avalon_slave_1 gets deleted somehow.

    I can recreate a new avalon_slave_1 interface easy enough and everything is done, almost. The new interface needs some pins associated with it (but which ones?). I compared with the avalon_slave_0 and I could see the problem right away. Everything is tied to the avalon_slave_0 and I have nothing tied to avalon_slave_1.

    This causes a couple warnings about unconnected in/outputs and if I try to add this updated component to the SOPC, I get a failed compile if I try to create my NIOS system.

    The other problem is if I try to remove unconnected interfaces, then I lose the avalon_slave_1.

    Like I said the first time I tried the suggestions, I had the slave_1 interface, Everytime I tried after that, I lost it. I don't know what happened. I would like to be able to update the component and add it to the terasic file in the ip folder and have it ready if I need it again in a new system later.

    My question is this, What pin(s) do I have to connect to the avalon_slave_1?

    I'm looking at the datasheet to see if I can find a clue, but I can't. So I'm stuck and hope I've given enough info for help.

    Oh yes I'm using Quatus V9.0 and the DE2 board.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I think I found the answer.

    The problem is that there are two ISP1362's out there.

    wtfe's solution will work if you use the ISP1362_CTRL.v (available on alterawiki).

    wtfe's solution will not work with the ISP1362_IF.v provided by Terasic.

    Use ISP1362_CTRL.v from alterawiki, then follow wtfe's solution.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    I think I found the answer.

    The problem is that there are two ISP1362's out there.

    wtfe's solution will work if you use the ISP1362_CTRL.v (available on alterawiki).

    wtfe's solution will not work with the ISP1362_IF.v provided by Terasic.

    Use ISP1362_CTRL.v from alterawiki, then follow wtfe's solution.

    --- Quote End ---

    HI willbable,

    thanks... i has been try your suggestion to used ISP1362_CTRL.v as u recommend available on alterawiki....and finally i can generate that file onto SOPC.......

    However.... after it generated the result mentions as below????? Why.....????plz somebody help me ...it urgent....and i appreciated it.....

    ERROR:

    slave (ISP1362/avalon_slave_1) data width is 0

    Error: Generator program

    for module 'cpu_0' did NOT run successfully.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    i do not see "irq_n" and "irq_n_avalon_slave_1" in signals. Could you please provide me with a screenshot?

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

    Error: ISP1362.avalon_slave_1_irq: "Associated addressable interface" (associatedAddressablePoint) out of range

    Where i will get complete folder for ISP1362_CTRL.v ?

    i have replaced the file ISP1362_IF.v with ISP1362_CTRL.v but i am getting

    Error: ISP1362: Component isp1362 1.0 not found

    Error: ISP1362.avalon_slave_0: Must have address units of WORDS in SOPC Builder (was null)
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I have got the same problem (with isp1362 in quartus v9.0).

    error: isp1362.avalon_slave_1_irq: associatedaddressablepoint out of range

    (Project DE2_demonstrations\DE2_SD_Card_Audio).

    Please help me:)