I am having one system verilog file as stated below
module bist_wrapper
(
input wire clk_mbist;
output wire BIST_GO_ts3,
output mbist_hsm_p::mbist_in_hsm_sysram_t mbist_in,
input mbist_hsm_p::mbist_out_hsm_sysram_t mbist_out
);
assign mbist_in.clk_mbist = clk_mbist;
assign BIST_GO_ts3 = mbist_out.BIST_GO_ts3;
endmodule
I need to create verilog file which should be equivalent to system verilog file , but how to handle system verilog packaged input output as verilog input output
Is the below file the right one ?? Do I need to declare the "wire" here ?
module bist_wrapper (
clk_mbist, BIST_GO_ts3,mbist_in, mbist_out);
input clk_mbist;
output BIST_GO_ts3;
output mbist_hsm_p::mbist_in_hsm_sysram_t mbist_in;
input mbist_hsm_p::mbist_out_hsm_sysram_t mbist_out;
assign mbist_in.clk_mbist = clk_mbist;
assign BIST_GO_ts3 = mbist_out.BIST_GO_ts3;
endmodule