mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 03:32:29 +00:00 
			
		
		
		
	Added YosysJS wrapper
This commit is contained in:
		
							parent
							
								
									0748ef638d
								
							
						
					
					
						commit
						33e80b96c7
					
				
					 6 changed files with 273 additions and 5 deletions
				
			
		|  | @ -93,7 +93,9 @@ void run(const char *command) | |||
| 
 | ||||
| const char *prompt() | ||||
| { | ||||
| 	return create_prompt(yosys_get_design(), 0); | ||||
| 	const char *p = create_prompt(yosys_get_design(), 0); | ||||
| 	while (*p == '\n') p++; | ||||
| 	return p; | ||||
| } | ||||
| 
 | ||||
| #else /* EMSCRIPTEN */ | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue