mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 13:29:12 +00:00 
			
		
		
		
	Ooops AREG and BREG to default to -1
This commit is contained in:
		
							parent
							
								
									26657037b8
								
							
						
					
					
						commit
						aebbfffd71
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -146,7 +146,7 @@ code next
 | 
			
		|||
endcode
 | 
			
		||||
 | 
			
		||||
code argQ clock AREG
 | 
			
		||||
	AREG = 0;
 | 
			
		||||
	AREG = -1;
 | 
			
		||||
	if (next) {
 | 
			
		||||
		Cell *prev = std::get<0>(chain.back());
 | 
			
		||||
		if (param(prev, \AREG, 2).as_int() > 0 &&
 | 
			
		||||
| 
						 | 
				
			
			@ -175,7 +175,7 @@ reject_AREG:			;
 | 
			
		|||
endcode
 | 
			
		||||
 | 
			
		||||
code argQ clock BREG
 | 
			
		||||
	BREG = 0;
 | 
			
		||||
	BREG = -1;
 | 
			
		||||
	if (next) {
 | 
			
		||||
		Cell *prev = std::get<0>(chain.back());
 | 
			
		||||
		if (param(prev, \BREG, 2).as_int() > 0 &&
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue