diff options
author | Clifford Wolf <clifford@clifford.at> | 2019-04-22 08:38:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-22 08:38:52 +0200 |
commit | 632a6664484aefa6f9af1ace87ecefccd86d1957 (patch) | |
tree | 4ed5fa744185b1a985f74e03cd2a1e5e4cb48d9c /README.md | |
parent | f84a84e3f1a27b361c21fcd30fcf50c1a6586629 (diff) | |
parent | 7b35d5759289f7a3139c6eaa525ef737b8d5d82b (diff) | |
download | yosys-632a6664484aefa6f9af1ace87ecefccd86d1957.tar.gz yosys-632a6664484aefa6f9af1ace87ecefccd86d1957.tar.bz2 yosys-632a6664484aefa6f9af1ace87ecefccd86d1957.zip |
Merge pull request #945 from YosysHQ/clifford/libwb
New behavior for read_verilog handling of whiteboxes
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -310,12 +310,20 @@ Verilog Attributes and non-standard features that have the same ports as the real thing but do not contain information on the internal configuration. This modules are only used by the synthesis passes to identify input and output ports of cells. The Verilog backend - also does not output blackbox modules on default. + also does not output blackbox modules on default. ``read_verilog``, unless + called with ``-noblackbox`` will automatically set the blackbox attribute + on any empty module it reads. + +- The ``noblackbox`` attribute set on an empty module prevents ``read_verilog`` + from automatically setting the blackbox attribute on the module. - The ``whitebox`` attribute on modules triggers the same behavior as ``blackbox``, but is for whitebox modules, i.e. library modules that contain a behavioral model of the cell type. +- The ``lib_whitebox`` attribute overwrites ``whitebox`` when ``read_verilog`` + is run in `-lib` mode. Otherwise it's automatically removed. + - The ``dynports`` attribute is used by the Verilog front-end to mark modules that have ports with a width that depends on a parameter. |