mirror of https://github.com/YosysHQ/yosys.git
Update documentation for C++17 switch
This commit is contained in:
parent
141a2e3638
commit
f9b7b8fff0
|
@ -71,7 +71,7 @@ Many Linux distributions also provide Yosys binaries, some more up to date than
|
||||||
Building from Source
|
Building from Source
|
||||||
====================
|
====================
|
||||||
|
|
||||||
You need a C++ compiler with C++11 support (up-to-date CLANG or GCC is
|
You need a C++ compiler with C++17 support (up-to-date CLANG or GCC is
|
||||||
recommended) and some standard tools such as GNU Flex, GNU Bison, and GNU Make.
|
recommended) and some standard tools such as GNU Flex, GNU Bison, and GNU Make.
|
||||||
TCL, readline and libffi are optional (see ``ENABLE_*`` settings in Makefile).
|
TCL, readline and libffi are optional (see ``ENABLE_*`` settings in Makefile).
|
||||||
Xdot (graphviz) is used by the ``show`` command in yosys to display schematics.
|
Xdot (graphviz) is used by the ``show`` command in yosys to display schematics.
|
||||||
|
|
|
@ -84,7 +84,7 @@ not regularly tested:
|
||||||
Build prerequisites
|
Build prerequisites
|
||||||
^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
A C++ compiler with C++11 support is required as well as some standard tools
|
A C++ compiler with C++17 support is required as well as some standard tools
|
||||||
such as GNU Flex, GNU Bison, Make and Python. Some additional tools: readline,
|
such as GNU Flex, GNU Bison, Make and Python. Some additional tools: readline,
|
||||||
libffi, Tcl and zlib; are optional but enabled by default (see
|
libffi, Tcl and zlib; are optional but enabled by default (see
|
||||||
:makevar:`ENABLE_*` settings in Makefile). Graphviz and Xdot are used by the
|
:makevar:`ENABLE_*` settings in Makefile). Graphviz and Xdot are used by the
|
||||||
|
|
|
@ -25,7 +25,7 @@ wide range of real-world designs, including the `OpenRISC 1200 CPU`_, the
|
||||||
|
|
||||||
.. _k68 CPU: http://opencores.org/projects/k68
|
.. _k68 CPU: http://opencores.org/projects/k68
|
||||||
|
|
||||||
Yosys is written in C++, targeting C++11 at minimum. This chapter describes some
|
Yosys is written in C++, targeting C++17 at minimum. This chapter describes some
|
||||||
of the fundamental Yosys data structures. For the sake of simplicity the C++
|
of the fundamental Yosys data structures. For the sake of simplicity the C++
|
||||||
type names used in the Yosys implementation are used in this chapter, even
|
type names used in the Yosys implementation are used in this chapter, even
|
||||||
though the chapter only explains the conceptual idea behind it and can be used
|
though the chapter only explains the conceptual idea behind it and can be used
|
||||||
|
|
|
@ -25,7 +25,7 @@ Formatting of code
|
||||||
C++ Language
|
C++ Language
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
Yosys is written in C++11.
|
Yosys is written in C++17.
|
||||||
|
|
||||||
In general Yosys uses "int" instead of "size_t". To avoid compiler
|
In general Yosys uses "int" instead of "size_t". To avoid compiler
|
||||||
warnings for implicit type casts, always use "GetSize(foobar)" instead
|
warnings for implicit type casts, always use "GetSize(foobar)" instead
|
||||||
|
|
Loading…
Reference in New Issue