Skip to content

Commit

Permalink
This version corrects an issue with ac_float that was introduced in v…
Browse files Browse the repository at this point in the history
…3.6. The ac_float that is needed to represent an unsigned ac_fixed, ac_int or native C unsigned integer type did not take into account that an additional bit is required. This issue affects the mixed operators of ac_float with other types.
  • Loading branch information
Andres Takach committed Jun 26, 2016
1 parent 6fbf38a commit d3fd12d
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions gdb/ac_pp.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
* *
* Software Version: 3.7 *
* *
* Release Date : Wed Jun 1 13:21:52 PDT 2016 *
* Release Date : Sat Jun 25 13:27:03 PDT 2016 *
* Release Type : Production Release *
* Release Build : 3.7.0 *
* Release Build : 3.7.1 *
* *
* Copyright 2013-2015, Mentor Graphics Corporation, *
* *
Expand Down
4 changes: 2 additions & 2 deletions include/ac_channel.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
* *
* Software Version: 3.7 *
* *
* Release Date : Wed Jun 1 13:21:52 PDT 2016 *
* Release Date : Sat Jun 25 13:27:03 PDT 2016 *
* Release Type : Production Release *
* Release Build : 3.7.0 *
* Release Build : 3.7.1 *
* *
* Copyright 2004-2014, Mentor Graphics Corporation, *
* *
Expand Down
4 changes: 2 additions & 2 deletions include/ac_complex.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
* *
* Software Version: 3.7 *
* *
* Release Date : Wed Jun 1 13:21:52 PDT 2016 *
* Release Date : Sat Jun 25 13:27:03 PDT 2016 *
* Release Type : Production Release *
* Release Build : 3.7.0 *
* Release Build : 3.7.1 *
* *
* Copyright 2008-2016, Mentor Graphics Corporation, *
* *
Expand Down
4 changes: 2 additions & 2 deletions include/ac_fixed.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
* *
* Software Version: 3.7 *
* *
* Release Date : Wed Jun 1 13:21:52 PDT 2016 *
* Release Date : Sat Jun 25 13:27:03 PDT 2016 *
* Release Type : Production Release *
* Release Build : 3.7.0 *
* Release Build : 3.7.1 *
* *
* Copyright 2005-2016, Mentor Graphics Corporation, *
* *
Expand Down
6 changes: 3 additions & 3 deletions include/ac_float.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
* *
* Software Version: 3.7 *
* *
* Release Date : Wed Jun 1 13:21:52 PDT 2016 *
* Release Date : Sat Jun 25 13:27:03 PDT 2016 *
* Release Type : Production Release *
* Release Build : 3.7.0 *
* Release Build : 3.7.1 *
* *
* Copyright 2013-2016, Mentor Graphics Corporation, *
* *
Expand Down Expand Up @@ -751,7 +751,7 @@ namespace ac {
template<typename T>
struct ac_float_represent {
typedef typename ac_fixed_represent<T>::type fx_t;
typedef ac_float<fx_t::width,fx_t::i_width,1,fx_t::q_mode> type;
typedef ac_float<fx_t::width+!fx_t::sign,fx_t::i_width+!fx_t::sign,1,fx_t::q_mode> type;
};
template<> struct ac_float_represent<float> {
typedef ac_private::ac_float_cfloat_t type;
Expand Down
4 changes: 2 additions & 2 deletions include/ac_int.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
* *
* Software Version: 3.7 *
* *
* Release Date : Wed Jun 1 13:21:52 PDT 2016 *
* Release Date : Sat Jun 25 13:27:03 PDT 2016 *
* Release Type : Production Release *
* Release Build : 3.7.0 *
* Release Build : 3.7.1 *
* *
* Copyright 2004-2016, Mentor Graphics Corporation, *
* *
Expand Down
4 changes: 2 additions & 2 deletions include/ac_sc.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
* *
* Software Version: 3.7 *
* *
* Release Date : Wed Jun 1 13:21:52 PDT 2016 *
* Release Date : Sat Jun 25 13:27:03 PDT 2016 *
* Release Type : Production Release *
* Release Build : 3.7.0 *
* Release Build : 3.7.1 *
* *
* Copyright 2004-2016, Mentor Graphics Corporation, *
* *
Expand Down
Binary file modified pdfdocs/ac_datatypes_ref.pdf
Binary file not shown.
Binary file modified pdfdocs/ac_datatypes_relnotes.pdf
Binary file not shown.

0 comments on commit d3fd12d

Please sign in to comment.