data/full_repos/permissive/1599640/boards/milkymist-one/rtl/system.v
1: b"%Error: data/full_repos/permissive/1599640/boards/milkymist-one/rtl/system.v:54: Cannot find file containing module: 'fjmem'\nfjmem #(\n^~~~~\n        ... Looked in:\n             data/full_repos/permissive/1599640/boards/milkymist-one/rtl,data/full_repos/permissive/1599640/fjmem\n             data/full_repos/permissive/1599640/boards/milkymist-one/rtl,data/full_repos/permissive/1599640/fjmem.v\n             data/full_repos/permissive/1599640/boards/milkymist-one/rtl,data/full_repos/permissive/1599640/fjmem.sv\n             fjmem\n             fjmem.v\n             fjmem.sv\n             obj_dir/fjmem\n             obj_dir/fjmem.v\n             obj_dir/fjmem.sv\n%Error: Exiting due to 1 error(s)\n"
module system(
    input clk50,
    

    output [23:0] flash_adr,
    inout [15:0] flash_d,
    output flash_oe_n,
    output flash_we_n,
    output flash_ce_n,
    output flash_rst_n,
    input flash_sts,


	output led1,
	output led2
);


wire sys_rst;
wire sys_clk;
assign sys_clk = clk50;
assign sys_rst = 1'b0;


assign flash_ce_n = 1'b0;
assign flash_rst_n = 1'b1;


wire fjmem_update;
reg [25:0] counter;
always @(posedge sys_clk)
	counter <= counter + 1'd1;

assign led1 = counter[25];
assign led2 = fjmem_update;

fjmem #(
    .adr_width(24)
) fjmem (
    .sys_clk(sys_clk),
    .sys_rst(sys_rst),

    .flash_adr(flash_adr),
    .flash_d(flash_d),
    .flash_oe_n(flash_oe_n),
    .flash_we_n(flash_we_n),

	.fjmem_update(fjmem_update)
);

endmodule
module system(
    input clk50,
    

    output [23:0] flash_adr,
    inout [15:0] flash_d,
    output flash_oe_n,
    output flash_we_n,
    output flash_ce_n,
    output flash_rst_n,
    input flash_sts,


	output led1,
	output led2
);



wire sys_rst;
wire sys_clk;
assign sys_clk = clk50;
assign sys_rst = 1'b0;


assign flash_ce_n = 1'b0;
assign flash_rst_n = 1'b1;


wire fjmem_update;
reg [25:0] counter;
always @(posedge sys_clk)
	counter <= counter + 1'd1;

assign led1 = counter[25];
assign led2 = fjmem_update;

fjmem #(
    .adr_width(24)
) fjmem (
    .sys_clk(sys_clk),
    .sys_rst(sys_rst),

    .flash_adr(flash_adr),
    .flash_d(flash_d),
    .flash_oe_n(flash_oe_n),
    .flash_we_n(flash_we_n),

	.fjmem_update(fjmem_update)
);

endmodule