Content-Type: multipart/mixed; boundary="===============2894526565411190357==" MIME-Version: 1.0 From: Adler, Michael Subject: Re: [OPAE] How to add .ip file to sources.txt? - for ASE simulation Date: Tue, 23 Apr 2019 15:44:22 +0000 Message-ID: In-Reply-To: 204ef2e69792f89c2347995665e39f94@fe.up.pt List-ID: To: opae@lists.01.org --===============2894526565411190357== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sorry, I forgot to answer this question that you asked in the HARP forum. L= et's continue the conversation there. This is what I just posted: The current ASE support for .ip files assumes that they are part of logic g= enerated by Qsys, not HLS. As part of ASE setup, Qsys is invoked on .qsys f= iles and the .ip files may be input to that. The generated RTL is added to = the simulation environment. I confess I don't know how HLS input files are = managed, though it appears we need to do something similar to support it. T= here is currently no code in ASE's generate_ase_environment.py to do this. = (You can see the config_qsys_sources method there for handling Qsys.) For now, I recommend that you invoke HLS outside of ASE's setup and add the= HLS-generated RTL to your sources.txt. Note that, if necessary, it is poss= ible to put Quartus-specific and simulator-specific definitions in sources.= txt. Of course it is better to avoid that if possible. Invoke "rtl_src_conf= ig --help" to see the syntax. rtl_src_config is used in both ASE and Quartu= s configuration to parse sources.txt. I don't believe we have ever released the CCI-P to Avalon adapter, though w= e should consider doing that as a BBB. -Michael =EF=BB=BFOn 4/23/19, 10:12 AM, "OPAE on behalf of Daniel Granh=C3=A3o" wrote: Hi, = I'm experiencing some difficulties while trying to use an .ip file as = source for ASE. I'm currently simply adding the .ip file to the = sources.txt file that's fed to afu_sim_setup. The file was generated by = Intel HLS and is inside the component directory. When I try to execute "make" in the build directory VCS complains that = the module from the IP is unresolved: = >> Error-[URMI] Unresolved modules >> /home/daniel/Desktop/transparent-acceleration/prototype/kernel_1/hw/= rtl/cci_mpf_mult_afu.sv, = >> 236 >> "kernel_1_acc kernel_1_acc_inst( .clock (clk));" >> Module definition of above instance is not found in the design. = I have consulted the AFU development guide and I think .ip files should = be accepted. It also references some example source text files that use = IP but I can't find them as I only have access to platform release = 5.0.3. Does anyone know how to solve this? Also, where can I find other = platform releases so that I can check more examples? = Unrelated to this problem, where can I find the CCI-P to Avalon-MM = adapter? I have seen it referenced but also can't find it. = Thank you, Daniel Granh=C3=A3o _______________________________________________ OPAE mailing list OPAE(a)lists.01.org https://lists.01.org/mailman/listinfo/opae = --===============2894526565411190357==--