sc_int_base.hh (12853:e23d6f09069a) | sc_int_base.hh (13159:b5728438028b) |
---|---|
1/***************************************************************************** 2 3 Licensed to Accellera Systems Initiative Inc. (Accellera) under one or 4 more contributor license agreements. See the NOTICE file distributed 5 with this work for additional information regarding copyright ownership. 6 Accellera licenses this file to you under the Apache License, Version 2.0 7 (the "License"); you may not use this file except in compliance with the 8 License. You may obtain a copy of the License at --- 327 unchanged lines hidden (view full) --- 336 else 337 return (uint64)val; 338 } 339 340 // reduce methods 341 bool and_reduce() const; 342 bool nand_reduce() const { return !and_reduce(); } 343 bool or_reduce() const; | 1/***************************************************************************** 2 3 Licensed to Accellera Systems Initiative Inc. (Accellera) under one or 4 more contributor license agreements. See the NOTICE file distributed 5 with this work for additional information regarding copyright ownership. 6 Accellera licenses this file to you under the Apache License, Version 2.0 7 (the "License"); you may not use this file except in compliance with the 8 License. You may obtain a copy of the License at --- 327 unchanged lines hidden (view full) --- 336 else 337 return (uint64)val; 338 } 339 340 // reduce methods 341 bool and_reduce() const; 342 bool nand_reduce() const { return !and_reduce(); } 343 bool or_reduce() const; |
344 bool nor_reduce() const { return or_reduce(); } | 344 bool nor_reduce() const { return !or_reduce(); } |
345 bool xor_reduce() const; | 345 bool xor_reduce() const; |
346 bool xnor_reduce() const { return xor_reduce(); } | 346 bool xnor_reduce() const { return !xor_reduce(); } |
347 348 // implicit conversion to uint_type 349 operator uint_type () const; 350 351 // explicit conversions 352 uint_type value() const { return operator uint_type(); } 353 354 --- 1032 unchanged lines hidden --- | 347 348 // implicit conversion to uint_type 349 operator uint_type () const; 350 351 // explicit conversions 352 uint_type value() const { return operator uint_type(); } 353 354 --- 1032 unchanged lines hidden --- |