data/full_repos/permissive/47037127/optyper.v
data/verilator_xmls/4cd43451-93b9-4270-8353-00859b43303b.xml
module optyper(
	OP,
	load,
	store,
	branch,
	cmp,
	stack,
	ldl

	);

input [6:0] OP;
output load;
output store;
output branch;
output cmp;
output stack;
output ldl;

assign ldl=(OP==64)||stack;
assign stack=(OP>39)&&(OP<47);
assign branch=(OP>50)&&(OP<55);
assign load=(OP==60)||(OP==43);
assign store=(OP==61)||(OP==42);
assign cmp=(OP==50);

endmodule
module optyper(
	OP,
	load,
	store,
	branch,
	cmp,
	stack,
	ldl

	);


input [6:0] OP;
output load;
output store;
output branch;
output cmp;
output stack;
output ldl;

assign ldl=(OP==64)||stack;
assign stack=(OP>39)&&(OP<47);
assign branch=(OP>50)&&(OP<55);
assign load=(OP==60)||(OP==43);
assign store=(OP==61)||(OP==42);
assign cmp=(OP==50);

endmodule