| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previous blackbox components were just emitted with their interface ports,
but their generic parameters were never emitted and it was therefore
impossible to customize them.
This commit adds support for blackbox generic parameters, though support
is only provided for INTEGER and STRING parameters. Other types of
parameters such as DOUBLEs, ..., would result in undefined behavior here.
This allows the emission of custom extmodule instances such as the following:
extmodule fourteennm_lcell_comb_<instName>:
input cin: UInt<1>
output combout: UInt<1>
output cout: UInt<1>
input dataa: UInt<1>
input datab: UInt<1>
input datac: UInt<1>
input datad: UInt<1>
input datae: UInt<1>
input dataf: UInt<1>
input datag: UInt<1>
input datah: UInt<1>
input sharein: UInt<1>
output shareout: UInt<1>
output sumout: UInt<1>
defname = fourteennm_lcell_comb
parameter extended_lut = "off"
parameter lut_mask = "b0001001000010010000100100001001000010010000100100001001000010010"
parameter shared_arith = "off"
|
|\
| |
| | |
qbfsat, smt2, smtio: Add `-solver-option` to allow specifying SMT-LIBv2 `(set-option ...)` commands
|
| |
| |
| |
| |
| |
| | |
options after it.
Refer to the SMT-LIB specification, section 4.1.7. According to the spec, some options can only be specified in `start` mode. Once the solver sees `set-logic`, it moves to `assert` mode.
|
| | |
|
| | |
|
|/ |
|
|\
| |
| | |
Only allow "sat" and "unsat" smt solver responses in yosys-smtbmc
|
| |
| |
| |
| | |
Signed-off-by: Claire Wolf <claire@symbioticeda.com>
|
|/ |
|
|\
| |
| | |
satgen: Move importCell out of the header.
|
|/
|
|
|
| |
This function has no hope of ever getting inlined anyway, and it speeds
up yosys compile time by 7%.
|
|\
| |
| | |
sf2: Emit CLKINT even if -clkbuf not passed
|
|/
|
|
| |
This restores pre #2229 behavior.
|
|\
| |
| | |
anlogic: Fix FF mapping.
|
| | |
|
|\ \
| | |
| | | |
sf2: replace sf2_iobs with {clkbuf,iopad}map
|
| | | |
|
|\ \ \
| |_|/
|/| | |
verilog_backend: in non-SV mode, add a trigger for `always @*`
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This commit only affects translation of RTLIL processes (for which
there is limited support).
Due to the event-driven nature of Verilog, processes like
reg x;
always @*
x <= 1;
may never execute. This can be fixed in SystemVerilog code by using
`always_comb` instead of `always @*`, but in Verilog-2001 the options
are limited. This commit implements the following workaround:
reg init = 0;
reg x;
always @* begin
if (init) begin end
x <= 1;
end
Fixes #2271.
|
|\| |
| | |
| | | |
verilog_backend: add `-sv` option, make `-o <filename>.sv` work
|
| | |
| | |
| | |
| | | |
See #2271.
|
|\ \ \
| | | |
| | | | |
anlogic: Use dfflegalize.
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
efinix: Nuke efinix_gbuf in favor of clkbufmap.
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
cxxrtl: fix typo
|
| | |_|/ /
| |/| | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Use "bison -Wall -Werror" for verilog front-end
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Claire Wolf <claire@symbioticeda.com>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Claire Wolf <claire@symbioticeda.com>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Claire Wolf <claire@symbioticeda.com>
|
|/ / / / /
| | | | |
| | | | |
| | | | | |
Signed-off-by: Claire Wolf <claire@symbioticeda.com>
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Restore #2203 and #2244 and fix parser conflicts
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Kamil Rakoczy <krakoczy@antmicro.com>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This commit fixes S/R conflicts introduced by commit 6f9be93.
Signed-off-by: Kamil Rakoczy <krakoczy@antmicro.com>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This commit fixes R/R conflicts introduced by commit 7e83a51.
Parameter logic is already defined as part of `param_range_type` rule.
Signed-off-by: Kamil Rakoczy <krakoczy@antmicro.com>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This reverts commit 9c120b89ace6c111aa4677616947d18d980b9c1a.
|
| | | | | | |
|
| |/ / / /
|/| | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
This reverts commit 09ecb9b2cf3ab76841d30712bf70dafc6d47ef67.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
cxxrtl: expose eval() and commit() via the C API
|
|/ / / / / |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Of standard yosys cells, xilinx_srl only works on $_DFF_?_ and
$_DFFE_?P_, which get upgraded to $_SDFFE_?P?P_ by dfflegalize at the
point where xilinx_srl is called for non-abc9. Fix this by running
ff_map.v first, resulting in FDRE cells, which are handled correctly.
|
| | | | |
| | | | |
| | | | |
| | | | | |
Fixes #2258.
|
| | | | |
| | | | |
| | | | |
| | | | | |
Skipping non-selected wires is unsound in an obvious way.
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
Add AST_EDGE support to AstNode::detect_latch()
|
|/ / / /
| | | |
| | | |
| | | | |
Signed-off-by: Claire Wolf <claire@symbioticeda.com>
|
|\ \ \ \
| | | | |
| | | | | |
verilog_parser: turn S/R and R/R conflicts into hard errors
|
| | | | |
| | | | |
| | | | |
| | | | | |
Fixes #2253.
|