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 --- 1729 unchanged lines hidden (view full) --- 1738 1739//------------------------------------------------------------------------------ 1740//"sc_unsigned_part_if::default methods" 1741// 1742// These versions just produce errors if they are not overloaded but used. 1743//------------------------------------------------------------------------------ 1744sc_dt::sc_unsigned* sc_unsigned_part_if::part_read_target() 1745{ |
1746 SC_REPORT_ERROR( SC_ID_OPERATION_ON_NON_SPECIALIZED_SIGNAL_, "int" ); |
1747 return 0; 1748} 1749sc_dt::sc_unsigned sc_unsigned_part_if::read_part( int /*left*/, int /*right*/ ) const 1750{ |
1751 SC_REPORT_ERROR( SC_ID_OPERATION_ON_NON_SPECIALIZED_SIGNAL_, "int" ); |
1752 return sc_dt::sc_unsigned(1); 1753} 1754sc_unsigned_sigref& sc_unsigned_part_if::select_part(int /*left*/, int /*right*/) 1755{ |
1756 SC_REPORT_ERROR( SC_ID_OPERATION_ON_NON_SPECIALIZED_SIGNAL_, "int" ); |
1757 return *(sc_unsigned_sigref*)0; 1758} 1759void sc_unsigned_part_if::write_part( sc_dt::int64 v, int /*left*/, int /*right*/ ) 1760{ |
1761 SC_REPORT_ERROR( SC_ID_OPERATION_ON_NON_SPECIALIZED_SIGNAL_, "int" ); |
1762} 1763void sc_unsigned_part_if::write_part( sc_dt::uint64 v, int /*left*/, int /*right*/ ) 1764{ |
1765 SC_REPORT_ERROR( SC_ID_OPERATION_ON_NON_SPECIALIZED_SIGNAL_, "int" ); |
1766} 1767void sc_unsigned_part_if::write_part( 1768 const sc_dt::sc_signed& v, int /*left*/, int /*right*/ ) 1769{ |
1770 SC_REPORT_ERROR( SC_ID_OPERATION_ON_NON_SPECIALIZED_SIGNAL_, "int" ); |
1771} 1772void sc_unsigned_part_if::write_part( 1773 const sc_dt::sc_unsigned& v, int /*left*/, int /*right*/ ) 1774{ |
1775 SC_REPORT_ERROR( SC_ID_OPERATION_ON_NON_SPECIALIZED_SIGNAL_, "int" ); |
1776} 1777 1778 1779 1780//------------------------------------------------------------------------------ 1781//"sc_unsigned_sigref::concate_set" 1782// 1783// These methods assign this object instance's value from the supplied --- 44 unchanged lines hidden --- |