mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 03:32:29 +00:00 
			
		
		
		
	Restore original SigSpec::extract()
This commit is contained in:
		
							parent
							
								
									51b39219cd
								
							
						
					
					
						commit
						0b56be8c56
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -3355,7 +3355,7 @@ RTLIL::SigSpec RTLIL::SigSpec::extract(int offset, int length) const | ||||||
| { | { | ||||||
| 	unpack(); | 	unpack(); | ||||||
| 	cover("kernel.rtlil.sigspec.extract_pos"); | 	cover("kernel.rtlil.sigspec.extract_pos"); | ||||||
| 	return std::vector<RTLIL::SigBit>(bits_.begin() + offset, length >= 0 ? bits_.begin() + offset + length : bits_.end() + length + 1); | 	return std::vector<RTLIL::SigBit>(bits_.begin() + offset, bits_.begin() + offset + length); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| void RTLIL::SigSpec::append(const RTLIL::SigSpec &signal) | void RTLIL::SigSpec::append(const RTLIL::SigSpec &signal) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue