data/full_repos/permissive/150152921/apps/des/step2/rtl/des_wrapper.v
1: b"%Error: data/full_repos/permissive/150152921/apps/des/step2/rtl/des_wrapper.v:51: Cannot find file containing module: 'regchain'\n regchain #(19, 64) desin_hp(CLK, DESIN, desin);\n ^~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/150152921/apps/des/step2/rtl,data/full_repos/permissive/150152921/regchain\n             data/full_repos/permissive/150152921/apps/des/step2/rtl,data/full_repos/permissive/150152921/regchain.v\n             data/full_repos/permissive/150152921/apps/des/step2/rtl,data/full_repos/permissive/150152921/regchain.sv\n             regchain\n             regchain.v\n             regchain.sv\n             obj_dir/regchain\n             obj_dir/regchain.v\n             obj_dir/regchain.sv\n%Error: data/full_repos/permissive/150152921/apps/des/step2/rtl/des_wrapper.v:52: Cannot find file containing module: 'regchain'\n regchain #(19, 56) key_hp(CLK, KEY, key);\n ^~~~~~~~\n%Error: data/full_repos/permissive/150152921/apps/des/step2/rtl/des_wrapper.v:53: Cannot find file containing module: 'regchain'\n regchain #(19, 1) decrypt_hp(CLK, DECRYPT, decrypt);\n ^~~~~~~~\n%Error: data/full_repos/permissive/150152921/apps/des/step2/rtl/des_wrapper.v:56: Cannot find file containing module: 'des'\n des core\n ^~~\n%Error: data/full_repos/permissive/150152921/apps/des/step2/rtl/des_wrapper.v:68: Cannot find file containing module: 'regchain'\n regchain #(0, 64) desout_hp(CLK, desout, DESOUT);\n ^~~~~~~~\n%Error: Exiting due to 5 error(s)\n"
module top
(
	input		CLK,
	input	[63:0]	DESIN,
	input	[55:0]	KEY,
	input		DECRYPT,
	output	[63:0]	DESOUT
);

	wire	[63:0]	desout, desin;
	wire	[55:0]	key;
	wire		decrypt;

`ifdef TTDSE
	regchain #(`NUM_FRONT, 64) desin_hp(CLK, DESIN, desin);
	regchain #(`NUM_FRONT, 56) key_hp(CLK, KEY, key);
	regchain #(`NUM_FRONT, 1) decrypt_hp(CLK, DECRYPT, decrypt);
`else
	regchain #(19, 64) desin_hp(CLK, DESIN, desin);
	regchain #(19, 56) key_hp(CLK, KEY, key);
	regchain #(19, 1) decrypt_hp(CLK, DECRYPT, decrypt);
`endif

	des core
	(
		.desOut(desout),
		.desIn(desin),
		.key(key),
		.decrypt(decrypt),
		.clk(CLK)
	);

`ifdef TTDSE
	regchain #(`NUM_BACK, 64) desout_hp(CLK, desout, DESOUT);
`else
	regchain #(0, 64) desout_hp(CLK, desout, DESOUT);
`endif

endmodule
module top
(
	input		CLK,
	input	[63:0]	DESIN,
	input	[55:0]	KEY,
	input		DECRYPT,
	output	[63:0]	DESOUT
);


	wire	[63:0]	desout, desin;
	wire	[55:0]	key;
	wire		decrypt;

`ifdef TTDSE
	regchain #(`NUM_FRONT, 64) desin_hp(CLK, DESIN, desin);
	regchain #(`NUM_FRONT, 56) key_hp(CLK, KEY, key);
	regchain #(`NUM_FRONT, 1) decrypt_hp(CLK, DECRYPT, decrypt);
`else
	regchain #(19, 64) desin_hp(CLK, DESIN, desin);
	regchain #(19, 56) key_hp(CLK, KEY, key);
	regchain #(19, 1) decrypt_hp(CLK, DECRYPT, decrypt);
`endif

	des core
	(
		.desOut(desout),
		.desIn(desin),
		.key(key),
		.decrypt(decrypt),
		.clk(CLK)
	);

`ifdef TTDSE
	regchain #(`NUM_BACK, 64) desout_hp(CLK, desout, DESOUT);
`else
	regchain #(0, 64) desout_hp(CLK, desout, DESOUT);
`endif

endmodule