| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
- information also useful for strongly-typed enums (not implemented)
- resolves enum values in ilang part of #1594
- still need to output enums to VCD (or better yet FST) files
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Before this commit, these cells would accept any \B_SIGNED and in
case of \B_SIGNED=1, would still treat the \B input as unsigned.
Also fix the Verilog frontend to never emit such constructs.
|
|
|
|
| |
Signed-off-by: David Shah <dave@ds0.me>
|
|\
| |
| |
| | |
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
| |
| |
| |
| | |
Signed-off-by: David Shah <dave@ds0.me>
|
| |
| |
| |
| | |
Signed-off-by: David Shah <dave@ds0.me>
|
| |
| |
| |
| | |
Signed-off-by: David Shah <dave@ds0.me>
|
| |
| |
| |
| | |
Signed-off-by: David Shah <dave@ds0.me>
|
| |
| |
| |
| | |
Signed-off-by: David Shah <dave@ds0.me>
|
|/
|
|
| |
Signed-off-by: David Shah <dave@ds0.me>
|
| |
|
|
|
|
| |
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
|
|
|
| |
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
| |
|
|\
| |
| |
| | |
towoe-unpacked_arrays
|
| |
| |
| |
| |
| |
| |
| |
| | |
Allows fixed-sized array dimension specified by a single number.
This commit is based on the work from PeterCrozier
https://github.com/YosysHQ/yosys/pull/560.
But is split out of the original work.
|
| |
| |
| |
| | |
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
| |
| |
| |
| | |
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
| |
| |
| |
| | |
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
|/
|
|
| |
(within always/initial blocks)
|
|\
| |
| |
| | |
clifford/pr983
|
| |
| |
| |
| |
| |
| |
| | |
(IEEE1800-2017 section 20.11)
This PR allows us to use $info/$warning/$error/$fatal **at elaboration time** within a generate block.
This is very useful to stop a synthesis of a parametrized block when an
illegal combination of parameters is chosen.
|
| |
| |
| |
| | |
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
|\ \
| | |
| | |
| | | |
into tux3-implicit_named_connection
|
| | |
| | |
| | |
| | |
| | | |
This is the `foo foo(.port1, .port2);` SystemVerilog syntax
introduced in IEEE1800-2005.
|
| | |
| | |
| | |
| | | |
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
|
|/ /
| |
| |
| | |
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Support for attributes on parameters and localparams for Verilog frontend
|
| | |
| | |
| | |
| | |
| | |
| | | |
Content of those attributes is ignored.
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
|
|/ / |
|
|\ \
| | |
| | | |
Add specify parser
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
nomenclature
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
| | |/
| |/|
| | |
| | | |
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
As of Bison 2.6, name-prefix is deprecated. This fixes
frontends/verilog/verilog_parser.y:99.1-34: warning: deprecated directive, use ‘%define api.prefix {frontend_verilog_yy}’ [-Wdeprecated]
%name-prefix "frontend_verilog_yy"
For details: https://www.gnu.org/software/bison/manual/html_node/Multiple-Parsers.html
Compile tested only.
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
|
|\ \
| | |
| | | |
Add approximate support for SV "var" keyword
|
| |/
| |
| |
| | |
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
|/
|
|
| |
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
|
|
|
| |
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
|
|
|
| |
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
|
|
|
| |
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|
|
|
|
| |
Signed-off-by: Clifford Wolf <clifford@clifford.at>
|