sc_trace_file.hh (12877:27fdc86138ef) | sc_trace_file.hh (12905:eb877328516a) |
---|---|
1/* 2 * Copyright 2018 Google, Inc. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions are 6 * met: redistributions of source code must retain the above copyright 7 * notice, this list of conditions and the following disclaimer; 8 * redistributions in binary form must reproduce the above copyright --- 44 unchanged lines hidden (view full) --- 53} // namespace sc_dt 54 55namespace sc_core 56{ 57 58template <class T> 59class sc_signal_in_if; 60 | 1/* 2 * Copyright 2018 Google, Inc. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions are 6 * met: redistributions of source code must retain the above copyright 7 * notice, this list of conditions and the following disclaimer; 8 * redistributions in binary form must reproduce the above copyright --- 44 unchanged lines hidden (view full) --- 53} // namespace sc_dt 54 55namespace sc_core 56{ 57 58template <class T> 59class sc_signal_in_if; 60 |
61class sc_event; 62class sc_time; 63 |
|
61class sc_trace_file 62{ 63 public: 64 virtual void set_time_unit(double, sc_time_unit) = 0; 65}; 66 67sc_trace_file *sc_create_vcd_trace_file(const char *name); 68void sc_close_vcd_trace_file(sc_trace_file *tf); --- 34 unchanged lines hidden (view full) --- 103void sc_trace(sc_trace_file *, const sc_dt::sc_fxnum &, const std::string &); 104void sc_trace(sc_trace_file *, const sc_dt::sc_fxnum *, const std::string &); 105void sc_trace(sc_trace_file *, const sc_dt::sc_fxnum_fast &, 106 const std::string &); 107void sc_trace(sc_trace_file *, const sc_dt::sc_fxnum_fast *, 108 const std::string &); 109 110 | 64class sc_trace_file 65{ 66 public: 67 virtual void set_time_unit(double, sc_time_unit) = 0; 68}; 69 70sc_trace_file *sc_create_vcd_trace_file(const char *name); 71void sc_close_vcd_trace_file(sc_trace_file *tf); --- 34 unchanged lines hidden (view full) --- 106void sc_trace(sc_trace_file *, const sc_dt::sc_fxnum &, const std::string &); 107void sc_trace(sc_trace_file *, const sc_dt::sc_fxnum *, const std::string &); 108void sc_trace(sc_trace_file *, const sc_dt::sc_fxnum_fast &, 109 const std::string &); 110void sc_trace(sc_trace_file *, const sc_dt::sc_fxnum_fast *, 111 const std::string &); 112 113 |
114// Nonstandard 115// sc_trace overloads for sc_event and sc_time. 116void sc_trace(sc_trace_file *, const sc_event &, const std::string &); 117void sc_trace(sc_trace_file *, const sc_event *, const std::string &); 118void sc_trace(sc_trace_file *, const sc_time &, const std::string &); 119void sc_trace(sc_trace_file *, const sc_time *, const std::string &); 120 121 |
|
111// Nonstandard - unsigned versions necessary to avoid ambiguous overload 112// resolution. 113void sc_trace(sc_trace_file *, const unsigned char &, 114 const std::string &, int width=(8 * sizeof(char))); 115void sc_trace(sc_trace_file *, const unsigned char *, 116 const std::string &, int width=(8 * sizeof(char))); 117void sc_trace(sc_trace_file *, const unsigned short &, 118 const std::string &, int width=(8 * sizeof(char))); --- 62 unchanged lines hidden --- | 122// Nonstandard - unsigned versions necessary to avoid ambiguous overload 123// resolution. 124void sc_trace(sc_trace_file *, const unsigned char &, 125 const std::string &, int width=(8 * sizeof(char))); 126void sc_trace(sc_trace_file *, const unsigned char *, 127 const std::string &, int width=(8 * sizeof(char))); 128void sc_trace(sc_trace_file *, const unsigned short &, 129 const std::string &, int width=(8 * sizeof(char))); --- 62 unchanged lines hidden --- |