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