mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	fix basys3 example
Added `CONFIG_VOLTAGE` and `CFGBVS` to constraints file to avoid warning `DRC 23-20`. Added `open_hw` needed for programming.
This commit is contained in:
		
							parent
							
								
									e275692e84
								
							
						
					
					
						commit
						beedaa5856
					
				
					 2 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -19,3 +19,6 @@ set_property -dict { IOSTANDARD LVCMOS33 PACKAGE_PIN L1  } [get_ports {LD[15]}]
 | 
			
		|||
 | 
			
		||||
create_clock -add -name sys_clk_pin -period 10.00 -waveform {0 5} [get_ports CLK]
 | 
			
		||||
 | 
			
		||||
set_property CONFIG_VOLTAGE 3.3 [current_design]
 | 
			
		||||
set_property CFGBVS VCCO [current_design]
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,3 +1,4 @@
 | 
			
		|||
open_hw
 | 
			
		||||
connect_hw_server
 | 
			
		||||
open_hw_target [lindex [get_hw_targets] 0]
 | 
			
		||||
set_property PROGRAM.FILE example.bit [lindex [get_hw_devices] 0]
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue