scx_signal_uint.h (12922:a4f51f3405ac) | scx_signal_uint.h (13324:c8b709468e61) |
---|---|
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 --- 1590 unchanged lines hidden (view full) --- 1599//------------------------------------------------------------------------------ 1600//"sc_uint_part_if::default methods" 1601// 1602// These versions just produce errors if they are not overloaded but used. 1603//------------------------------------------------------------------------------ 1604 1605sc_dt::sc_uint_base* sc_uint_part_if::part_read_target() 1606{ | 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 --- 1590 unchanged lines hidden (view full) --- 1599//------------------------------------------------------------------------------ 1600//"sc_uint_part_if::default methods" 1601// 1602// These versions just produce errors if they are not overloaded but used. 1603//------------------------------------------------------------------------------ 1604 1605sc_dt::sc_uint_base* sc_uint_part_if::part_read_target() 1606{ |
1607 SC_REPORT_ERROR( "attempted specalized signal operation on " 1608 "non-specialized signal", "int" ); | 1607 SC_REPORT_ERROR( SC_ID_OPERATION_ON_NON_SPECIALIZED_SIGNAL_, "int" ); |
1609 return 0; 1610} 1611sc_dt::uint64 sc_uint_part_if::read_part( int /*left*/, int /*right*/ ) const 1612{ | 1608 return 0; 1609} 1610sc_dt::uint64 sc_uint_part_if::read_part( int /*left*/, int /*right*/ ) const 1611{ |
1613 SC_REPORT_ERROR( "attempted specalized signal operation on " 1614 "non-specialized signal", "int" ); | 1612 SC_REPORT_ERROR( SC_ID_OPERATION_ON_NON_SPECIALIZED_SIGNAL_, "int" ); |
1615 return 0; 1616} 1617sc_uint_sigref& sc_uint_part_if::select_part( int /*left*/, int /*right*/ ) 1618{ | 1613 return 0; 1614} 1615sc_uint_sigref& sc_uint_part_if::select_part( int /*left*/, int /*right*/ ) 1616{ |
1619 SC_REPORT_ERROR( "attempted specalized signal operation on " 1620 "non-specialized signal", "int" ); | 1617 SC_REPORT_ERROR( SC_ID_OPERATION_ON_NON_SPECIALIZED_SIGNAL_, "int" ); |
1621 return *(sc_uint_sigref*)0; 1622} 1623void sc_uint_part_if::write_part( sc_dt::uint64 v, int /*left*/, int /*right*/ ) 1624{ | 1618 return *(sc_uint_sigref*)0; 1619} 1620void sc_uint_part_if::write_part( sc_dt::uint64 v, int /*left*/, int /*right*/ ) 1621{ |
1625 SC_REPORT_ERROR( "attempted specalized signal operation on " 1626 "non-specialized signal", "int" ); | 1622 SC_REPORT_ERROR( SC_ID_OPERATION_ON_NON_SPECIALIZED_SIGNAL_, "int" ); |
1627} 1628 1629//------------------------------------------------------------------------------ 1630//"sc_uint_sigref::concate_set" 1631// 1632// These methods assign this object instance's value from the supplied 1633// value starting at the supplied bit within that value. 1634// src = value to use to set this object instance's value. --- 42 unchanged lines hidden --- | 1623} 1624 1625//------------------------------------------------------------------------------ 1626//"sc_uint_sigref::concate_set" 1627// 1628// These methods assign this object instance's value from the supplied 1629// value starting at the supplied bit within that value. 1630// src = value to use to set this object instance's value. --- 42 unchanged lines hidden --- |