data/full_repos/permissive/411838135/rv/synth/mmem.sv
1: b'%Warning-MULTITOP: data/full_repos/permissive/411838135/rv/synth/mmem.sv:338: Multiple top level modules\n                                                                            : ... Suggest see manual; fix the duplicates, or use --top-module to select top.\n                   ... Use "/* verilator lint_off MULTITOP */" and lint_on around source to disable this message.\n                                                                            : ... Top module \'mem_interface\'\nmodule mem_interface(\n       ^~~~~~~~~~~~~\n                                                                            : ... Top module \'synchoniser\'\nmodule synchoniser(\n       ^~~~~~~~~~~\n%Error: Exiting due to 1 warning(s)\n'
module synchoniser(
	input	clk,
	input	in,
	output	out);

	parameter LEN=2;
`ifdef PSYNC
	HARD_SYNC #(.LATENCY(LEN))s(.CLK(clk).DIN(in),.DOUT(out));
`else
	reg [LEN-1:0]r_sync;
	assign out = r_sync[LEN-1];

	always @(posedge clk)
		r_sync <= {r_sync[LEN-2:0],in};
`endif
	
endmodule
module synchoniser(
	input	clk,
	input	in,
	output	out);


	parameter LEN=2;
`ifdef PSYNC
	HARD_SYNC #(.LATENCY(LEN))s(.CLK(clk).DIN(in),.DOUT(out));
`else
	reg [LEN-1:0]r_sync;
	assign out = r_sync[LEN-1];

	always @(posedge clk)
		r_sync <= {r_sync[LEN-2:0],in};
`endif
	
endmodule