data/full_repos/permissive/167274925/ProgramCounter.v
[Errno 2] No such file or directory: 'preprocess.output'
data/verilator_xmls/dc09dd24-9e40-48f6-80a1-eafcc321adf6.xml
module ProgramCounter(enablePC,Address, PCResult, Reset, Clk);
   
	input [31:0] Address;
	input enablePC, Reset, Clk;

	output reg [31:0] PCResult;
 
 always@(posedge Clk)begin 
       if (Reset)begin 
       PCResult<=32'd0;
       end 
       else if(enablePC)begin 
        PCResult<=Address;
       end 
 end 

endmodule
module ProgramCounter(enablePC,Address, PCResult, Reset, Clk);

   
	input [31:0] Address;
	input enablePC, Reset, Clk;

	output reg [31:0] PCResult;
 
 always@(posedge Clk)begin 
       if (Reset)begin 
       PCResult<=32'd0;
       end 
       else if(enablePC)begin 
        PCResult<=Address;
       end 
 end 

endmodule