Altera_Forum
Honored Contributor
10 years agoWhy I can't simulate Triple-Speed Ethernet MegaCore?
Hello community,
I hope for your help. I have 2 problems with simulation of Triple Speed Ethernet Megacore (TSE): Programming in VHDL with Quartus II 64-Bit Version 15.0.0 Build 145 04/22/2015 SJ Web Edition Simulation with ModelSim ALTERA STARTER EDITION 10.3d TSE is generated with MegaWizard, Example Design is also generated problem 1: tse doesn't seem to be bounded correctly in test bench - i want to simulate read and write over SPI from/to the registers of TSE (later of course I will simulate some other functions of TSE) - NativeLink and a test bench with the file TSE_MegaCore.vhd (my variation from the TSE) from the directory TSE_MegaCore is used - Tools -> Run Simulation Tool -> Gate Level Simulation... - Signal reg_busy stays on initial value, but TSE registers are addressed, data is writen to reg_data_in and signal reg_wr (or reg_rd) is set to '1' - register of TSE are not showed under Memory List in Model Sim - Warning ModelSim/Transcript: # ** Warning: (vsim-3473) Component instance "i_tse_mac : altera_eth_tse_mac" is not bound. # Time: 0 ps Iteration: 0 Instance: /test_spi/ZuTestendesModul/TRIPLE_SPEED_ETHERNET_MEGACORE File: C:/Users/matthiask/Masterarbeit/FPGA_Ethernet_Funktion/FPGA_Ethernet_Funktion/TSE_MegaCore_sim/TSE_MegaCore.vhd # ** Warning: (vsim-8684) No drivers exist on out port /test_spi/ZuTestendesModul/TRIPLE_SPEED_ETHERNET_MEGACORE/reg_data_out, and its initial value is not used. # # Therefore, simulation behavior may occur that is not in compliance with # # the VHDL standard as the initial values come from the base signal /test_spi/ZuTestendesModul/sv32TSERegisterDatenAnSPI. # # ** Warning: (vsim-8684) No drivers exist on out port /test_spi/ZuTestendesModul/TRIPLE_SPEED_ETHERNET_MEGACORE/reg_busy, and its initial value is not used. # # Therefore, simulation behavior may occur that is not in compliance with # # the VHDL standard as the initial values come from the base signal /test_spi/ZuTestendesModul/sTSERegisterbeschaeftigt. # # ** Warning: (vsim-8684) No drivers exist on out port /test_spi/ZuTestendesModul/TRIPLE_SPEED_ETHERNET_MEGACORE/eth_mode, and its initial value is not used. and so on. What's the Problem? Which files I have further to add to the testbench? Or are wrong settings the problem? problem 2: simulating test bench after ,,triple-speed ethernet megacore function user guide'', chapter 10, fails - launching Quartus II, open project generate_sim.qpf from directory TSE_MegaCore_testbench - on the Tools menu, I select Tcl Scripts and select the generate_sim_vhld.tcl file and I clicked run - message ,,Tcl Script File C:/Users.../generate_sim_vhdl.tcl executed'' - in directory Project/testbench_vhdl/TSE_MegaCore run_TSE_MegaCore_tb.tcl selected and executed - message ,,Tcl Script File C:/Users.../run_TSE_MegaCore_tb.tcl executed'' and now? - I want to start ModelSim: Tools -> Run Simulation Tool -> Gate Level Simulation... - message ,,Can't find file C:/Users/.../TSE_MegaCore_testbench/generate_sim.sft. Run the EDA Netlist Writer'' - I startet the EDA Netlist Writer - after a few seconds error massages: Error (12007): Top-level design entity "generate_sim" is undefined Error: Quartus II 64-Bit Analysis & Synthesis was unsuccessful. 1 error, 1 warning Error: Peak virtual memory: 670 megabytes Error: Processing ended: Fri Jan 29 10:13:05 2016 Error: Elapsed time: 00:00:12 Error: Total CPU time (on all processors): 00:00:26 Error (293001): Quartus II Flow was unsuccessful. 3 errors, 1 warning - why there isn't in the project a file named generate_sim (generate_sim.vhd?) ? are my own VHDL project and the testbench provided with the Triple-Speed Ethernet MegaCore independent from each other? so: how I can simulate the Triple-Speed Ethernet MegaCore? Greetings, Matthew