Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: azonenberg/yosys
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 3c693b656133
Choose a base ref
...
head repository: azonenberg/yosys
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 9557fd2a3607
Choose a head ref
  • 3 commits
  • 5 files changed
  • 1 contributor

Commits on Jul 8, 2017

  1. Add JSON front-end

    cliffordwolf committed Jul 8, 2017
    Copy the full SHA
    4b2d1fe View commit details

Commits on Jul 10, 2017

  1. Copy the full SHA
    8a69759 View commit details
  2. Copy the full SHA
    9557fd2 View commit details
Showing with 583 additions and 0 deletions.
  1. +2 −0 backends/json/json.cc
  2. +3 −0 frontends/json/Makefile.inc
  3. +512 −0 frontends/json/jsonparse.cc
  4. +1 −0 techlibs/xilinx/Makefile.inc
  5. +65 −0 techlibs/xilinx/lut2lut.v
2 changes: 2 additions & 0 deletions backends/json/json.cc
Original file line number Diff line number Diff line change
@@ -201,6 +201,8 @@ struct JsonWriter
void write_design(Design *design_)
{
design = design_;
design->sort();

f << stringf("{\n");
f << stringf(" \"creator\": %s,\n", get_string(yosys_version_str).c_str());
f << stringf(" \"modules\": {\n");
3 changes: 3 additions & 0 deletions frontends/json/Makefile.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

OBJS += frontends/json/jsonparse.o

Loading