Hello, mkelner149,
Sorry, I just want to ask you a question about how to use Modelsim for SOPC builder system; currently I am really stuck into some Modelsim simulation for quite a long time. Here are the details, and I really wish you could spare some time look at it. That will be greatly appreciated!
I first created an FIR and an FFT using MegaWizard Plug-In Manager. Then the following hdl files are created:
fir_comp_ast.vhd
fir_comp_st.v
tb_fir_comp.vhd
fir_com.vhd
my_fft_tb.v
my_fft_tb.vhd
my_fft_syn.v
my_fft.vhd
Then I connected the FIR and FFT in SOPC builder, between them I put a Dual Clock FIFO, then the following hdl files are created:
fir_comp_0.vhd
dc_fifo_0.v
my_fft_0.vhd
fir_fft_two_sopc.vhd (fir_fft_two_sopc is the name of my sopc system)
fir_fft_two_sopc_inst.vhd
fir_fft_two.vhd (instantiation of my SOPC system)
At this moment, I tried to add every hdl files inside the Modelsim and compile them; I have even added some vho files (maybe they are not necessary). The testbench I used is obtained from the Quartus II, in which I drew a waveform and then exported it as .vht file.
However modelsim has given some compilation errors as follows:
fir_comp_ast.vhd failed with 1 errors: ** Error: D:/FYP_extra/fir_fft/fir_fft_two/fir_comp_ast.vhd(32): Library auk_dspip_lib not found.
** Error: D:/FYP_extra/fir_fft/fir_fft_two/fir_comp_ast.vhd(33): (vcom-1136) Unknown identifier "auk_dspip_lib".
** Error: D:/FYP_extra/fir_fft/fir_fft_two/fir_comp_ast.vhd(36): VHDL Compiler exiting
compile of fir_comp_ast.vhd failed with 1 errors. ** Error: D:/FYP_extra/fir_fft/fir_fft_two/fir_compiler-library/auk_dspip_lib_pkg_fir_90.vhd(1): near "<byte 0x8b>": illegal character found in source
** Error: D:/FYP_extra/fir_fft/fir_fft_two/fir_compiler-library/auk_dspip_lib_pkg_fir_90.vhd(1): near "<byte 0x13>": illegal character found in source
** Error: D:/FYP_extra/fir_fft/fir_fft_two/fir_compiler-library/auk_dspip_lib_pkg_fir_90.vhd(1): near "<byte 0x9c>": illegal character found in source
** Error: D:/FYP_extra/fir_fft/fir_fft_two/fir_compiler-library/auk_dspip_lib_pkg_fir_90.vhd(1): VHDL Compiler exiting
# compile of my_fft.vhd failed with 1 errors.
** Error: D:/FYP_extra/fir_fft/fir_fft_two/my_fft.vhd(34): Library fft_lib not found.
** Error: D:/FYP_extra/fir_fft/fir_fft_two/my_fft.vhd(35): (vcom-1136) Unknown identifier "fft_lib".
** Error: D:/FYP_extra/fir_fft/fir_fft_two/my_fft.vhd(37): VHDL Compiler exiting
It seems that I have added some unnecessary files or missed some compulsory files? So, could you please advice on which files are necessary for my modelsim project?
Thank you so much for your patience!
Best regards