mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 11:42:30 +00:00 
			
		
		
		
	Added assertpmux
This commit is contained in:
		
							parent
							
								
									f3f5a02045
								
							
						
					
					
						commit
						ab18e9df7c
					
				
					 3 changed files with 105 additions and 0 deletions
				
			
		|  | @ -458,6 +458,7 @@ struct AST_INTERNAL::ProcessGenerator | |||
| 		case AST_CASE: | ||||
| 			{ | ||||
| 				RTLIL::SwitchRule *sw = new RTLIL::SwitchRule; | ||||
| 				sw->attributes["\\src"] = stringf("%s:%d", ast->filename.c_str(), ast->linenum); | ||||
| 				sw->signal = ast->children[0]->genWidthRTLIL(-1, &subst_rvalue_map.stdmap()); | ||||
| 				current_case->switches.push_back(sw); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue