mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	Extend test with renaming cells with prefix too
This commit is contained in:
		
							parent
							
								
									369652d4b9
								
							
						
					
					
						commit
						a4f2f7d23c
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -2,6 +2,7 @@ read_verilog <<EOT
 | 
			
		|||
module sub(input i, output o, input j);
 | 
			
		||||
foobar _TECHMAP_REPLACE_(i, o, j);
 | 
			
		||||
wire _TECHMAP_REPLACE_.asdf = i ;
 | 
			
		||||
barfoo _TECHMAP_REPLACE_.blah (i, o, j);
 | 
			
		||||
endmodule
 | 
			
		||||
EOT
 | 
			
		||||
design -stash techmap
 | 
			
		||||
| 
						 | 
				
			
			@ -14,3 +15,4 @@ EOT
 | 
			
		|||
 | 
			
		||||
techmap -map %techmap
 | 
			
		||||
select -assert-any w:s0.asdf
 | 
			
		||||
select -assert-any c:s0.blah
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue