mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 13:29:12 +00:00 
			
		
		
		
	Fix -nocarry
This commit is contained in:
		
							parent
							
								
									5cd19b52da
								
							
						
					
					
						commit
						3b5e8c86a4
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
					@ -241,10 +241,10 @@ struct SynthXilinxPass : public ScriptPass
 | 
				
			||||||
			run("dff2dffe");
 | 
								run("dff2dffe");
 | 
				
			||||||
			run("opt -full");
 | 
								run("opt -full");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			if (!vpr || help_mode)
 | 
								if (vpr && !nocarry && !help_mode)
 | 
				
			||||||
				run("techmap -map +/xilinx/arith_map.v");
 | 
					 | 
				
			||||||
			else
 | 
					 | 
				
			||||||
				run("techmap -map +/xilinx/arith_map.v -D _EXPLICIT_CARRY");
 | 
									run("techmap -map +/xilinx/arith_map.v -D _EXPLICIT_CARRY");
 | 
				
			||||||
 | 
								else if (!nocarry || help_mode)
 | 
				
			||||||
 | 
									run("techmap -map +/xilinx/arith_map.v", "(skip if '-nocarry')");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			if (!nosrl || help_mode) {
 | 
								if (!nosrl || help_mode) {
 | 
				
			||||||
				// shregmap operates on bit-level flops, not word-level,
 | 
									// shregmap operates on bit-level flops, not word-level,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue