mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 03:32:29 +00:00 
			
		
		
		
	xilinx: xilinx_dsp_cascade to check CREG for DSP48E1 only
This commit is contained in:
		
							parent
							
								
									db09e96dff
								
							
						
					
					
						commit
						592baebd22
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -188,7 +188,7 @@ arg next | ||||||
| //       driven by the 'P' output of the previous DSP cell, and (c) has its | //       driven by the 'P' output of the previous DSP cell, and (c) has its | ||||||
| //       'PCIN' port unused | //       'PCIN' port unused | ||||||
| match nextP | match nextP | ||||||
| 	select !param(nextP, \CREG).as_bool() | 	select !nextP->type.in(\DSP48E1) || !param(nextP, \CREG).as_bool() | ||||||
| 	select (nextP->type.in(\DSP48A, \DSP48A1) && port(nextP, \OPMODE, Const(0, 8)).extract(2,2) == Const::from_string("11")) || (nextP->type.in(\DSP48E1) && port(nextP, \OPMODE, Const(0, 7)).extract(4,3) == Const::from_string("011")) | 	select (nextP->type.in(\DSP48A, \DSP48A1) && port(nextP, \OPMODE, Const(0, 8)).extract(2,2) == Const::from_string("11")) || (nextP->type.in(\DSP48E1) && port(nextP, \OPMODE, Const(0, 7)).extract(4,3) == Const::from_string("011")) | ||||||
| 	select nusers(port(nextP, \C, SigSpec())) > 1 | 	select nusers(port(nextP, \C, SigSpec())) > 1 | ||||||
| 	select nusers(port(nextP, \PCIN, SigSpec())) == 0 | 	select nusers(port(nextP, \PCIN, SigSpec())) == 0 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue