mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-03 21:09:12 +00:00 
			
		
		
		
	synth_ice40 to decompose into 16x16
This commit is contained in:
		
							parent
							
								
									2339b7fc37
								
							
						
					
					
						commit
						266c1ae122
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -265,8 +265,10 @@ struct SynthIce40Pass : public ScriptPass
 | 
			
		|||
			run("techmap -map +/cmp2lut.v -D LUT_WIDTH=4");
 | 
			
		||||
			run("opt_expr");
 | 
			
		||||
			run("opt_clean");
 | 
			
		||||
			if (help_mode || dsp)
 | 
			
		||||
			if (help_mode || dsp) {
 | 
			
		||||
				run("techmap -map +/mul2dsp.v -D DSP_A_MAXWIDTH=16 -D DSP_B_MAXWIDTH=16 -D DSP_NAME=$__MUL16X16");
 | 
			
		||||
				run("ice40_dsp", "(if -dsp)");
 | 
			
		||||
			}
 | 
			
		||||
			run("alumacc");
 | 
			
		||||
			run("opt");
 | 
			
		||||
			run("fsm");
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue