sc_bit.cc (13160:1e959d3afc64) | sc_bit.cc (13322:7391057615bd) |
---|---|
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 --- 46 unchanged lines hidden (view full) --- 55// Andy Goodrich: added $Log command so that CVS comments are reproduced in 56// the source. 57// 58 59#include <sstream> 60 61#include "systemc/ext/dt/bit/sc_bit.hh" 62#include "systemc/ext/dt/bit/sc_logic.hh" | 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 --- 46 unchanged lines hidden (view full) --- 55// Andy Goodrich: added $Log command so that CVS comments are reproduced in 56// the source. 57// 58 59#include <sstream> 60 61#include "systemc/ext/dt/bit/sc_bit.hh" 62#include "systemc/ext/dt/bit/sc_logic.hh" |
63#include "systemc/ext/utils/messages.hh" |
|
63#include "systemc/ext/utils/sc_report_handler.hh" 64 65namespace sc_dt 66{ 67 68// ---------------------------------------------------------------------------- 69// CLASS : sc_bit 70// --- 43 unchanged lines hidden (view full) --- 114} 115 116void 117sc_deprecated_sc_bit() 118{ 119 static bool warn_sc_bit_deprecated = true; 120 if (warn_sc_bit_deprecated) { 121 warn_sc_bit_deprecated = false; | 64#include "systemc/ext/utils/sc_report_handler.hh" 65 66namespace sc_dt 67{ 68 69// ---------------------------------------------------------------------------- 70// CLASS : sc_bit 71// --- 43 unchanged lines hidden (view full) --- 115} 116 117void 118sc_deprecated_sc_bit() 119{ 120 static bool warn_sc_bit_deprecated = true; 121 if (warn_sc_bit_deprecated) { 122 warn_sc_bit_deprecated = false; |
122 SC_REPORT_INFO("(I804) /IEEE_Std_1666/deprecated", | 123 SC_REPORT_INFO(sc_core::SC_ID_IEEE_1666_DEPRECATION_, |
123 "sc_bit is deprecated, use bool instead"); 124 } 125} 126 127} // namespace sc_dt | 124 "sc_bit is deprecated, use bool instead"); 125 } 126} 127 128} // namespace sc_dt |