kishorkk
Newbie level 2
modelsim mti
Hi,
I have implemented a power simulator, which calculates the power of the FPGA's. I have used Active HDL, and successfully implemented using VHPI functions available. But since modelsim doesnt support VHPI functions, i had to use MTI functions given by mentor. Since this has restricted functions, I need few functions which does the following
· how to get the net handle by name. Or to create an array of handles to all nets in a module.
· a callback function at the end of the simulation to wrapup.
· a function to find the no of nets in the vp file(has net names and capacitance value).
· To count the no of times the net has toggled.
· Imp: used to register foreign C functions for foreign architecture elaboration and initialization, procedure or function execution. In aldec vhpi_register_foreignf() is used
*PS : i did check with the FLI documentation by mentor.
Hi,
I have implemented a power simulator, which calculates the power of the FPGA's. I have used Active HDL, and successfully implemented using VHPI functions available. But since modelsim doesnt support VHPI functions, i had to use MTI functions given by mentor. Since this has restricted functions, I need few functions which does the following
· how to get the net handle by name. Or to create an array of handles to all nets in a module.
· a callback function at the end of the simulation to wrapup.
· a function to find the no of nets in the vp file(has net names and capacitance value).
· To count the no of times the net has toggled.
· Imp: used to register foreign C functions for foreign architecture elaboration and initialization, procedure or function execution. In aldec vhpi_register_foreignf() is used
*PS : i did check with the FLI documentation by mentor.