partial rebase of PeterCrozier's enum work onto current master
authorJeff Wang <jjj11x@gmail.com>
Fri, 9 Mar 2018 12:47:11 +0000 (12:47 +0000)
committerJeff Wang <jeffrey.wang@ll.mit.edu>
Thu, 16 Jan 2020 18:51:47 +0000 (13:51 -0500)
commit16ea4ea61abd8f000564b3bfe1c88246c1caf631
treea7ccb4fc5f099428177df00a0a2258057146d610
parent2bda51ac34d6f542d1d6477eecede1d6527c10b3
partial rebase of PeterCrozier's enum work onto current master

I tried to keep only the enum-related changes, and minimize the diff. (The
original commit also had a lot of work done to get typedefs working, but yosys
has diverged quite a bit since the 2018-03-09 commit, with a new typedef
implementation.) I did not include the import related changes either.

Original commit:
"Initial implementation of enum, typedef, import.  Still a WIP."
https://github.com/PeterCrozier/yosys/commit/881833aa738e7404987646ea8076284e911fce3f
frontends/ast/ast.cc
frontends/ast/ast.h
frontends/ast/genrtlil.cc
frontends/ast/simplify.cc
frontends/verilog/verilog_parser.y