data/full_repos/permissive/142844950/rtl/xc_aessub/xc_aessub_sbox.v
data/verilator_xmls/bf85352b-6009-4297-ba5a-3068fe9b3913.xml
module xc_aessub_sbox(
input  wire [7:0] in    ,
input  wire       inv   ,
output wire [7:0] out
);

wire [7:0] out_fwd;
wire [7:0] out_inv;

assign out = inv ? out_inv : out_fwd;

xc_aessub_sbox_fwd i_sbox_fwd(
.in (in     ),
.out(out_fwd)
);

xc_aessub_sbox_inv i_sbox_inv (
.in (in     ),
.out(out_inv)
);

endmodule
module xc_aessub_sbox(
input  wire [7:0] in    ,
input  wire       inv   ,
output wire [7:0] out
);


wire [7:0] out_fwd;
wire [7:0] out_inv;

assign out = inv ? out_inv : out_fwd;

xc_aessub_sbox_fwd i_sbox_fwd(
.in (in     ),
.out(out_fwd)
);

xc_aessub_sbox_inv i_sbox_inv (
.in (in     ),
.out(out_inv)
);

endmodule