mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	Add a few more filename rewrites
This now allows a full pipeline to work, something such as: yosys -p "synth_ecp5 -json ~/work/fpga/prjtrellis/examples/ecp5_evn/blinky.v" Otherwise, you will get something along the lines of: ERROR: Can't open output file `~/work/fpga/prjtrellis/examples/ecp5_evn/blinky.v' for writing: No such file or directory Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
This commit is contained in:
		
							parent
							
								
									3b1e5264d8
								
							
						
					
					
						commit
						8767ec3fbd
					
				
					 2 changed files with 5 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -545,6 +545,7 @@ void Backend::extra_args(std::ostream *&f, std::string &filename, std::vector<st
 | 
			
		|||
		}
 | 
			
		||||
 | 
			
		||||
		filename = arg;
 | 
			
		||||
		rewrite_filename(filename);
 | 
			
		||||
		std::ofstream *ff = new std::ofstream;
 | 
			
		||||
		ff->open(filename.c_str(), std::ofstream::trunc);
 | 
			
		||||
		yosys_output_files.insert(filename);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue