mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-30 19:22:31 +00:00 
			
		
		
		
	
						commit
						6da543a61a
					
				
					 18 changed files with 381 additions and 55 deletions
				
			
		|  | @ -1,7 +1,7 @@ | |||
| Coarse arithmetics | ||||
| ------------------ | ||||
| 
 | ||||
| .. todo:: Add information about `$alu`, `$fa`, and `$lcu` cells. | ||||
| .. todo:: Add information about `$alu`, `$fa`, `$macc_v2`, and `$lcu` cells. | ||||
| 
 | ||||
| The `$macc` cell type represents a generalized multiply and accumulate | ||||
| operation. The cell is purely combinational. It outputs the result of summing up | ||||
|  |  | |||
|  | @ -67,7 +67,7 @@ show -color maroon3 @new_cells -notitle -format dot -prefix rdata_memrdv2 o:rdat | |||
| # ======================================================== | ||||
| 
 | ||||
| alumacc | ||||
| select -set new_cells t:$alu t:$macc | ||||
| select -set new_cells t:$alu t:$macc_v2 | ||||
| show -color maroon3 @new_cells -notitle -format dot -prefix rdata_alumacc o:rdata %ci* | ||||
| 
 | ||||
| # ======================================================== | ||||
|  |  | |||
|  | @ -523,7 +523,7 @@ That brings us to the fourth and final part for the iCE40 synthesis flow: | |||
|    :name: synth_coarse4 | ||||
| 
 | ||||
| Where before each type of arithmetic operation had its own cell, e.g. `$add`, we | ||||
| now want to extract these into `$alu` and `$macc` cells which can help identify | ||||
| now want to extract these into `$alu` and `$macc_v2` cells which can help identify | ||||
| opportunities for reusing logic.  We do this by running `alumacc`, which we can | ||||
| see produce the following changes in our example design: | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue