Altera_Forum
Honored Contributor
11 years agoHaving trouble simulating the dcfifo Megafunction
I'm quite sure this information must exist somewhere, but I have searched for quite a while now, cannot seem to find it, and am becoming frustrated.
background: I am working on a system verilog project, and I have been using VCS to compile and simulate my design thus far. Alternatively, I like to use ModelSim to compile the design files and/or simulate. I am ultimately using Quartus to program the design onto a MAXV CPLD. problem: I would like to use an Altera Megafunction to create a FIFO (currently using Quartus 10.1sp1), a dcfifo specifically. Clearly I am not including all necessary files, as I am getting an error when I try to compile my current code: Error-[URMI] Unresolved modules spififo.v, 65 "dcfifo dcfifo_component( .data (data), .rdclk (rdclk), .rdreq (rdreq), .wrclk (wrclk), .wrreq (wrreq), .wrfull (sub_wire0), .q (sub_wire1), .rdempty (sub_wire2));" Module definition of above instance is not found in the design. question: Is there an IP limitation that prevents me from compiling and simulating such a megafunction using an external tool like VCS or ModelSim (I have not yet tried with ModelSim)? If not, then the issue must be that I am not generating the correct files, and/or including them within the project correctly. I feel like I'm going around in circles here, and since I can't seem to find a similar issue from anybody else, I'm afraid I'm probably doing something stupid, ie: trying to do something that is not possible. Any clarification would be appreciated, such as answering my question, tips of what files need to be included, etc. Thanks in advance.