Deleted Added
sdiff udiff text old ( 12922:a4f51f3405ac ) new ( 13324:c8b709468e61 )
full compact
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( "attempted specalized signal operation on "
1747 "non-specialized signal", "int" );
1748 return 0;
1749}
1750sc_dt::sc_unsigned sc_unsigned_part_if::read_part( int /*left*/, int /*right*/ ) const
1751{
1752 SC_REPORT_ERROR( "attempted specalized signal operation on "
1753 "non-specialized signal", "int" );
1754 return sc_dt::sc_unsigned(1);
1755}
1756sc_unsigned_sigref& sc_unsigned_part_if::select_part(int /*left*/, int /*right*/)
1757{
1758 SC_REPORT_ERROR( "attempted specalized signal operation on "
1759 "non-specialized signal", "int" );
1760 return *(sc_unsigned_sigref*)0;
1761}
1762void sc_unsigned_part_if::write_part( sc_dt::int64 v, int /*left*/, int /*right*/ )
1763{
1764 SC_REPORT_ERROR( "attempted specalized signal operation on "
1765 "non-specialized signal", "int" );
1766}
1767void sc_unsigned_part_if::write_part( sc_dt::uint64 v, int /*left*/, int /*right*/ )
1768{
1769 SC_REPORT_ERROR( "attempted specalized signal operation on "
1770 "non-specialized signal", "int" );
1771}
1772void sc_unsigned_part_if::write_part(
1773 const sc_dt::sc_signed& v, int /*left*/, int /*right*/ )
1774{
1775 SC_REPORT_ERROR( "attempted specalized signal operation on "
1776 "non-specialized signal", "int" );
1777}
1778void sc_unsigned_part_if::write_part(
1779 const sc_dt::sc_unsigned& v, int /*left*/, int /*right*/ )
1780{
1781 SC_REPORT_ERROR( "attempted specalized signal operation on "
1782 "non-specialized signal", "int" );
1783}
1784
1785
1786
1787//------------------------------------------------------------------------------
1788//"sc_unsigned_sigref::concate_set"
1789//
1790// These methods assign this object instance's value from the supplied

--- 44 unchanged lines hidden ---