data/full_repos/permissive/167489907/Control Unit/CPU.v
1: b'%Error: Cannot find file containing module: Unit,data/full_repos/permissive/167489907\n        ... Looked in:\n             data/full_repos/permissive/167489907/Control/Unit,data/full_repos/permissive/167489907\n             data/full_repos/permissive/167489907/Control/Unit,data/full_repos/permissive/167489907.v\n             data/full_repos/permissive/167489907/Control/Unit,data/full_repos/permissive/167489907.sv\n             Unit,data/full_repos/permissive/167489907\n             Unit,data/full_repos/permissive/167489907.v\n             Unit,data/full_repos/permissive/167489907.sv\n             obj_dir/Unit,data/full_repos/permissive/167489907\n             obj_dir/Unit,data/full_repos/permissive/167489907.v\n             obj_dir/Unit,data/full_repos/permissive/167489907.sv\n%Error: Cannot find file containing module: data/full_repos/permissive/167489907/Control\n%Error: Cannot find file containing module: Unit/CPU.v\n%Error: Exiting due to 3 error(s)\n'
module CPU(
	input clk,
	input rst,
	output [15:0] r0, r1, r2, r3, r4, r5, r6, r7,
	output reg [3:0] status);
	
wire AS;
wire [1:0] DS;
wire [1:0] PS;
wire PC_Sel;
wire K_Sel;
wire IL;
wire SL;
wire [4:0] FS;
wire C0;
wire MW;
wire RW;
wire [4:0] DA;
wire [4:0] SA, SB;
wire [63:0] K;
wire [3:0] SF; 
wire [31:0] IR_Out;
wire [33:0] control_word;
wire [1:0] NS;




assign {NS, AS, DS, PS, PC_Sel, K_Sel, IL, SL, FS, C0, MW, RW, DA, SA, SB} = control_word;

datapath_core core(clk, rst, AS, DS, PS, PC_Sel, K_Sel, IL, SL, FS, C0, MW, RW, DA, SA, SB, K, r0, r1, r2, r3, r4, r5, r6, r7, SF, IR_Out);
ControlUnit CU(clk, rst, SF, IR_Out, control_word, K);

endmodule
module CPU(
	input clk,
	input rst,
	output [15:0] r0, r1, r2, r3, r4, r5, r6, r7,
	output reg [3:0] status);

	
wire AS;
wire [1:0] DS;
wire [1:0] PS;
wire PC_Sel;
wire K_Sel;
wire IL;
wire SL;
wire [4:0] FS;
wire C0;
wire MW;
wire RW;
wire [4:0] DA;
wire [4:0] SA, SB;
wire [63:0] K;
wire [3:0] SF; 
wire [31:0] IR_Out;
wire [33:0] control_word;
wire [1:0] NS;




assign {NS, AS, DS, PS, PC_Sel, K_Sel, IL, SL, FS, C0, MW, RW, DA, SA, SB} = control_word;

datapath_core core(clk, rst, AS, DS, PS, PC_Sel, K_Sel, IL, SL, FS, C0, MW, RW, DA, SA, SB, K, r0, r1, r2, r3, r4, r5, r6, r7, SF, IR_Out);
ControlUnit CU(clk, rst, SF, IR_Out, control_word, K);

endmodule