data/full_repos/permissive/423547971/FPGA Projects/PicoBlaze Microcontroller/Intro to PicoBlaze/p_blaze_top.v
1: b'%Error: Cannot find file containing module: Projects/PicoBlaze\n        ... Looked in:\n             data/full_repos/permissive/423547971/FPGA/Projects/PicoBlaze\n             data/full_repos/permissive/423547971/FPGA/Projects/PicoBlaze.v\n             data/full_repos/permissive/423547971/FPGA/Projects/PicoBlaze.sv\n             Projects/PicoBlaze\n             Projects/PicoBlaze.v\n             Projects/PicoBlaze.sv\n             obj_dir/Projects/PicoBlaze\n             obj_dir/Projects/PicoBlaze.v\n             obj_dir/Projects/PicoBlaze.sv\n%Error: Cannot find file containing module: Microcontroller/Intro\n%Error: Cannot find file containing module: to\n%Error: Cannot find file containing module: PicoBlaze,data/full_repos/permissive/423547971\n%Error: Cannot find file containing module: data/full_repos/permissive/423547971/FPGA\n%Error: Cannot find file containing module: PicoBlaze/p_blaze_top.v\n%Error: Exiting due to 6 error(s)\n'
module p_blaze_top(
    input clk,
    input [7:0] sw,
    output [7:0] LED
    
    );
    

    wire	[11:0]	address;
    wire	[17:0]	instruction;
    wire			bram_enable;
    wire	[7:0]		port_id;
    wire	[7:0]		out_port;
    reg	[7:0]		in_port;
    wire			write_strobe;
    wire			k_write_strobe;
    wire			read_strobe;
    reg			interrupt;
    wire			interrupt_ack;
    wire			kcpsm6_sleep;
    reg			kcpsm6_reset;
    









    kcpsm6 #(
	   .interrupt_vector	(12'h3FF),
	   .scratch_pad_memory_size(64),
	   .hwbuild		(8'h00))
    processor (
	   .address 		(address),
	   .instruction 	(instruction),
	   .bram_enable 	(bram_enable),
	   .port_id 		(port_id),
	   .write_strobe 	(write_strobe),
	   .k_write_strobe 	(k_write_strobe),
	   .out_port 		(out_port),
	   .read_strobe 	(read_strobe),
	   .in_port 		(in_port),
	   .interrupt 		(interrupt),
	   .interrupt_ack 	(interrupt_ack),
	   .reset 		(kcpsm6_reset),

	   .sleep		(kcpsm6_sleep),
	   .clk 			(clk));
    

   First_PicoBlaze_assy_program #(
	.C_FAMILY		   ("V6"),
	.C_RAM_SIZE_KWORDS	(2),
	.C_JTAG_LOADER_ENABLE	(1))
  program_rom (
 	.rdl 			(),

	.enable 		(bram_enable),
	.address 		(address),
	.instruction 	(instruction),
	.clk 			(clk));
    


    always @(posedge clk)
        in_port = sw;
    

    assign LED = out_port;
    
endmodule
module p_blaze_top(
    input clk,
    input [7:0] sw,
    output [7:0] LED
    
    );

    

    wire	[11:0]	address;
    wire	[17:0]	instruction;
    wire			bram_enable;
    wire	[7:0]		port_id;
    wire	[7:0]		out_port;
    reg	[7:0]		in_port;
    wire			write_strobe;
    wire			k_write_strobe;
    wire			read_strobe;
    reg			interrupt;
    wire			interrupt_ack;
    wire			kcpsm6_sleep;
    reg			kcpsm6_reset;
    









    kcpsm6 #(
	   .interrupt_vector	(12'h3FF),
	   .scratch_pad_memory_size(64),
	   .hwbuild		(8'h00))
    processor (
	   .address 		(address),
	   .instruction 	(instruction),
	   .bram_enable 	(bram_enable),
	   .port_id 		(port_id),
	   .write_strobe 	(write_strobe),
	   .k_write_strobe 	(k_write_strobe),
	   .out_port 		(out_port),
	   .read_strobe 	(read_strobe),
	   .in_port 		(in_port),
	   .interrupt 		(interrupt),
	   .interrupt_ack 	(interrupt_ack),
	   .reset 		(kcpsm6_reset),

	   .sleep		(kcpsm6_sleep),
	   .clk 			(clk));
    

   First_PicoBlaze_assy_program #(
	.C_FAMILY		   ("V6"),
	.C_RAM_SIZE_KWORDS	(2),
	.C_JTAG_LOADER_ENABLE	(1))
  program_rom (
 	.rdl 			(),

	.enable 		(bram_enable),
	.address 		(address),
	.instruction 	(instruction),
	.clk 			(clk));
    


    always @(posedge clk)
        in_port = sw;
    

    assign LED = out_port;
    
endmodule