B
botao
Guest
Have a tough problem ...
I need to compare 2 components with the same interface, one component is
implemented in VHDL, the other is in Verilog.
I compiled (using modelsim if it matters) the VHDL one into VHDL_LIB, and
the Verilog one into VERILOG_LIB, then I am planning to code up a top level
testbench in Verilog, something like
comp u_vhdl (clk, ...); // want to use the comp in VHDL_LIB
comp u_verilog (clk, ...); // want to use the comp in VERILOG_LIB
how do I exactly do this in Verilog? I know in VHDL one can do this as
u_vhdl: ENTITY VHDL_LIB.comp ...
but I have to use Verilog this time.
thanks,
---Lee
I need to compare 2 components with the same interface, one component is
implemented in VHDL, the other is in Verilog.
I compiled (using modelsim if it matters) the VHDL one into VHDL_LIB, and
the Verilog one into VERILOG_LIB, then I am planning to code up a top level
testbench in Verilog, something like
comp u_vhdl (clk, ...); // want to use the comp in VHDL_LIB
comp u_verilog (clk, ...); // want to use the comp in VERILOG_LIB
how do I exactly do this in Verilog? I know in VHDL one can do this as
u_vhdl: ENTITY VHDL_LIB.comp ...
but I have to use Verilog this time.
thanks,
---Lee