yosys/backends
Sahand Kashani 2c6cc27af1 Add firrtl backend support for generic parameters in blackbox components
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"
2020-07-23 15:20:45 +02:00
..
aiger Use C++11 final/override keywords. 2020-06-18 23:34:52 +00:00
blif Use C++11 final/override keywords. 2020-06-18 23:34:52 +00:00
btor Use C++11 final/override keywords. 2020-06-18 23:34:52 +00:00
cxxrtl cxxrtl: fix typo. NFC. 2020-07-14 16:10:30 +00:00
edif Use C++11 final/override keywords. 2020-06-18 23:34:52 +00:00
firrtl Add firrtl backend support for generic parameters in blackbox components 2020-07-23 15:20:45 +02:00
ilang Use (and ignore) the expression provided to log_assert in NDEBUG builds. 2020-06-19 15:48:58 +00:00
intersynth Use C++11 final/override keywords. 2020-06-18 23:34:52 +00:00
json Use C++11 final/override keywords. 2020-06-18 23:34:52 +00:00
protobuf Use C++11 final/override keywords. 2020-06-18 23:34:52 +00:00
simplec Use C++11 final/override keywords. 2020-06-18 23:34:52 +00:00
smt2 smtio: Emit `mode: start` options before `set-logic` command and any other options after it. 2020-07-20 22:09:44 +00:00
smv Use C++11 final/override keywords. 2020-06-18 23:34:52 +00:00
spice Use C++11 final/override keywords. 2020-06-18 23:34:52 +00:00
table Use C++11 final/override keywords. 2020-06-18 23:34:52 +00:00
verilog verilog_backend: in non-SV mode, add a trigger for `always @*`. 2020-07-16 11:30:14 +00:00