data/full_repos/permissive/119758565/src/mojo_top.v
 line:43: before: "("
1: b"%Error: data/full_repos/permissive/119758565/src/mojo_top.v:43: syntax error, unexpected '(', expecting IDENTIFIER\nfreqDivide #(.POW(20)) (clk, 1, slowClock);\n                        ^~~\n%Error: data/full_repos/permissive/119758565/src/mojo_top.v:50: syntax error, unexpected '(', expecting IDENTIFIER\n    .ROMAddressLineCtl(),\n    ^\n%Error: data/full_repos/permissive/119758565/src/mojo_top.v:61: syntax error, unexpected '(', expecting IDENTIFIER\n    .binary(DOut), \n    ^\n%Error: Exiting due to 3 error(s)\n"
module mojo_top(

    input clk,

    input rst_n,

    input cclk,

    output[7:0]led,

    output spi_miso,
    input spi_ss,
    input spi_mosi,
    input spi_sck,

    output [3:0] spi_channel,

    input avr_tx,
    output avr_rx,
    input avr_rx_busy,
    output [6:0] Ones,
	 output [6:0] Tens,
	 output [6:0] Hundreds,
	 output [6:0] Thousends,
	 output [6:0] TenThousends,
	 output negIndicator,
	 input ROMLoad
	 );

wire rst = ~rst_n;


assign spi_miso = 1'bz;
assign avr_rx = 1'bz;
assign spi_channel = 4'bzzzz;


wire slowClock;

assign led[7] = slowClock;
reg [15:0] PC;

freqDivide #(.POW(20)) (clk, 1, slowClock);

wire [15:0] DOut;



HACK(
    .ROMAddressLineCtl(),
	 .ROMDataLine(),
	 .ROMLoad(ROMLoad),
	 .rst(rst),
	 .clk(slowClock),
	 .PCout(led[6:0]),
	 .DOut(DOut)
    );
	 
wire [3:0] bcd [4:0];
BCD(
    .binary(DOut), 
    .TenThousands(bcd[4]), 
    .Thousands(bcd[3]), 
    .Hundreds(bcd[2]), 
    .Tens(bcd[1]), 
    .Ones(bcd[0])
    );
	 
seg7  (
    .bcd(bcd[0]), 
    .seg(Ones)
    );
seg7  (
    .bcd(bcd[1]), 
    .seg(Tens)
    );
seg7  (
    .bcd(bcd[2]), 
    .seg(Hundreds)
    );
seg7  (
    .bcd(bcd[3]), 
    .seg(Thousends)
    );
seg7  (
    .bcd(bcd[4]), 
    .seg(TenThousends)
    );


assign negIndicator = DOut[15];
endmodule
module mojo_top(

    input clk,

    input rst_n,

    input cclk,

    output[7:0]led,

    output spi_miso,
    input spi_ss,
    input spi_mosi,
    input spi_sck,

    output [3:0] spi_channel,

    input avr_tx,
    output avr_rx,
    input avr_rx_busy,
    output [6:0] Ones,
	 output [6:0] Tens,
	 output [6:0] Hundreds,
	 output [6:0] Thousends,
	 output [6:0] TenThousends,
	 output negIndicator,
	 input ROMLoad
	 );


wire rst = ~rst_n;


assign spi_miso = 1'bz;
assign avr_rx = 1'bz;
assign spi_channel = 4'bzzzz;


wire slowClock;

assign led[7] = slowClock;
reg [15:0] PC;

freqDivide #(.POW(20)) (clk, 1, slowClock);

wire [15:0] DOut;



HACK(
    .ROMAddressLineCtl(),
	 .ROMDataLine(),
	 .ROMLoad(ROMLoad),
	 .rst(rst),
	 .clk(slowClock),
	 .PCout(led[6:0]),
	 .DOut(DOut)
    );
	 
wire [3:0] bcd [4:0];
BCD(
    .binary(DOut), 
    .TenThousands(bcd[4]), 
    .Thousands(bcd[3]), 
    .Hundreds(bcd[2]), 
    .Tens(bcd[1]), 
    .Ones(bcd[0])
    );
	 
seg7  (
    .bcd(bcd[0]), 
    .seg(Ones)
    );
seg7  (
    .bcd(bcd[1]), 
    .seg(Tens)
    );
seg7  (
    .bcd(bcd[2]), 
    .seg(Hundreds)
    );
seg7  (
    .bcd(bcd[3]), 
    .seg(Thousends)
    );
seg7  (
    .bcd(bcd[4]), 
    .seg(TenThousends)
    );


assign negIndicator = DOut[15];
endmodule