data/full_repos/permissive/141770060/src/Peripherals/PulseCapture.v
[Errno 2] No such file or directory: 'preprocess.output'
1: b'%Error: data/full_repos/permissive/141770060/src/Peripherals/PulseCapture.v:36: syntax error, unexpected \';\', expecting IDENTIFIER or do or final\nwire   int;\n          ^\n%Error: data/full_repos/permissive/141770060/src/Peripherals/PulseCapture.v:41: syntax error, unexpected \';\', expecting "\'{"\nassign leds[15]  = int;\n                      ^\n%Error: data/full_repos/permissive/141770060/src/Peripherals/PulseCapture.v:50: syntax error, unexpected int\n    .int(int),    \n     ^~~\n%Error: data/full_repos/permissive/141770060/src/Peripherals/PulseCapture.v:65: syntax error, unexpected int, expecting IDENTIFIER or do or final\n    output reg int,          \n               ^~~\n%Error: data/full_repos/permissive/141770060/src/Peripherals/PulseCapture.v:67: syntax error, unexpected \')\', expecting \',\' or \';\'\n);\n^\n%Error: data/full_repos/permissive/141770060/src/Peripherals/PulseCapture.v:86: syntax error, unexpected assign\nassign data       = oe ? out : 32\'bz;\n^~~~~~\n%Error: data/full_repos/permissive/141770060/src/Peripherals/PulseCapture.v:100: syntax error, unexpected INTEGER NUMBER, expecting new or new-then-paren\n        int  = 0;\n               ^\n%Error: data/full_repos/permissive/141770060/src/Peripherals/PulseCapture.v:107: syntax error, unexpected INTEGER NUMBER, expecting new or new-then-paren\n        int     = 0;\n                  ^\n%Error: data/full_repos/permissive/141770060/src/Peripherals/PulseCapture.v:130: syntax error, unexpected INTEGER NUMBER, expecting new or new-then-paren\n                    int = 1;\n                          ^\n%Error: Exiting due to 9 error(s)\n'
module PulseCaptureTop(
	input wire clk,
	input wire rst,
	input wire ext_pulse,
	input wire switch,
	input wire select,
	input wire trigger,
	input wire int_clr,
	input wire oe,
	output wire [15:0] leds
);

wire 		pulse;
wire 		int;
wire [31:0] data;

assign pulse 			= (select) ? ext_pulse : switch;
assign leds[14:0] 	= (oe) ? data[31:17] : 0;
assign leds[15] 	= int;

pulseCapture U0 (
    .clk(clk),
    .rst(rst),
    .oe(oe),
    .trigger(trigger),
    .ext_pulse(pulse),
    .int_clr(int_clr),
    .int(int),
    .data(data)
);

endmodule
module PulseCaptureTop(
	input wire clk,
	input wire rst,
	input wire ext_pulse,
	input wire switch,
	input wire select,
	input wire trigger,
	input wire int_clr,
	input wire oe,
	output wire [15:0] leds
);


wire 		pulse;
wire 		int;
wire [31:0] data;

assign pulse 			= (select) ? ext_pulse : switch;
assign leds[14:0] 	= (oe) ? data[31:17] : 0;
assign leds[15] 	= int;

pulseCapture U0 (
    .clk(clk),
    .rst(rst),
    .oe(oe),
    .trigger(trigger),
    .ext_pulse(pulse),
    .int_clr(int_clr),
    .int(int),
    .data(data)
);

endmodule