mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-29 18:52:30 +00:00 
			
		
		
		
	write_verilog: correctly map RTLIL sync init.
				
					
				
			This commit is contained in:
		
							parent
							
								
									435776120a
								
							
						
					
					
						commit
						7fe770a441
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -1352,6 +1352,8 @@ void dump_process(std::ostream &f, std::string indent, RTLIL::Process *proc, boo | |||
| 
 | ||||
| 		if (sync->type == RTLIL::STa) { | ||||
| 			f << stringf("%s" "always @* begin\n", indent.c_str()); | ||||
| 		} else if (sync->type == RTLIL::STi) { | ||||
| 			f << stringf("%s" "initial begin\n", indent.c_str()); | ||||
| 		} else { | ||||
| 			f << stringf("%s" "always @(", indent.c_str()); | ||||
| 			if (sync->type == RTLIL::STp || sync->type == RTLIL::ST1) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue