mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 13:29:12 +00:00 
			
		
		
		
	write_verilog: Use assign for $buf
				
					
				
			This commit is contained in:
		
							parent
							
								
									66734f522d
								
							
						
					
					
						commit
						e7b21d2706
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -1071,7 +1071,7 @@ bool dump_cell_expr(std::ostream &f, std::string indent, RTLIL::Cell *cell)
 | 
				
			||||||
		return true;
 | 
							return true;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (cell->type == ID($_BUF_)) {
 | 
						if (cell->type.in(ID($_BUF_), ID($buf))) {
 | 
				
			||||||
		f << stringf("%s" "assign ", indent.c_str());
 | 
							f << stringf("%s" "assign ", indent.c_str());
 | 
				
			||||||
		dump_sigspec(f, cell->getPort(ID::Y));
 | 
							dump_sigspec(f, cell->getPort(ID::Y));
 | 
				
			||||||
		f << stringf(" = ");
 | 
							f << stringf(" = ");
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue