data/full_repos/permissive/136794488/source/pipelined_computer.v
1: b"%Error: data/full_repos/permissive/136794488/source/pipelined_computer.v:26: Cannot find file containing module: 'pipepc'\n   pipepc  prog_cnt   ( npc,wpcir,clock,resetn,pc );  \n   ^~~~~~\n        ... Looked in:\n             data/full_repos/permissive/136794488/source,data/full_repos/permissive/136794488/pipepc\n             data/full_repos/permissive/136794488/source,data/full_repos/permissive/136794488/pipepc.v\n             data/full_repos/permissive/136794488/source,data/full_repos/permissive/136794488/pipepc.sv\n             pipepc\n             pipepc.v\n             pipepc.sv\n             obj_dir/pipepc\n             obj_dir/pipepc.v\n             obj_dir/pipepc.sv\n%Error: data/full_repos/permissive/136794488/source/pipelined_computer.v:28: Cannot find file containing module: 'pipeif'\n pipeif  if_stage   ( pc,bpc,da,jpc,pcsource,mem_clock,ins,npc,pc4 );\n ^~~~~~\n%Error: data/full_repos/permissive/136794488/source/pipelined_computer.v:30: Cannot find file containing module: 'pipeir'\n pipeir  inst_reg   ( pc4,ins,clock,resetn,dpc4,inst );      \n ^~~~~~\n%Error: data/full_repos/permissive/136794488/source/pipelined_computer.v:32: Cannot find file containing module: 'pipeid'\n pipeid  id_stage  ( clock,resetn,inst,dpc4,\n ^~~~~~\n%Error: data/full_repos/permissive/136794488/source/pipelined_computer.v:38: Cannot find file containing module: 'pipedereg'\n pipedereg  de_reg  ( clock,resetn,\n ^~~~~~~~~\n%Error: data/full_repos/permissive/136794488/source/pipelined_computer.v:42: Cannot find file containing module: 'pipeexe'\n pipeexe  exe_stage ( ewreg,em2reg,ewmem,ejal,ealuc,ealuimm,eshift,\n ^~~~~~~\n%Error: data/full_repos/permissive/136794488/source/pipelined_computer.v:46: Cannot find file containing module: 'pipeemreg'\n pipeemreg  em_reg  ( clock,resetn,ewreg,em2reg,ewmem,ealu,eb,ern,          \n ^~~~~~~~~\n%Error: data/full_repos/permissive/136794488/source/pipelined_computer.v:49: Cannot find file containing module: 'pipemem'\n pipemem  mem_stage ( clock,mem_clock,resetn,mwmem,malu,mb,mmo,\n ^~~~~~~\n%Error: data/full_repos/permissive/136794488/source/pipelined_computer.v:52: Cannot find file containing module: 'ledmodule'\n ledmodule led (clock,in_port0,in_port1,out_port0,out_port1,out_port2,\n ^~~~~~~~~\n%Error: data/full_repos/permissive/136794488/source/pipelined_computer.v:55: Cannot find file containing module: 'pipemwreg'\n   pipemwreg  mw_reg  ( clock,resetn,mwreg,mm2reg,malu,mmo,mrn,                    \n   ^~~~~~~~~\n%Error: data/full_repos/permissive/136794488/source/pipelined_computer.v:58: Cannot find file containing module: 'mux2x32'\n mux2x32  wb_stage  ( walu,wmo,wm2reg,wdi );\n ^~~~~~~\n%Error: Exiting due to 11 error(s)\n"
module  pipelined_computer (resetn,clock,mem_clock,
										sw,HEX0,HEX1,HEX2,HEX3,HEX4,HEX5); 
	
	input          resetn,clock,mem_clock;  
	
	input   [7:0]  sw;
	output  [6:0]  HEX0,HEX1,HEX2,HEX3,HEX4,HEX5;
	
	wire           clock,mem_clock,resetn;
	wire   [31:0]  out_port0,out_port1,out_port2,in_port0,in_port1;
	wire   [31:0]  npc,pc,pc4,bpc,jpc,ins,inst;     
	wire   [31:0]  dpc4,da,db,dimm; 
	wire   [31:0]  epc4,ea,eb,eimm,ealu;  
	wire   [31:0]  mb,mmo,malu; 
	wire   [31:0]  wmo,wdi,walu; 
	wire   [4:0]   drn,ern0,ern,mrn,wrn; 
	wire   [3:0]   daluc,ealuc; 
	wire   [1:0]   pcsource; 
	wire           wpcir; 
	wire           dwreg,dm2reg,dwmem,daluimm,dshift,djal;  
	wire           ewreg,em2reg,ewmem,ealuimm,eshift,ejal;  
	wire           mwreg,mm2reg,mwmem;      
	wire           wwreg,wm2reg;          
	
	
   pipepc  prog_cnt   ( npc,wpcir,clock,resetn,pc );  
	
	pipeif  if_stage   ( pc,bpc,da,jpc,pcsource,mem_clock,ins,npc,pc4 );
	
	pipeir  inst_reg   ( pc4,ins,clock,resetn,dpc4,inst );      
	
	pipeid  id_stage  ( clock,resetn,inst,dpc4,
								mrn,mm2reg,mwreg,ern,em2reg,ewreg,
								ealu,malu,mmo,wwreg,wdi,wrn,      
								dwreg,dm2reg,dwmem,djal,daluc,daluimm,dshift,pcsource,wpcir,
								da,db,dimm,drn,bpc,jpc); 
								
	pipedereg  de_reg  ( clock,resetn,
								dwreg,dm2reg,dwmem,djal,daluimm,dshift,dpc4,da,db,dimm,daluc,drn,
								ewreg,em2reg,ewmem,ejal,ealuimm,eshift,epc4,ea,eb,eimm,ealuc,ern0);   
								
	pipeexe  exe_stage ( ewreg,em2reg,ewmem,ejal,ealuc,ealuimm,eshift,
								epc4,ea,eb,eimm,ern0,
								ern,ealu);

	pipeemreg  em_reg  ( clock,resetn,ewreg,em2reg,ewmem,ealu,eb,ern,          
								mwreg,mm2reg,mwmem,malu,mb,mrn);
								
	pipemem  mem_stage ( clock,mem_clock,resetn,mwmem,malu,mb,mmo,
								out_port0,out_port1,out_port2,in_port0,in_port1);
								
	ledmodule led (clock,in_port0,in_port1,out_port0,out_port1,out_port2,
						resetn,sw,HEX0,HEX1,HEX2,HEX3,HEX4,HEX5);
	
   pipemwreg  mw_reg  ( clock,resetn,mwreg,mm2reg,malu,mmo,mrn,                    
									          wwreg,wm2reg,walu,wmo,wrn);    
								
	mux2x32  wb_stage  ( walu,wmo,wm2reg,wdi );
	
endmodule
module  pipelined_computer (resetn,clock,mem_clock,
										sw,HEX0,HEX1,HEX2,HEX3,HEX4,HEX5);
 
	
	input          resetn,clock,mem_clock;  
	
	input   [7:0]  sw;
	output  [6:0]  HEX0,HEX1,HEX2,HEX3,HEX4,HEX5;
	
	wire           clock,mem_clock,resetn;
	wire   [31:0]  out_port0,out_port1,out_port2,in_port0,in_port1;
	wire   [31:0]  npc,pc,pc4,bpc,jpc,ins,inst;     
	wire   [31:0]  dpc4,da,db,dimm; 
	wire   [31:0]  epc4,ea,eb,eimm,ealu;  
	wire   [31:0]  mb,mmo,malu; 
	wire   [31:0]  wmo,wdi,walu; 
	wire   [4:0]   drn,ern0,ern,mrn,wrn; 
	wire   [3:0]   daluc,ealuc; 
	wire   [1:0]   pcsource; 
	wire           wpcir; 
	wire           dwreg,dm2reg,dwmem,daluimm,dshift,djal;  
	wire           ewreg,em2reg,ewmem,ealuimm,eshift,ejal;  
	wire           mwreg,mm2reg,mwmem;      
	wire           wwreg,wm2reg;          
	
	
   pipepc  prog_cnt   ( npc,wpcir,clock,resetn,pc );  
	
	pipeif  if_stage   ( pc,bpc,da,jpc,pcsource,mem_clock,ins,npc,pc4 );
	
	pipeir  inst_reg   ( pc4,ins,clock,resetn,dpc4,inst );      
	
	pipeid  id_stage  ( clock,resetn,inst,dpc4,
								mrn,mm2reg,mwreg,ern,em2reg,ewreg,
								ealu,malu,mmo,wwreg,wdi,wrn,      
								dwreg,dm2reg,dwmem,djal,daluc,daluimm,dshift,pcsource,wpcir,
								da,db,dimm,drn,bpc,jpc); 
								
	pipedereg  de_reg  ( clock,resetn,
								dwreg,dm2reg,dwmem,djal,daluimm,dshift,dpc4,da,db,dimm,daluc,drn,
								ewreg,em2reg,ewmem,ejal,ealuimm,eshift,epc4,ea,eb,eimm,ealuc,ern0);   
								
	pipeexe  exe_stage ( ewreg,em2reg,ewmem,ejal,ealuc,ealuimm,eshift,
								epc4,ea,eb,eimm,ern0,
								ern,ealu);

	pipeemreg  em_reg  ( clock,resetn,ewreg,em2reg,ewmem,ealu,eb,ern,          
								mwreg,mm2reg,mwmem,malu,mb,mrn);
								
	pipemem  mem_stage ( clock,mem_clock,resetn,mwmem,malu,mb,mmo,
								out_port0,out_port1,out_port2,in_port0,in_port1);
								
	ledmodule led (clock,in_port0,in_port1,out_port0,out_port1,out_port2,
						resetn,sw,HEX0,HEX1,HEX2,HEX3,HEX4,HEX5);
	
   pipemwreg  mw_reg  ( clock,resetn,mwreg,mm2reg,malu,mmo,mrn,                    
									          wwreg,wm2reg,walu,wmo,wrn);    
								
	mux2x32  wb_stage  ( walu,wmo,wm2reg,wdi );
	
endmodule