mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-29 18:52:30 +00:00 
			
		
		
		
	python: Fix import in plugin example
When a plugin is being loaded from Python source, the binding will be
available under
    import libyosys
That is unfortunately different from how a self-standing Python program
would import the Yosys interface, which is
    from pyosys import libyosys
Until that is made consistent, at least fix the example to have it
working as is.
			
			
This commit is contained in:
		
							parent
							
								
									45dd9eca64
								
							
						
					
					
						commit
						44c72e5223
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -1,6 +1,6 @@ | ||||||
| #!/usr/bin/python3 | #!/usr/bin/python3 | ||||||
| 
 | 
 | ||||||
| from pyosys import libyosys as ys | import libyosys as ys | ||||||
| 
 | 
 | ||||||
| import matplotlib.pyplot as plt | import matplotlib.pyplot as plt | ||||||
| import numpy as np | import numpy as np | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue