data/full_repos/permissive/160858992/ISA_Camac_Interface/sm2201_interface_board/lib/SN74LS365.v
data/verilator_xmls/beffee84-0580-48bc-a1ca-05defb87f7c6.xml
module SN74LS365 #
(
    parameter INVERTED_OUTPUT = 0
)
(
    input wire e1,
    input wire e2,
    input wire [5:0] data,
    output wire [5:0] out 
);

wire ena = e1 | e2;
wire [5:0] data_res;
assign data_res = INVERTED_OUTPUT == 0 ? data : ~data;
assign out = ena == 1'b0 ? data_res :6'b000000;

endmodule
module SN74LS365 #
(
    parameter INVERTED_OUTPUT = 0
)
(
    input wire e1,
    input wire e2,
    input wire [5:0] data,
    output wire [5:0] out 
);


wire ena = e1 | e2;
wire [5:0] data_res;
assign data_res = INVERTED_OUTPUT == 0 ? data : ~data;
assign out = ena == 1'b0 ? data_res :6'b000000;

endmodule