mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-30 19:22:31 +00:00 
			
		
		
		
	Merge pull request #2113 from whitequark/cxxrtl-fix-sshr
cxxrtl: fix implementation of $sshr cell
This commit is contained in:
		
						commit
						bd2ecc2dd3
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -921,7 +921,7 @@ value<BitsY> sshr_uu(const value<BitsA> &a, const value<BitsB> &b) { | ||||||
| 
 | 
 | ||||||
| template<size_t BitsY, size_t BitsA, size_t BitsB> | template<size_t BitsY, size_t BitsA, size_t BitsB> | ||||||
| value<BitsY> sshr_su(const value<BitsA> &a, const value<BitsB> &b) { | value<BitsY> sshr_su(const value<BitsA> &a, const value<BitsB> &b) { | ||||||
| 	return a.template shr(b).template scast<BitsY>(); | 	return a.template sshr(b).template scast<BitsY>(); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| template<size_t BitsY, size_t BitsA, size_t BitsB> | template<size_t BitsY, size_t BitsA, size_t BitsB> | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue