mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 19:52:31 +00:00 
			
		
		
		
	shift register inference before mux
This commit is contained in:
		
							parent
							
								
									9b1078b9bd
								
							
						
					
					
						commit
						4f44e3399b
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		|  | @ -266,9 +266,6 @@ struct SynthXilinxPass : public ScriptPass | ||||||
| 			else if (!nocarry || help_mode) | 			else if (!nocarry || help_mode) | ||||||
| 				run("techmap -map +/xilinx/arith_map.v", "(skip if '-nocarry')"); | 				run("techmap -map +/xilinx/arith_map.v", "(skip if '-nocarry')"); | ||||||
| 
 | 
 | ||||||
| 			if (!nomux || help_mode) |  | ||||||
| 				run("techmap -map +/xilinx/cells_map.v"); |  | ||||||
| 
 |  | ||||||
| 			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,
 | ||||||
| 				//   so break those down here
 | 				//   so break those down here
 | ||||||
|  | @ -277,6 +274,9 @@ struct SynthXilinxPass : public ScriptPass | ||||||
| 				run("shregmap -tech xilinx -minlen 3", "(skip if '-nosrl')"); | 				run("shregmap -tech xilinx -minlen 3", "(skip if '-nosrl')"); | ||||||
| 			} | 			} | ||||||
| 
 | 
 | ||||||
|  | 			if (!nomux || help_mode) | ||||||
|  | 				run("techmap -map +/xilinx/cells_map.v"); | ||||||
|  | 
 | ||||||
| 			run("techmap"); | 			run("techmap"); | ||||||
| 			run("opt -fast"); | 			run("opt -fast"); | ||||||
| 		} | 		} | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue