mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-03 21:09:12 +00:00 
			
		
		
		
	sf2: Emit CLKINT even if -clkbuf not passed
This restores pre #2229 behavior.
This commit is contained in:
		
							parent
							
								
									10bc0967e2
								
							
						
					
					
						commit
						1b95b0e570
					
				
					 1 changed files with 6 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -211,8 +211,12 @@ struct SynthSf2Pass : public ScriptPass
 | 
			
		|||
		if (check_label("map_iobs"))
 | 
			
		||||
		{
 | 
			
		||||
			if (help_mode || iobs) {
 | 
			
		||||
				if (help_mode || clkbuf) {
 | 
			
		||||
					run("clkbufmap -buf CLKINT Y:A -inpad CLKBUF Y:PAD", "(if -clkbuf, unless -noiobs)");
 | 
			
		||||
				if (help_mode) {
 | 
			
		||||
					run("clkbufmap -buf CLKINT Y:A [-inpad CLKBUF Y:PAD]", "(unless -noiobs, -inpad only passed if -clkbuf)");
 | 
			
		||||
				} else if (clkbuf) {
 | 
			
		||||
					run("clkbufmap -buf CLKINT Y:A -inpad CLKBUF Y:PAD");
 | 
			
		||||
				} else {
 | 
			
		||||
					run("clkbufmap -buf CLKINT Y:A");
 | 
			
		||||
				}
 | 
			
		||||
				run("iopadmap -bits -inpad INBUF Y:PAD -outpad OUTBUF D:PAD -toutpad TRIBUFF E:D:PAD -tinoutpad BIBUF E:Y:D:PAD", "(unless -noiobs");
 | 
			
		||||
			}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue