From b8d531957d4ff77afa10f12a7909f763aa367230 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Tue, 7 Feb 2017 11:12:31 -0300 Subject: Added notes for compilation on OS X --- README.md | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 9b9f72cc0..f56bbf8cd 100644 --- a/README.md +++ b/README.md @@ -40,14 +40,14 @@ Web Site More information and documentation can be found on the Yosys web site: http://www.clifford.at/yosys/ - -Getting Started -=============== +Setup +====== You need a C++ compiler with C++11 support (up-to-date CLANG or GCC is 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). Xdot (graphviz) is used by the ``show`` command in yosys to display schematics. + For example on Ubuntu Linux 16.04 LTS the following commands will install all prerequisites for building yosys: @@ -55,6 +55,13 @@ prerequisites for building yosys: libreadline-dev gawk tcl-dev libffi-dev git mercurial \ graphviz xdot pkg-config python3 +Similarily, on Mac OS X MacPorts or Homebrew can be used to install dependencies: + + $ brew install bison flex gawk libffi \ + git mercurial graphviz pkg-config python3 + $ sudo port install bison flex readline gawk libffi \ + git mercurial graphviz pkg-config python3 + There are also pre-compiled Yosys binary packages for Ubuntu and Win32 as well as a source distribution for Visual Studio. Visit the Yosys download page for more information: http://www.clifford.at/yosys/download.html @@ -80,6 +87,9 @@ To build Yosys simply type 'make' in this directory. Note that this also downloads, builds and installs ABC (using yosys-abc as executable name). +Getting Started +=============== + Yosys can be used with the interactive command shell, with synthesis scripts or with command line arguments. Let's perform a simple synthesis job using the interactive command shell: -- cgit v1.2.3 From 94c76f85da755e1d6bcba7d746deba2223016dcf Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Thu, 9 Feb 2017 18:53:37 -0300 Subject: Applied fixes from @joshhead (thanks for your effors!) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index f56bbf8cd..b4b3d36ee 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ Similarily, on Mac OS X MacPorts or Homebrew can be used to install dependencies $ brew install bison flex gawk libffi \ git mercurial graphviz pkg-config python3 $ sudo port install bison flex readline gawk libffi \ - git mercurial graphviz pkg-config python3 + git mercurial graphviz pkgconfig python36 There are also pre-compiled Yosys binary packages for Ubuntu and Win32 as well as a source distribution for Visual Studio. Visit the Yosys download page for -- cgit v1.2.3 From a3f19f047c4f6fa659bfbb04524ffa42804a5d26 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Thu, 9 Feb 2017 19:08:21 -0300 Subject: Remove space after backslash --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index b4b3d36ee..79abad629 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ Similarily, on Mac OS X MacPorts or Homebrew can be used to install dependencies $ brew install bison flex gawk libffi \ git mercurial graphviz pkg-config python3 - $ sudo port install bison flex readline gawk libffi \ + $ sudo port install bison flex readline gawk libffi \ git mercurial graphviz pkgconfig python36 There are also pre-compiled Yosys binary packages for Ubuntu and Win32 as well -- cgit v1.2.3