sc_fxnum.hh (12853:e23d6f09069a) sc_fxnum.hh (13245:c666c5d4996b)
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

--- 52 unchanged lines hidden (view full) ---

61
62#include <iostream>
63
64#include "../bit/sc_lv_base.hh"
65#include "sc_fxnum_observer.hh"
66#include "sc_fxval.hh"
67#include "scfx_params.hh"
68
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

--- 52 unchanged lines hidden (view full) ---

61
62#include <iostream>
63
64#include "../bit/sc_lv_base.hh"
65#include "sc_fxnum_observer.hh"
66#include "sc_fxval.hh"
67#include "scfx_params.hh"
68
69namespace sc_core
69namespace sc_gem5
70{
71
70{
71
72class vcd_sc_fxnum_trace;
73class vcd_sc_fxnum_fast_trace;
74class wif_sc_fxnum_trace;
75class wif_sc_fxnum_fast_trace;
72template <typename T, typename B>
73class TraceValFxnumBase;
76
77} // namespace sc_core
78
79
80namespace sc_dt
81{
82
83// classes defined in this module

--- 401 unchanged lines hidden (view full) ---

485{
486 friend class sc_fxval;
487
488 friend class sc_fxnum_bitref;
489 friend class sc_fxnum_subref;
490 friend class sc_fxnum_fast_bitref;
491 friend class sc_fxnum_fast_subref;
492
74
75} // namespace sc_core
76
77
78namespace sc_dt
79{
80
81// classes defined in this module

--- 401 unchanged lines hidden (view full) ---

483{
484 friend class sc_fxval;
485
486 friend class sc_fxnum_bitref;
487 friend class sc_fxnum_subref;
488 friend class sc_fxnum_fast_bitref;
489 friend class sc_fxnum_fast_subref;
490
493 friend class sc_core::vcd_sc_fxnum_trace;
494 friend class sc_core::wif_sc_fxnum_trace;
491 template <typename T, typename B>
492 friend class sc_gem5::TraceValFxnumBase;
495
496 protected:
497 sc_fxnum_observer *observer() const;
498
499 void cast();
500
501 // constructors
502 sc_fxnum(const sc_fxtype_params &, sc_enc, const sc_fxcast_switch &,

--- 343 unchanged lines hidden (view full) ---

846{
847 friend class sc_fxval_fast;
848
849 friend class sc_fxnum_bitref;
850 friend class sc_fxnum_subref;
851 friend class sc_fxnum_fast_bitref;
852 friend class sc_fxnum_fast_subref;
853
493
494 protected:
495 sc_fxnum_observer *observer() const;
496
497 void cast();
498
499 // constructors
500 sc_fxnum(const sc_fxtype_params &, sc_enc, const sc_fxcast_switch &,

--- 343 unchanged lines hidden (view full) ---

844{
845 friend class sc_fxval_fast;
846
847 friend class sc_fxnum_bitref;
848 friend class sc_fxnum_subref;
849 friend class sc_fxnum_fast_bitref;
850 friend class sc_fxnum_fast_subref;
851
854 friend class sc_core::vcd_sc_fxnum_fast_trace;
855 friend class sc_core::wif_sc_fxnum_fast_trace;
852 template <typename T, typename B>
853 friend class sc_gem5::TraceValFxnumBase;
856
857 protected:
858 sc_fxnum_fast_observer *observer() const;
859
860 void cast();
861
862 // constructors
863 sc_fxnum_fast(const sc_fxtype_params &, sc_enc, const sc_fxcast_switch &,

--- 3507 unchanged lines hidden ---
854
855 protected:
856 sc_fxnum_fast_observer *observer() const;
857
858 void cast();
859
860 // constructors
861 sc_fxnum_fast(const sc_fxtype_params &, sc_enc, const sc_fxcast_switch &,

--- 3507 unchanged lines hidden ---