mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	Add init support
This commit is contained in:
		
							parent
							
								
									df53fe12e7
								
							
						
					
					
						commit
						5ce0c31d0e
					
				
					 2 changed files with 12 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -406,7 +406,7 @@ struct SynthXilinxPass : public ScriptPass
 | 
			
		|||
			// This shregmap call infers fixed length shift registers after abc
 | 
			
		||||
			//   has performed any necessary retiming
 | 
			
		||||
			if (!nosrl || help_mode)
 | 
			
		||||
				run("shregmap -minlen 3 -init -params -enpol any_or_none", "(skip if '-nosrl')");
 | 
			
		||||
				run("xilinx_srl -minlen 3", "(skip if '-nosrl')");
 | 
			
		||||
			run("techmap -map +/xilinx/lut_map.v -map +/xilinx/ff_map.v -map +/xilinx/cells_map.v");
 | 
			
		||||
			run("dffinit -ff FDRE Q INIT -ff FDCE Q INIT -ff FDPE Q INIT -ff FDSE Q INIT "
 | 
			
		||||
					"-ff FDRE_1 Q INIT -ff FDCE_1 Q INIT -ff FDPE_1 Q INIT -ff FDSE_1 Q INIT");
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue