mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	Revert "ecp5: replace ecp5_ffinit with techmap rules + dff2dffs -match-init"
This reverts commit 8c702b6cc0221a00021a3e4661c883bb591c924b.
This commit is contained in:
		
							parent
							
								
									8bad885e78
								
							
						
					
					
						commit
						0d84ff3fc4
					
				
					 3 changed files with 57 additions and 213 deletions
				
			
		| 
						 | 
				
			
			@ -311,7 +311,7 @@ struct SynthEcp5Pass : public ScriptPass
 | 
			
		|||
 | 
			
		||||
		if (check_label("map_ffs"))
 | 
			
		||||
		{
 | 
			
		||||
			run("dff2dffs -match-init");
 | 
			
		||||
			run("dff2dffs");
 | 
			
		||||
			run("opt_clean");
 | 
			
		||||
			if (!nodffe)
 | 
			
		||||
				run("dff2dffe -direct-match $_DFF_* -direct-match $__DFFS_*");
 | 
			
		||||
| 
						 | 
				
			
			@ -320,6 +320,7 @@ struct SynthEcp5Pass : public ScriptPass
 | 
			
		|||
			run(stringf("techmap -D NO_LUT %s -map +/ecp5/cells_map.v", help_mode ? "[-D ASYNC_PRLD]" : (asyncprld ? "-D ASYNC_PRLD" : "")));
 | 
			
		||||
			run("opt_expr -undriven -mux_undef");
 | 
			
		||||
			run("simplemap");
 | 
			
		||||
			run("ecp5_ffinit");
 | 
			
		||||
			run("ecp5_gsr");
 | 
			
		||||
			run("attrmvcp -copy -attr syn_useioff");
 | 
			
		||||
			run("opt_clean");
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue