Altera_Forum
Honored Contributor
8 years agoInstantiate VHDL Generics with Verilog code (for testbench)
Hello everybody.
When I instanciate inputs and outpus of a verilog code with verilog testbench I use following structure: name_module MUT( .input_1(input_1), .input_2(input_2), .output_1(output_1), .output_2(output_2) ); And I instanciate params with this strucure: defparam MUT.name_param = value. But I have a problem when module under test is vhdl code and testbench is verilog code. ModelSim fail when I use defparam for instanciate generics vhdl. in conclusion: somebody can say me the instruction for instanciate generics vhdl with verligo testbench? Thanks