Forum Discussion
Altera_Forum
Honored Contributor
14 years agopass generic value to a vhdl file in verilog
Hey !! Does anybody know how to pass generic values to a vhdl file in verilog ? I have the following entities and instantiations: VHDL entity: entity test_interface is generic ( ...
Altera_Forum
Honored Contributor
14 years agotest_interface test_interface(
.interface_clk(clk), .interface_frame_n(frame_n), .interface_reset_n(reset_n), .interface_ad(ad), .data(data) ); defparam test_interface.ioport = 16'h0080; This is how parameters are passed in Verilog. I have not tried it with VHDL objects though.