Merge pull request #3194 from Ravenslofty/abc9-flow3mfs
[yosys.git] / CHANGELOG
1
2 List of major changes and improvements between releases
3 =======================================================
4
5 Yosys 0.15 .. Yosys 0.15-dev
6 --------------------------
7
8 Yosys 0.14 .. Yosys 0.15
9 --------------------------
10
11 * Various
12 - clk2fflogic: nice names for autogenerated signals
13 - simulation include support for all flip-flop types.
14 - Added AIGER witness file co-simulation.
15
16 * Verilog
17 - Fixed evaluation of constant functions with variables or arguments with
18 reversed dimensions
19 - Fixed elaboration of dynamic range assignments where the vector is
20 reversed or is not zero-indexed
21 - Added frontend support for time scale delay values (e.g., `#1ns`)
22
23 * SystemVerilog
24 - Added support for accessing whole sub-structures in expressions
25
26 * New commands and options
27 - Added glift command, used to create gate-level information flow tracking
28 (GLIFT) models by the "constructive mapping" approach
29
30 * Verific support
31 - Ability to override default parser mode for verific -f command.
32
33 Yosys 0.13 .. Yosys 0.14
34 --------------------------
35
36 * Various
37 - Added $bmux and $demux cells and related optimization patterns.
38
39 * New commands and options
40 - Added "bmuxmap" and "dmuxmap" passes
41 - Added "-fst" option to "sim" pass for writing FST files
42 - Added "-r", "-scope", "-start", "-stop", "-at", "-sim", "-sim-gate",
43 "-sim-gold" options to "sim" pass for co-simulation
44
45 * Anlogic support
46 - Added support for BRAMs
47
48 Yosys 0.12 .. Yosys 0.13
49 --------------------------
50
51 * Various
52 - Use "read" command to parse HDL files from Yosys command-line
53 - Added "yosys -r <topmodule>" command line option
54 - write_verilog: dump zero width sigspecs correctly
55
56 * SystemVerilog
57 - Fixed regression preventing the use array querying functions in case
58 expressions and case item expressions
59 - Fixed static size casts inadvertently limiting the result width of binary
60 operations
61 - Fixed static size casts ignoring expression signedness
62 - Fixed static size casts not extending unbased unsized literals
63 - Added automatic `nosync` inference for local variables in `always_comb`
64 procedures which are always assigned before they are used to avoid errant
65 latch inference
66
67 * New commands and options
68 - Added "clean_zerowidth" pass
69
70 * Verific support
71 - Add YOSYS to the implicitly defined verilog macros in verific
72
73 Yosys 0.11 .. Yosys 0.12
74 --------------------------
75
76 * Various
77 - Added iopadmap native support for negative-polarity output enable
78 - ABC update
79
80 * SystemVerilog
81 - Support parameters using struct as a wiretype
82
83 * New commands and options
84 - Added "-genlib" option to "abc" pass
85 - Added "sta" very crude static timing analysis pass
86
87 * Verific support
88 - Fixed memory block size in import
89
90 * New back-ends
91 - Added support for GateMate FPGA from Cologne Chip AG
92
93 * Intel ALM support
94 - Added preliminary Arria V support
95
96
97 Yosys 0.10 .. Yosys 0.11
98 --------------------------
99
100 * Various
101 - Added $aldff and $aldffe (flip-flops with async load) cells
102
103 * SystemVerilog
104 - Fixed an issue which prevented writing directly to a memory word via a
105 connection to an output port
106 - Fixed an issue which prevented unbased unsized literals (e.g., `'1`) from
107 filling the width of a cell input
108 - Fixed an issue where connecting a slice covering the entirety of a signed
109 signal to a cell input would cause a failed assertion
110
111 * Verific support
112 - Importer support for {PRIM,WIDE_OPER}_DFF
113 - Importer support for PRIM_BUFIF1
114 - Option to use Verific without VHDL support
115 - Importer support for {PRIM,WIDE_OPER}_DLATCH{,RS}
116 - Added -cfg option for getting/setting Verific runtime flags
117
118 Yosys 0.9 .. Yosys 0.10
119 --------------------------
120
121 * Various
122 - Added automatic gzip decompression for frontends
123 - Added $_NMUX_ cell type
124 - Added automatic gzip compression (based on filename extension) for backends
125 - Improve attribute and parameter encoding in JSON to avoid ambiguities between
126 bit vectors and strings containing [01xz]*
127 - Improvements in pmgen: subpattern and recursive matches
128 - Support explicit FIRRTL properties
129 - Improvements in pmgen: slices, choices, define, generate
130 - Added "_TECHMAP_WIREINIT_*_" parameter and "_TECHMAP_REMOVEINIT_*_" wire for "techmap" pass
131 - Added +/mul2dsp.v for decomposing wide multipliers to custom-sized ones
132 - Added new frontend: rpc
133 - Added --version and -version as aliases for -V
134 - Improve yosys-smtbmc "solver not found" handling
135 - Improved support of $readmem[hb] Memory Content File inclusion
136 - Added CXXRTL backend
137 - Use YosysHQ/abc instead of upstream berkeley-abc/abc
138 - Added WASI platform support.
139 - Added extmodule support to firrtl backend
140 - Added $divfloor and $modfloor cells
141 - Added $adffe, $dffsre, $sdff, $sdffe, $sdffce, $adlatch cells
142 - Added "_TECHMAP_CELLNAME_" parameter for "techmap" pass
143 - Added firrtl backend support for generic parameters in blackbox components
144 - Added $meminit_v2 cells (with support for write mask)
145 - Added $mem_v2, $memrd_v2, $memwr_v2, with the following features:
146 - write priority masks, per write/write port pair
147 - transparency and undefined collision behavior masks, per read/write port pair
148 - read port reset and initialization
149 - wide ports (accessing a naturally aligned power-of-two number of memory cells)
150
151 * New commands and options
152 - Added "write_xaiger" backend
153 - Added "read_xaiger"
154 - Added "abc9" pass for timing-aware techmapping (experimental, FPGA only)
155 - Added "synth -abc9" (experimental)
156 - Added "script -scriptwire"
157 - Added "clkbufmap" pass
158 - Added "extractinv" pass and "invertible_pin" attribute
159 - Added "proc_clean -quiet"
160 - Added "proc_prune" pass
161 - Added "stat -tech cmos"
162 - Added "opt_share" pass, run as part of "opt -full"
163 - Added "-match-init" option to "dff2dffs" pass
164 - Added "equiv_opt -multiclock"
165 - Added "techmap_autopurge" support to techmap
166 - Added "add -mod <modname[s]>"
167 - Added "paramap" pass
168 - Added "portlist" command
169 - Added "check -mapped"
170 - Added "check -allow-tbuf"
171 - Added "autoname" pass
172 - Added "write_verilog -extmem"
173 - Added "opt_mem" pass
174 - Added "scratchpad" pass
175 - Added "fminit" pass
176 - Added "opt_lut_ins" pass
177 - Added "logger" pass
178 - Added "show -nobg"
179 - Added "exec" command
180 - Added "design -delete"
181 - Added "design -push-copy"
182 - Added "qbfsat" command
183 - Added "select -unset"
184 - Added "dfflegalize" pass
185 - Removed "opt_expr -clkinv" option, made it the default
186 - Added "proc -nomux
187 - Merged "dffsr2dff", "opt_rmdff", "dff2dffe", "dff2dffs", "peepopt.dffmux" passes into a new "opt_dff" pass
188
189 * SystemVerilog
190 - Added checking of always block types (always_comb, always_latch and always_ff)
191 - Added support for wildcard port connections (.*)
192 - Added support for enum typedefs
193 - Added support for structs and packed unions.
194 - Allow constant function calls in for loops and generate if and case
195 - Added support for static cast
196 - Added support for logic typed parameters
197 - Fixed generate scoping issues
198 - Added support for real-valued parameters
199 - Allow localparams in constant functions
200 - Module name scope support
201 - Support recursive functions using ternary expressions
202 - Extended support for integer types
203 - Support for parameters without default values
204 - Allow globals in one file to depend on globals in another
205 - Added support for: *=, /=, %=, <<=, >>=, <<<=, >>>=
206 - Added support for parsing the 'bind' construct
207 - support declaration in procedural for initialization
208 - support declaration in generate for initialization
209 - Support wand and wor of data types
210
211 * Verific support
212 - Added "verific -L"
213 - Add Verific SVA support for "always" properties
214 - Add Verific support for SVA nexttime properties
215 - Improve handling of verific primitives in "verific -import -V" mode
216 - Import attributes for wires
217 - Support VHDL enums
218 - Added support for command files
219
220 * New back-ends
221 - Added initial EFINIX support
222 - Added Intel ALM: alternative synthesis for Intel FPGAs
223 - Added initial Nexus support
224 - Added initial MachXO2 support
225 - Added initial QuickLogic PolarPro 3 support
226
227 * ECP5 support
228 - Renamed labels/options in synth_ecp5 (e.g. dram -> map_lutram; -nodram -> -nolutram)
229 - Added "synth_ecp5 -abc9" (experimental)
230 - Added "synth_ecp5 -nowidelut"
231 - "synth_ecp5" to now infer DSP blocks (-nodsp to disable, experimental)
232
233 * iCE40 support
234 - Added "synth_ice40 -abc9" (experimental)
235 - Added "synth_ice40 -device"
236 - Renamed labels/options in synth_ice40 (e.g. dram -> map_lutram; -nodram -> -nolutram)
237 - Added "ice40_wrapcarry" to encapsulate SB_LUT+SB_CARRY pairs for techmapping
238 - Removed "ice40_unlut"
239 - Added "ice40_dsp" for Lattice iCE40 DSP packing
240 - "synth_ice40 -dsp" to infer DSP blocks
241
242 * Xilinx support
243 - Added "synth_xilinx -abc9" (experimental)
244 - Added "synth_xilinx -nocarry"
245 - Added "synth_xilinx -nowidelut"
246 - "synth_xilinx" to now infer wide multiplexers (-widemux <min> to enable)
247 - Renamed labels/options in synth_xilinx (e.g. dram -> map_lutram; -nodram -> -nolutram)
248 - Added "synth_xilinx -family xc6s" for Spartan 6 support (experimental)
249 - Added "synth_xilinx -ise" (experimental)
250 - Added "synth_xilinx -iopad"
251 - "synth_xilinx" now automatically inserts clock buffers (add -noclkbuf to disable)
252 - Added "xilinx_srl" for Xilinx shift register extraction
253 - Removed "shregmap -tech xilinx" (superseded by "xilinx_srl")
254 - Added "xilinx_dsp" for Xilinx DSP packing
255 - "synth_xilinx" to now infer DSP blocks (-nodsp to disable)
256 - Added latch support to synth_xilinx
257 - Added support for flip-flops with synchronous reset to synth_xilinx
258 - Added support for flip-flops with reset and enable to synth_xilinx
259 - Added "xilinx_dffopt" pass
260 - Added "synth_xilinx -dff"
261
262 * Intel support
263 - Renamed labels in synth_intel (e.g. bram -> map_bram)
264 - synth_intel: cyclone10 -> cyclone10lp, a10gx -> arria10gx
265 - Added "intel_alm -abc9" (experimental)
266
267 * CoolRunner2 support
268 - Separate and improve buffer cell insertion pass
269 - Use extract_counter to optimize counters
270
271 Yosys 0.8 .. Yosys 0.9
272 ----------------------
273
274 * Various
275 - Many bugfixes and small improvements
276 - Added support for SystemVerilog interfaces and modports
277 - Added "write_edif -attrprop"
278 - Added "opt_lut" pass
279 - Added "gate2lut.v" techmap rule
280 - Added "rename -src"
281 - Added "equiv_opt" pass
282 - Added "flowmap" LUT mapping pass
283 - Added "rename -wire" to rename cells based on the wires they drive
284 - Added "bugpoint" for creating minimised testcases
285 - Added "write_edif -gndvccy"
286 - "write_verilog" to escape Verilog keywords
287 - Fixed sign handling of real constants
288 - "write_verilog" to write initial statement for initial flop state
289 - Added pmgen pattern matcher generator
290 - Fixed opt_rmdff handling of $_DFFSR_???_ and $_DLATCHSR_???_
291 - Added "setundef -params" to replace undefined cell parameters
292 - Renamed "yosys -D" to "yosys -U", added "yosys -D" to set Verilog defines
293 - Fixed handling of defparam when default_nettype is none
294 - Fixed "wreduce" flipflop handling
295 - Fixed FIRRTL to Verilog process instance subfield assignment
296 - Added "write_verilog -siminit"
297 - Several fixes and improvements for mem2reg memories
298 - Fixed handling of task output ports in clocked always blocks
299 - Improved handling of and-with-1 and or-with-0 in "opt_expr"
300 - Added "read_aiger" frontend
301 - Added "mutate" pass
302 - Added "hdlname" attribute
303 - Added "rename -output"
304 - Added "read_ilang -lib"
305 - Improved "proc" full_case detection and handling
306 - Added "whitebox" and "lib_whitebox" attributes
307 - Added "read_verilog -nowb", "flatten -wb" and "wbflip"
308 - Added Python bindings and support for Python plug-ins
309 - Added "pmux2shiftx"
310 - Added log_debug framework for reduced default verbosity
311 - Improved "opt_expr" and "opt_clean" handling of (partially) undriven and/or unused wires
312 - Added "peepopt" peephole optimisation pass using pmgen
313 - Added approximate support for SystemVerilog "var" keyword
314 - Added parsing of "specify" blocks into $specrule and $specify[23]
315 - Added support for attributes on parameters and localparams
316 - Added support for parsing attributes on port connections
317 - Added "wreduce -keepdc"
318 - Added support for optimising $dffe and $_DFFE_* cells in "opt_rmdff"
319 - Added Verilog wand/wor wire type support
320 - Added support for elaboration system tasks
321 - Added "muxcover -mux{4,8,16}=<cost>"
322 - Added "muxcover -dmux=<cost>"
323 - Added "muxcover -nopartial"
324 - Added "muxpack" pass
325 - Added "pmux2shiftx -norange"
326 - Added support for "~" in filename parsing
327 - Added "read_verilog -pwires" feature to turn parameters into wires
328 - Fixed sign extension of unsized constants with 'bx and 'bz MSB
329 - Fixed genvar to be a signed type
330 - Added support for attributes on case rules
331 - Added "upto" and "offset" to JSON frontend and backend
332 - Several liberty file parser improvements
333 - Fixed handling of more complex BRAM patterns
334 - Add "write_aiger -I -O -B"
335
336 * Formal Verification
337 - Added $changed support to read_verilog
338 - Added "read_verilog -noassert -noassume -assert-assumes"
339 - Added btor ops for $mul, $div, $mod and $concat
340 - Added yosys-smtbmc support for btor witnesses
341 - Added "supercover" pass
342 - Fixed $global_clock handling vs autowire
343 - Added $dffsr support to "async2sync"
344 - Added "fmcombine" pass
345 - Added memory init support in "write_btor"
346 - Added "cutpoint" pass
347 - Changed "ne" to "neq" in btor2 output
348 - Added support for SVA "final" keyword
349 - Added "fmcombine -initeq -anyeq"
350 - Added timescale and generated-by header to yosys-smtbmc vcd output
351 - Improved BTOR2 handling of undriven wires
352
353 * Verific support
354 - Enabled Verific flags vhdl_support_variable_slice and veri_elaborate_top_level_modules_having_interface_ports
355 - Improved support for asymmetric memories
356 - Added "verific -chparam"
357 - Fixed "verific -extnets" for more complex situations
358 - Added "read -verific" and "read -noverific"
359 - Added "hierarchy -chparam"
360
361 * New back-ends
362 - Added initial Anlogic support
363 - Added initial SmartFusion2 and IGLOO2 support
364
365 * ECP5 support
366 - Added "synth_ecp5 -nowidelut"
367 - Added BRAM inference support to "synth_ecp5"
368 - Added support for transforming Diamond IO and flipflop primitives
369
370 * iCE40 support
371 - Added "ice40_unlut" pass
372 - Added "synth_ice40 -relut"
373 - Added "synth_ice40 -noabc"
374 - Added "synth_ice40 -dffe_min_ce_use"
375 - Added DSP inference support using pmgen
376 - Added support for initialising BRAM primitives from a file
377 - Added iCE40 Ultra RGB LED driver cells
378
379 * Xilinx support
380 - Use "write_edif -pvector bra" for Xilinx EDIF files
381 - Fixes for VPR place and route support with "synth_xilinx"
382 - Added more cell simulation models
383 - Added "synth_xilinx -family"
384 - Added "stat -tech xilinx" to estimate logic cell usage
385 - Added "synth_xilinx -nocarry"
386 - Added "synth_xilinx -nowidelut"
387 - "synth_xilinx" to now infer hard shift registers (-nosrl to disable)
388 - Added support for mapping RAM32X1D
389
390 Yosys 0.7 .. Yosys 0.8
391 ----------------------
392
393 * Various
394 - Many bugfixes and small improvements
395 - Strip debug symbols from installed binary
396 - Replace -ignore_redef with -[no]overwrite in front-ends
397 - Added write_verilog hex dump support, add -nohex option
398 - Added "write_verilog -decimal"
399 - Added "scc -set_attr"
400 - Added "verilog_defines" command
401 - Remember defines from one read_verilog to next
402 - Added support for hierarchical defparam
403 - Added FIRRTL back-end
404 - Improved ABC default scripts
405 - Added "design -reset-vlog"
406 - Added "yosys -W regex", "yosys -w regex", and "yosys -e regex"
407 - Added Verilog $rtoi and $itor support
408 - Added "check -initdrv"
409 - Added "read_blif -wideports"
410 - Added support for SystemVerilog "++" and "--" operators
411 - Added support for SystemVerilog unique, unique0, and priority case
412 - Added "write_edif" options for edif "flavors"
413 - Added support for resetall compiler directive
414 - Added simple C beck-end (bitwise combinatorical only atm)
415 - Added $_ANDNOT_ and $_ORNOT_ cell types
416 - Added cell library aliases to "abc -g"
417 - Added "setundef -anyseq"
418 - Added "chtype" command
419 - Added "design -import"
420 - Added "write_table" command
421 - Added "read_json" command
422 - Added "sim" command
423 - Added "extract_fa" and "extract_reduce" commands
424 - Added "extract_counter" command
425 - Added "opt_demorgan" command
426 - Added support for $size and $bits SystemVerilog functions
427 - Added "blackbox" command
428 - Added "ltp" command
429 - Added support for editline as replacement for readline
430 - Added warnings for driver-driver conflicts between FFs (and other cells) and constants
431 - Added "yosys -E" for creating Makefile dependencies files
432 - Added "synth -noshare"
433 - Added "memory_nordff"
434 - Added "setundef -undef -expose -anyconst"
435 - Added "expose -input"
436 - Added specify/specparam parser support (simply ignore them)
437 - Added "write_blif -inames -iattr"
438 - Added "hierarchy -simcheck"
439 - Added an option to statically link abc into yosys
440 - Added protobuf back-end
441 - Added BLIF parsing support for .conn and .cname
442 - Added read_verilog error checking for reg/wire/logic misuse
443 - Added "make coverage" and ENABLE_GCOV build option
444
445 * Changes in Yosys APIs
446 - Added ConstEval defaultval feature
447 - Added {get,set}_src_attribute() methods on RTLIL::AttrObject
448 - Added SigSpec::is_fully_ones() and Const::is_fully_ones()
449 - Added log_file_warning() and log_file_error() functions
450
451 * Formal Verification
452 - Added "write_aiger"
453 - Added "yosys-smtbmc --aig"
454 - Added "always <positive_int>" to .smtc format
455 - Added $cover cell type and support for cover properties
456 - Added $fair/$live cell type and support for liveness properties
457 - Added smtbmc support for memory vcd dumping
458 - Added "chformal" command
459 - Added "write_smt2 -stbv" and "write_smt2 -stdt"
460 - Fix equiv_simple, old behavior now available with "equiv_simple -short"
461 - Change to Yices2 as default SMT solver (it is GPL now)
462 - Added "yosys-smtbmc --presat" (now default in SymbiYosys)
463 - Added "yosys-smtbmc --smtc-init --smtc-top --noinit"
464 - Added a brand new "write_btor" command for BTOR2
465 - Added clk2fflogic memory support and other improvements
466 - Added "async memory write" support to write_smt2
467 - Simulate clock toggling in yosys-smtbmc VCD output
468 - Added $allseq/$allconst cells for EA-solving
469 - Make -nordff the default in "prep"
470 - Added (* gclk *) attribute
471 - Added "async2sync" pass for single-clock designs with async resets
472
473 * Verific support
474 - Many improvements in Verific front-end
475 - Added proper handling of concurent SVA properties
476 - Map "const" and "rand const" to $anyseq/$anyconst
477 - Added "verific -import -flatten" and "verific -import -extnets"
478 - Added "verific -vlog-incdir -vlog-define -vlog-libdir"
479 - Remove PSL support (because PSL has been removed in upstream Verific)
480 - Improve integration with "hierarchy" command design elaboration
481 - Added YOSYS_NOVERIFIC for running non-verific test cases with verific bin
482 - Added simpilied "read" command that automatically uses verific if available
483 - Added "verific -set-<severity> <msg_id>.."
484 - Added "verific -work <libname>"
485
486 * New back-ends
487 - Added initial Coolrunner-II support
488 - Added initial eASIC support
489 - Added initial ECP5 support
490
491 * GreenPAK Support
492 - Added support for GP_DLATCH, GP_SPI, GP_DCMx, GP_COUNTx, etc.
493
494 * iCE40 Support
495 - Add "synth_ice40 -vpr"
496 - Add "synth_ice40 -nodffe"
497 - Add "synth_ice40 -json"
498 - Add Support for UltraPlus cells
499
500 * MAX10 and Cyclone IV Support
501 - Added initial version of metacommand "synth_intel".
502 - Improved write_verilog command to produce VQM netlist for Quartus Prime.
503 - Added support for MAX10 FPGA family synthesis.
504 - Added support for Cyclone IV family synthesis.
505 - Added example of implementation for DE2i-150 board.
506 - Added example of implementation for MAX10 development kit.
507 - Added LFSR example from Asic World.
508 - Added "dffinit -highlow" for mapping to Intel primitives
509
510
511 Yosys 0.6 .. Yosys 0.7
512 ----------------------
513
514 * Various
515 - Added "yosys -D" feature
516 - Added support for installed plugins in $(DATDIR)/plugins/
517 - Renamed opt_const to opt_expr
518 - Renamed opt_share to opt_merge
519 - Added "prep -flatten" and "synth -flatten"
520 - Added "prep -auto-top" and "synth -auto-top"
521 - Using "mfs" and "lutpack" in ABC lut mapping
522 - Support for abstract modules in chparam
523 - Cleanup abstract modules at end of "hierarchy -top"
524 - Added tristate buffer support to iopadmap
525 - Added opt_expr support for div/mod by power-of-two
526 - Added "select -assert-min <N> -assert-max <N>"
527 - Added "attrmvcp" pass
528 - Added "attrmap" command
529 - Added "tee +INT -INT"
530 - Added "zinit" pass
531 - Added "setparam -type"
532 - Added "shregmap" pass
533 - Added "setundef -init"
534 - Added "nlutmap -assert"
535 - Added $sop cell type and "abc -sop -I <num> -P <num>"
536 - Added "dc2" to default ABC scripts
537 - Added "deminout"
538 - Added "insbuf" command
539 - Added "prep -nomem"
540 - Added "opt_rmdff -keepdc"
541 - Added "prep -nokeepdc"
542 - Added initial version of "synth_gowin"
543 - Added "fsm_expand -full"
544 - Added support for fsm_encoding="user"
545 - Many improvements in GreenPAK4 support
546 - Added black box modules for all Xilinx 7-series lib cells
547 - Added synth_ice40 support for latches via logic loops
548 - Fixed ice40_opt lut unmapping, added "ice40_opt -unlut"
549
550 * Build System
551 - Added ABCEXTERNAL and ABCURL make variables
552 - Added BINDIR, LIBDIR, and DATDIR make variables
553 - Added PKG_CONFIG make variable
554 - Added SEED make variable (for "make test")
555 - Added YOSYS_VER_STR make variable
556 - Updated min GCC requirement to GCC 4.8
557 - Updated required Bison version to Bison 3.x
558
559 * Internal APIs
560 - Added ast.h to exported headers
561 - Added ScriptPass helper class for script-like passes
562 - Added CellEdgesDatabase API
563
564 * Front-ends and Back-ends
565 - Added filename glob support to all front-ends
566 - Added avail (black-box) module params to ilang format
567 - Added $display %m support
568 - Added support for $stop Verilog system task
569 - Added support for SystemVerilog packages
570 - Fixed procedural assignments to non-unique lvalues, e.g. {y,y} = {a,b}
571 - Added support for "active high" and "active low" latches in read_blif and write_blif
572 - Use init value "2" for all uninitialized FFs in BLIF back-end
573 - Added "read_blif -sop"
574 - Added "write_blif -noalias"
575 - Added various write_blif options for VTR support
576 - write_json: also write module attributes.
577 - Added "write_verilog -nodec -nostr -defparam"
578 - Added "read_verilog -norestrict -assume-asserts"
579 - Added support for bus interfaces to "read_liberty -lib"
580 - Added liberty parser support for types within cell decls
581 - Added "write_verilog -renameprefix -v"
582 - Added "write_edif -nogndvcc"
583
584 * Formal Verification
585 - Support for hierarchical designs in smt2 back-end
586 - Yosys-smtbmc: Support for hierarchical VCD dumping
587 - Added $initstate cell type and vlog function
588 - Added $anyconst and $anyseq cell types and vlog functions
589 - Added printing of code loc of failed asserts to yosys-smtbmc
590 - Added memory_memx pass, "memory -memx", and "prep -memx"
591 - Added "proc_mux -ifx"
592 - Added "yosys-smtbmc -g"
593 - Deprecated "write_smt2 -regs" (by default on now)
594 - Made "write_smt2 -bv -mem" default, added "write_smt2 -nobv -nomem"
595 - Added support for memories to smtio.py
596 - Added "yosys-smtbmc --dump-vlogtb"
597 - Added "yosys-smtbmc --smtc --dump-smtc"
598 - Added "yosys-smtbmc --dump-all"
599 - Added assertpmux command
600 - Added "yosys-smtbmc --unroll"
601 - Added $past, $stable, $rose, $fell SVA functions
602 - Added "yosys-smtbmc --noinfo and --dummy"
603 - Added "yosys-smtbmc --noincr"
604 - Added "yosys-smtbmc --cex <filename>"
605 - Added $ff and $_FF_ cell types
606 - Added $global_clock verilog syntax support for creating $ff cells
607 - Added clk2fflogic
608
609
610 Yosys 0.5 .. Yosys 0.6
611 ----------------------
612
613 * Various
614 - Added Contributor Covenant Code of Conduct
615 - Various improvements in dict<> and pool<>
616 - Added hashlib::mfp and refactored SigMap
617 - Improved support for reals as module parameters
618 - Various improvements in SMT2 back-end
619 - Added "keep_hierarchy" attribute
620 - Verilog front-end: define `BLACKBOX in -lib mode
621 - Added API for converting internal cells to AIGs
622 - Added ENABLE_LIBYOSYS Makefile option
623 - Removed "techmap -share_map" (use "-map +/filename" instead)
624 - Switched all Python scripts to Python 3
625 - Added support for $display()/$write() and $finish() to Verilog front-end
626 - Added "yosys-smtbmc" formal verification flow
627 - Added options for clang sanitizers to Makefile
628
629 * New commands and options
630 - Added "scc -expect <N> -nofeedback"
631 - Added "proc_dlatch"
632 - Added "check"
633 - Added "select %xe %cie %coe %M %C %R"
634 - Added "sat -dump_json" (WaveJSON format)
635 - Added "sat -tempinduct-baseonly -tempinduct-inductonly"
636 - Added "sat -stepsize" and "sat -tempinduct-step"
637 - Added "sat -show-regs -show-public -show-all"
638 - Added "write_json" (Native Yosys JSON format)
639 - Added "write_blif -attr"
640 - Added "dffinit"
641 - Added "chparam"
642 - Added "muxcover"
643 - Added "pmuxtree"
644 - Added memory_bram "make_outreg" feature
645 - Added "splice -wires"
646 - Added "dff2dffe -direct-match"
647 - Added simplemap $lut support
648 - Added "read_blif"
649 - Added "opt_share -share_all"
650 - Added "aigmap"
651 - Added "write_smt2 -mem -regs -wires"
652 - Added "memory -nordff"
653 - Added "write_smv"
654 - Added "synth -nordff -noalumacc"
655 - Added "rename -top new_name"
656 - Added "opt_const -clkinv"
657 - Added "synth -nofsm"
658 - Added "miter -assert"
659 - Added "read_verilog -noautowire"
660 - Added "read_verilog -nodpi"
661 - Added "tribuf"
662 - Added "lut2mux"
663 - Added "nlutmap"
664 - Added "qwp"
665 - Added "test_cell -noeval"
666 - Added "edgetypes"
667 - Added "equiv_struct"
668 - Added "equiv_purge"
669 - Added "equiv_mark"
670 - Added "equiv_add -try -cell"
671 - Added "singleton"
672 - Added "abc -g -luts"
673 - Added "torder"
674 - Added "write_blif -cname"
675 - Added "submod -copy"
676 - Added "dffsr2dff"
677 - Added "stat -liberty"
678
679 * Synthesis metacommands
680 - Various improvements in synth_xilinx
681 - Added synth_ice40 and synth_greenpak4
682 - Added "prep" metacommand for "synthesis lite"
683
684 * Cell library changes
685 - Added cell types to "help" system
686 - Added $meminit cell type
687 - Added $assume cell type
688 - Added $_MUX4_, $_MUX8_, and $_MUX16_ cells
689 - Added $tribuf and $_TBUF_ cell types
690 - Added read-enable to memory model
691
692 * YosysJS
693 - Various improvements in emscripten build
694 - Added alternative webworker-based JS API
695 - Added a few example applications
696
697
698 Yosys 0.4 .. Yosys 0.5
699 ----------------------
700
701 * API changes
702 - Added log_warning()
703 - Added eval_select_args() and eval_select_op()
704 - Added cell->known(), cell->input(portname), cell->output(portname)
705 - Skip blackbox modules in design->selected_modules()
706 - Replaced std::map<> and std::set<> with dict<> and pool<>
707 - New SigSpec::extend() is what used to be SigSpec::extend_u0()
708 - Added YS_OVERRIDE, YS_FINAL, YS_ATTRIBUTE, YS_NORETURN
709
710 * Cell library changes
711 - Added flip-flops with enable ($dffe etc.)
712 - Added $equiv cells for equivalence checking framework
713
714 * Various
715 - Updated ABC to hg rev 61ad5f908c03
716 - Added clock domain partitioning to ABC pass
717 - Improved plugin building (see "yosys-config --build")
718 - Added ENABLE_NDEBUG Makefile flag for high-performance builds
719 - Added "yosys -d", "yosys -L" and other driver improvements
720 - Added support for multi-bit (array) cell ports to "write_edif"
721 - Now printing most output to stdout, not stderr
722 - Added "onehot" attribute (set by "fsm_map")
723 - Various performance improvements
724 - Vastly improved Xilinx flow
725 - Added "make unsintall"
726
727 * Equivalence checking
728 - Added equivalence checking commands:
729 equiv_make equiv_simple equiv_status
730 equiv_induct equiv_miter
731 equiv_add equiv_remove
732
733 * Block RAM support:
734 - Added "memory_bram" command
735 - Added BRAM support to Xilinx flow
736
737 * Other New Commands and Options
738 - Added "dff2dffe"
739 - Added "fsm -encfile"
740 - Added "dfflibmap -prepare"
741 - Added "write_blid -unbuf -undef -blackbox"
742 - Added "write_smt2" for writing SMT-LIBv2 files
743 - Added "test_cell -w -muxdiv"
744 - Added "select -read"
745
746
747 Yosys 0.3.0 .. Yosys 0.4
748 ------------------------
749
750 * Platform Support
751 - Added support for mxe-based cross-builds for win32
752 - Added sourcecode-export as VisualStudio project
753 - Added experimental EMCC (JavaScript) support
754
755 * Verilog Frontend
756 - Added -sv option for SystemVerilog (and automatic *.sv file support)
757 - Added support for real-valued constants and constant expressions
758 - Added support for non-standard "via_celltype" attribute on task/func
759 - Added support for non-standard "module mod_name(...);" syntax
760 - Added support for non-standard """ macro bodies
761 - Added support for array with more than one dimension
762 - Added support for $readmemh and $readmemb
763 - Added support for DPI functions
764
765 * Changes in internal cell library
766 - Added $shift and $shiftx cell types
767 - Added $alu, $lcu, $fa and $macc cell types
768 - Removed $bu0 and $safe_pmux cell types
769 - $mem/$memwr WR_EN input is now a per-data-bit enable signal
770 - Added $_NAND_ $_NOR_ $_XNOR_ $_AOI3_ $_OAI3_ $_AOI4_ $_OAI4_
771 - Renamed ports of $lut cells (from I->O to A->Y)
772 - Renamed $_INV_ to $_NOT_
773
774 * Changes for simple synthesis flows
775 - There is now a "synth" command with a recommended default script
776 - Many improvements in synthesis of arithmetic functions to gates
777 - Multipliers and adders with many operands are using carry-save adder trees
778 - Remaining adders are now implemented using Brent-Kung carry look-ahead adders
779 - Various new high-level optimizations on RTL netlist
780 - Various improvements in FSM optimization
781 - Updated ABC to hg 5b5af75f1dda (from 2014-11-07)
782
783 * Changes in internal APIs and RTLIL
784 - Added log_id() and log_cell() helper functions
785 - Added function-like cell creation helpers
786 - Added GetSize() function (like .size() but with int)
787 - Major refactoring of RTLIL::Module and related classes
788 - Major refactoring of RTLIL::SigSpec and related classes
789 - Now RTLIL::IdString is essentially an int
790 - Added macros for code coverage counters
791 - Added some Makefile magic for pretty make logs
792 - Added "kernel/yosys.h" with all the core definitions
793 - Changed a lot of code from FILE* to c++ streams
794 - Added RTLIL::Monitor API and "trace" command
795 - Added "Yosys" C++ namespace
796
797 * Changes relevant to SAT solving
798 - Added ezSAT::keep_cnf() and ezSAT::non_incremental()
799 - Added native ezSAT support for vector shift ops
800 - Updated MiniSAT to git 37dc6c67e2 (from 2013-09-25)
801
802 * New commands (or large improvements to commands)
803 - Added "synth" command with default script
804 - Added "share" (finally some real resource sharing)
805 - Added "memory_share" (reduce number of ports on memories)
806 - Added "wreduce" and "alumacc" commands
807 - Added "opt -keepdc -fine -full -fast"
808 - Added some "test_*" commands
809
810 * Various other changes
811 - Added %D and %c select operators
812 - Added support for labels in yosys scripts
813 - Added support for here-documents in yosys scripts
814 - Support "+/" prefix for files from proc_share_dir
815 - Added "autoidx" statement to ilang language
816 - Switched from "yosys-svgviewer" to "xdot"
817 - Renamed "stdcells.v" to "techmap.v"
818 - Various bug fixes and small improvements
819 - Improved welcome and bye messages
820
821
822 Yosys 0.2.0 .. Yosys 0.3.0
823 --------------------------
824
825 * Driver program and overall behavior:
826 - Added "design -push" and "design -pop"
827 - Added "tee" command for redirecting log output
828
829 * Changes in the internal cell library:
830 - Added $dlatchsr and $_DLATCHSR_???_ cell types
831
832 * Improvements in Verilog frontend:
833 - Improved support for const functions (case, always, repeat)
834 - The generate..endgenerate keywords are now optional
835 - Added support for arrays of module instances
836 - Added support for "`default_nettype" directive
837 - Added support for "`line" directive
838
839 * Other front- and back-ends:
840 - Various changes to "write_blif" options
841 - Various improvements in EDIF backend
842 - Added "vhdl2verilog" pseudo-front-end
843 - Added "verific" pseudo-front-end
844
845 * Improvements in technology mapping:
846 - Added support for recursive techmap
847 - Added CONSTMSK and CONSTVAL features to techmap
848 - Added _TECHMAP_CONNMAP_*_ feature to techmap
849 - Added _TECHMAP_REPLACE_ feature to techmap
850 - Added "connwrappers" command for wrap-extract-unwrap method
851 - Added "extract -map %<design_name>" feature
852 - Added "extract -ignore_param ..." and "extract -ignore_parameters"
853 - Added "techmap -max_iter" option
854
855 * Improvements to "eval" and "sat" framework:
856 - Now include a copy of Minisat (with build fixes applied)
857 - Switched to Minisat::SimpSolver as SAT back-end
858 - Added "sat -dump_vcd" feature
859 - Added "sat -dump_cnf" feature
860 - Added "sat -initsteps <N>" feature
861 - Added "freduce -stop <N>" feature
862 - Added "freduce -dump <prefix>" feature
863
864 * Integration with ABC:
865 - Updated ABC rev to 7600ffb9340c
866
867 * Improvements in the internal APIs:
868 - Added RTLIL::Module::add... helper methods
869 - Various build fixes for OSX (Darwin) and OpenBSD
870
871
872 Yosys 0.1.0 .. Yosys 0.2.0
873 --------------------------
874
875 * Changes to the driver program:
876 - Added "yosys -h" and "yosys -H"
877 - Added support for backslash line continuation in scripts
878 - Added support for #-comments in same line as command
879 - Added "echo" and "log" commands
880
881 * Improvements in Verilog frontend:
882 - Added support for local registers in named blocks
883 - Added support for "case" in "generate" blocks
884 - Added support for $clog2 system function
885 - Added support for basic SystemVerilog assert statements
886 - Added preprocessor support for macro arguments
887 - Added preprocessor support for `elsif statement
888 - Added "verilog_defaults" command
889 - Added read_verilog -icells option
890 - Added support for constant sizes from parameters
891 - Added "read_verilog -setattr"
892 - Added support for function returning 'integer'
893 - Added limited support for function calls in parameter values
894 - Added "read_verilog -defer" to suppress evaluation of modules with default parameters
895
896 * Other front- and back-ends:
897 - Added BTOR backend
898 - Added Liberty frontend
899
900 * Improvements in technology mapping:
901 - The "dfflibmap" command now strongly prefers solutions with
902 no inverters in clock paths
903 - The "dfflibmap" command now prefers cells with smaller area
904 - Added support for multiple -map options to techmap
905 - Added "dfflibmap" support for //-comments in liberty files
906 - Added "memory_unpack" command to revert "memory_collect"
907 - Added standard techmap rule "techmap -share_map pmux2mux.v"
908 - Added "iopadmap -bits"
909 - Added "setundef" command
910 - Added "hilomap" command
911
912 * Changes in the internal cell library:
913 - Major rewrite of simlib.v for better compatibility with other tools
914 - Added PRIORITY parameter to $memwr cells
915 - Added TRANSPARENT parameter to $memrd cells
916 - Added RD_TRANSPARENT parameter to $mem cells
917 - Added $bu0 cell (always 0-extend, even undef MSB)
918 - Added $assert cell type
919 - Added $slice and $concat cell types
920
921 * Integration with ABC:
922 - Updated ABC to hg rev 2058c8ccea68
923 - Tighter integration of ABC build with Yosys build. The make
924 targets 'make abc' and 'make install-abc' are now obsolete.
925 - Added support for passing FFs from one clock domain through ABC
926 - Now always use BLIF as exchange format with ABC
927 - Added support for "abc -script +<command_sequence>"
928 - Improved standard ABC recipe
929 - Added support for "keep" attribute to abc command
930 - Added "abc -dff / -clk / -keepff" options
931
932 * Improvements to "eval" and "sat" framework:
933 - Added support for "0" and "~0" in right-hand side -set expressions
934 - Added "eval -set-undef" and "eval -table"
935 - Added "sat -set-init" and "sat -set-init-*" for sequential problems
936 - Added undef support to SAT solver, incl. various new "sat" options
937 - Added correct support for === and !== for "eval" and "sat"
938 - Added "sat -tempinduct" (default -seq is now non-induction sequential)
939 - Added "sat -prove-asserts"
940 - Complete rewrite of the 'freduce' command
941 - Added "miter" command
942 - Added "sat -show-inputs" and "sat -show-outputs"
943 - Added "sat -ignore_unknown_cells" (now produce an error by default)
944 - Added "sat -falsify"
945 - Now "sat -verify" and "sat -falsify" can also be used without "-prove"
946 - Added "expose" command
947 - Added support for @<sel_name> to sat and eval signal expressions
948
949 * Changes in the 'make test' framework and auxiliary test tools:
950 - Added autotest.sh -p and -f options
951 - Replaced autotest.sh ISIM support with XSIM support
952 - Added test cases for SAT framework
953
954 * Added "abbreviated IDs":
955 - Now $<something>$foo can be abbreviated as $foo.
956 - Usually this last part is a unique id (from RTLIL::autoidx)
957 - This abbreviated IDs are now also used in "show" output
958
959 * Other changes to selection framework:
960 - Now */ is optional in */<mode>:<arg> expressions
961 - Added "select -assert-none" and "select -assert-any"
962 - Added support for matching modules by attribute (A:<expr>)
963 - Added "select -none"
964 - Added support for r:<expr> pattern for matching cell parameters
965 - Added support for !=, <, <=, >=, > for attribute and parameter matching
966 - Added support for %s for selecting sub-modules
967 - Added support for %m for expanding selections to whole modules
968 - Added support for i:*, o:* and x:* pattern for selecting module ports
969 - Added support for s:<expr> pattern for matching wire width
970 - Added support for %a operation to select wire aliases
971
972 * Various other changes to commands and options:
973 - The "ls" command now supports wildcards
974 - Added "show -pause" and "show -format dot"
975 - Added "show -color" support for cells
976 - Added "show -label" and "show -notitle"
977 - Added "dump -m" and "dump -n"
978 - Added "history" command
979 - Added "rename -hide"
980 - Added "connect" command
981 - Added "splitnets -driver"
982 - Added "opt_const -mux_undef"
983 - Added "opt_const -mux_bool"
984 - Added "opt_const -undriven"
985 - Added "opt -mux_undef -mux_bool -undriven -purge"
986 - Added "hierarchy -libdir"
987 - Added "hierarchy -purge_lib" (by default now do not remove lib cells)
988 - Added "delete" command
989 - Added "dump -append"
990 - Added "setattr" and "setparam" commands
991 - Added "design -stash/-copy-from/-copy-to"
992 - Added "copy" command
993 - Added "splice" command
994