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