ContributionsMost RecentMost LikesSolutionsRe: Is there a free student version of Modelsim Hi, in Quartus II, version 13.0sp1, ModelSim-Altera is included and you can download it without cost. Maybe there are higher versions including ModelSim, just check it on Intel homepage. Re: deleting logic increases macrocells? Sorry, I changed a little bit more: I additionally replaced an output by an input. deleting logic increases macrocells? Hi, I have a very curious effect: The design of my project is a schematic for an EPM3064ATC100. After compilation 51 macrocells from 64 available ones are used. When I remove an AND with 4 inputs and a NAND with 2 inputs 64 macrocells are used - an increase of 13 macrocells! What happened? I'd like to know if this is normal? SolvedRe: Download Intel® oneAPI HPC Toolkit (version 2024) Hi, I got an e-mail information about your reply but never was involved in this posting. In the past I got many of such e-mails about postings I never was involved in. From other forums I know the practice that e-mail information about answers only are sent for own postings where I asked questions or sent answers. Is the practice here in this forum different or do I have a wrong setting? Re: error in ModelSim? Hi, From your hint I compared my successful test bench myProject_tb.v with myProject_tb_1.v and found following difference: myProject_tb.v: module myProject_tb ; myProject_tb_1.v: \module myProject_tb_1.v ; After editing in myProject_tb_1.v: \module myProject_tb_1.v to module myProject_tb_1 and compiling again it works 🙂 It is essential that after changing the name of the test bench the design shall be compiled! Nevertheless, I find it astonishing that modelsim generated a faulty myProject_tb_1.v. Well, now I will check every new test bench file. Thank you very much. I appreciate your excellent support. With best regards Niko3 Re: error in ModelSim? Hi, I'm here again with a new problem, sorry. I wanted to generate several test benches. So, I started again with the wave editor. in modelsim deleted wave window with text editor modified in wave.do the lines "wave modify ..." for the inputs DI0 ... DI3 to get new input data in modelsim loaded the modified wave.do: File / Load / Macro File... in modelsim exported the new testbench: File / Export / Waveform... with the new name myProject_tb_1 closed modelsim in Quartus II changed testbench: Assignments / Settings / Simulation / click on Test Benches... then deleted old test bench "myProject_tb" added new test bench "myProject_tb_1" 7. started modelsim: Tools / Run Simulation Tool / Gate Level Simulation... error deleting "msim_transcript": permission denied 8. closed Quartus II and modelsim 9. deleted msim_transcript 10. started Quartus II 11. started modelsim: Tools / Run Simulation Tool / Gate Level Simulation... # ** Error: (vsim-3170) Could not find 'H:/Arduino/Quartus-Projekte/myProject/simulation/modelsim/gate_work.myProject_tb_1'. # # Error loading design 12. opened myProject_tb_1.v with text editor and saw that it contained only a few lines 13. deleted test bench in Quartus II 14. repeated steps 1 -- 5 15. now myProject_tb_1.v was ok 16. in Quaartus II added test bench myProject_tb_1 17. started modelsim: Tools / Run Simulation Tool / Gate Level Simulation... same error as in step 11 Is'nt it possible to use several different test benches and if yes how to do it? Re: error in ModelSim? Hi, thank you very much. What a stupid error! A final question: modelsim displays the signals in a fuzzy sequence. Where is the best location to reorder the sequence of signals in a functionally reasonable sequence? Re: error in ModelSim? Hi, attached all files of my project in a tar file. After defining the input data in the wave editor I exported the testbench (myProject_tb) according to the document "Creating Testbench using ModelSim-Altera Wave Editor". Then I defined the testbench within Quartus II according to the document "Simulating in ModelSim-Altera Edition using NativeLink". Then I called modelsim from Quartus II (Tools / Run Simulation Tool / Gate Level Simulation...). But, as reported, in the wave window all inputs were HiZ and simulation stopped at 24 ns. Meanwhile problems got more: I was fighting with the sequence of names in the wave window. Initially they were sorted totally mixed up. Now I achieved a reasonable functionally grouped sequence by editing the file wave.do. After these editings calling modelsim I get the following error. # ** Error: (vsim-3170) Could not find 'H:/Arduino/Quartus-Projekte/myProject/simulation/modelsim/gate_work.myProjekt'. # # Error loading design Hopefully you can give me some tipps how to get the simulation running. Thank you for your effort. Re: error in ModelSim? Hi, my design is a schematic, i.e. a .bdf file. There are many files generated by Quartus II software and modelsim. what do you need? Re: error in ModelSim? Hi, I made a lot of tests and found step by step a nearby solution. The actual status: - testbench creation successful (hopefully) - simulation with modelsim-altera starts and shows some waveforms - problem1: in the wave display all input signals defined in the testbench are HiZ - problem2: simulation stops at 25ns but the testbench contains data until 2000ns Do you have an idea what is wrong? Thanks Niko3