Forum Discussion
adc_fifo.v(41): Instantiation of 'adcfifo' failed. The design unit was not found.
I guessing line 41 start from here:
adcfifo fifo(
.data (sink_avalonst_data),
.wrclk (sink_clk),
.wrreq (sink_avalonst_valid),
.q (source_avalonst_data),
.rdclk (source_clk),
.rdreq (source_avalonst_ready),
.rdusedw (rdusedw),
.aclr (~reset_n)
);
Modelsim can't find the so-called adcfifo.v file and I guess the adcfifo.v is in the adcfifo.qip that you generated based on Intel FIFO IP. Add the qip in your project, compile and simulate again.
Yes, the adcfifo.v is in the qip files. Actually I already include qip in below two methods, but it still doesn't work.
1) add qip through assignment - > setting - > files
2) add qip in platform designer -> component editor -> files -> both synthese file and simulation files.
- RichardT_altera5 years ago
Super Contributor
Which Quartus version are you using? Standard or pro?
Could you share your project so I can investigate further? A simplified design that can duplicate the issue will do.
- XQSHEN5 years ago
Occasional Contributor
Quartus prime 18.0, standard version.
I just solved the issue by adding adcfifo.v in the component editor simulation files.
1) Add adcfifo.v --> it works.
2) Add adcfifo.qip --> it doesn't work.