mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 03:32:29 +00:00 
			
		
		
		
	quicklogic: Move pp3 tests one level down
This commit is contained in:
		
							parent
							
								
									f84ab98055
								
							
						
					
					
						commit
						74296e3d92
					
				
					 11 changed files with 11 additions and 11 deletions
				
			
		
							
								
								
									
										2
									
								
								Makefile
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
										
									
									
									
								
							|  | @ -880,7 +880,7 @@ endif | |||
| 	+cd tests/arch/gowin && bash run-test.sh $(SEEDOPT) | ||||
| 	+cd tests/arch/intel_alm && bash run-test.sh $(SEEDOPT) | ||||
| 	+cd tests/arch/nexus && bash run-test.sh $(SEEDOPT) | ||||
| 	+cd tests/arch/quicklogic && bash run-test.sh $(SEEDOPT) | ||||
| 	+cd tests/arch/quicklogic/pp3 && bash run-test.sh $(SEEDOPT) | ||||
| 	+cd tests/arch/gatemate && bash run-test.sh $(SEEDOPT) | ||||
| 	+cd tests/rpc && bash run-test.sh | ||||
| 	+cd tests/memfile && bash run-test.sh | ||||
|  |  | |||
|  | @ -1,4 +1,4 @@ | |||
| read_verilog ../common/add_sub.v | ||||
| read_verilog ../../common/add_sub.v | ||||
| hierarchy -top top | ||||
| equiv_opt -assert -map +/quicklogic/pp3/cells_sim.v synth_quicklogic -family pp3 # equivalency check | ||||
| design -load postopt # load the post-opt design (otherwise equiv_opt loads the pre-opt design) | ||||
|  | @ -1,4 +1,4 @@ | |||
| read_verilog ../common/adffs.v | ||||
| read_verilog ../../common/adffs.v | ||||
| design -save read | ||||
| 
 | ||||
| hierarchy -top adff | ||||
|  | @ -1,4 +1,4 @@ | |||
| read_verilog ../common/counter.v | ||||
| read_verilog ../../common/counter.v | ||||
| hierarchy -top top | ||||
| proc | ||||
| flatten | ||||
|  | @ -1,4 +1,4 @@ | |||
| read_verilog ../common/dffs.v | ||||
| read_verilog ../../common/dffs.v | ||||
| rename dff my_dff # Work around conflicting module names between test and vendor cells | ||||
| rename dffe my_dffe | ||||
| design -save read | ||||
|  | @ -1,4 +1,4 @@ | |||
| read_verilog ../common/fsm.v | ||||
| read_verilog ../../common/fsm.v | ||||
| hierarchy -top fsm | ||||
| proc | ||||
| flatten | ||||
|  | @ -1,4 +1,4 @@ | |||
| read_verilog ../common/latches.v | ||||
| read_verilog ../../common/latches.v | ||||
| design -save read | ||||
| 
 | ||||
| hierarchy -top latchp | ||||
|  | @ -1,4 +1,4 @@ | |||
| read_verilog ../common/logic.v | ||||
| read_verilog ../../common/logic.v | ||||
| hierarchy -top top | ||||
| proc | ||||
| equiv_opt -assert -map +/quicklogic/pp3/cells_sim.v -map +/quicklogic/common/cells_sim.v synth_quicklogic # equivalency check | ||||
|  | @ -1,4 +1,4 @@ | |||
| read_verilog ../common/mux.v | ||||
| read_verilog ../../common/mux.v | ||||
| design -save read | ||||
| 
 | ||||
| hierarchy -top mux2 | ||||
|  | @ -1,4 +1,4 @@ | |||
| #!/usr/bin/env bash | ||||
| set -eu | ||||
| source ../../gen-tests-makefile.sh | ||||
| source ../../../gen-tests-makefile.sh | ||||
| run_tests --yosys-scripts --bash --yosys-args "-w 'Yosys has only limited support for tri-state logic at the moment.'" | ||||
|  | @ -1,4 +1,4 @@ | |||
| read_verilog ../common/tribuf.v | ||||
| read_verilog ../../common/tribuf.v | ||||
| hierarchy -top tristate | ||||
| proc | ||||
| tribuf | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue