I thank you very much for the reply.
I am very sorry for long writeup here, but I would sincerely request you to consider the length of the email commensurate to my earnest efforts.
1)
So, what is way you suggest me to proceed? When I try to simulate the design using Quartus 9.1 internal simulator, I get a pop window saying that "Altera recommends using modelsim-altera for all the simulations". And since you are saying that modelsim-altera does not support mixed designs. How do I handle this dilemma? Is rewriting my design in VHDL the only solution? But in that case, I am doubtful that what if some of libraries be in verilog?
2) Regarding memory initialization, I have following things to say:
Is it possible to initialize a custom memory (I will write a code for that) in Quartus. I am thinking of following steps: I will create a design in verilog along with memory. and I will simulate it with memory using $resdmemb type commands. Then I will bring the whole design in Quartus and generate the sof file for FPGA (cyclone III). I hope that the synthesis tool inside Quartus will recognize the memory instantiation and will implement it using an embedded memory block.
But my doubt here is that: how will I initialize the custom embedded memory inside FPGA?
I tried to write a .mif file with the data filled in decimal format but it did not seem to work properly. Would you please tell me if that is the correct way to fill a .mif file?
I also tried to create a .hex file, but it did not allow me write a hex number in it. I was not able to fill the content of memory with A, B, ..E. I was only able to write data using 0-9 numerals. Would you please tell me how to fill the .hex file?
I once again apologize for the long email. I appreciate your kind replies.
Thanks and regards,
Kapil