data/full_repos/permissive/530013823/LuanVan-20210617T090538Z-001/LuanVan/rtl/rsinv_test/lib/atvn/lib_v/macro/decodex.v
data/verilator_xmls/89eb1e41-abea-4871-b862-944caaed1af0.xml
module decodex
    (
     in,
     out
     );



parameter INWID = 6;
parameter OUTWID = 48;
parameter VALUE = 1'b1;



input [INWID-1:0] in;

output [OUTWID-1:0] out;








reg [OUTWID-1:0]    out;
always @(in)
begin
    out = {OUTWID{!VALUE}};
    out[in] = VALUE;
end

endmodule
module decodex
    (
     in,
     out
     );




parameter INWID = 6;
parameter OUTWID = 48;
parameter VALUE = 1'b1;



input [INWID-1:0] in;

output [OUTWID-1:0] out;








reg [OUTWID-1:0]    out;
always @(in)
begin
    out = {OUTWID{!VALUE}};
    out[in] = VALUE;
end

endmodule