mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 03:32:29 +00:00 
			
		
		
		
	Fix bug in smtio unroll code
This commit is contained in:
		
							parent
							
								
									66a1617b69
								
							
						
					
					
						commit
						6e152f7aa1
					
				
					 1 changed files with 2 additions and 3 deletions
				
			
		|  | @ -215,9 +215,8 @@ class SmtIo: | ||||||
|         stmt = stmt.strip() |         stmt = stmt.strip() | ||||||
| 
 | 
 | ||||||
|         if self.nocomments or self.unroll: |         if self.nocomments or self.unroll: | ||||||
|             if stmt.startswith(";"): |             stmt = re.sub(r" *;.*", "", stmt) | ||||||
|                 return |             if stmt == "": return | ||||||
|             stmt = re.sub(r" ;.*", "", stmt) |  | ||||||
| 
 | 
 | ||||||
|         if unroll and self.unroll: |         if unroll and self.unroll: | ||||||
|             stmt = self.unroll_buffer + stmt |             stmt = self.unroll_buffer + stmt | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue