diff options
author | Clifford Wolf <clifford@clifford.at> | 2014-06-12 11:54:20 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2014-06-12 11:54:20 +0200 |
commit | 482d9208aa9dacb7afe21f08c882d4881581013a (patch) | |
tree | a5a4d409f7d84cc2dc6283dcf45df3aea02cb061 /README | |
parent | 9a6cd64fc2ca46c9aed1bd03b6898c7734420c53 (diff) | |
download | yosys-482d9208aa9dacb7afe21f08c882d4881581013a.tar.gz yosys-482d9208aa9dacb7afe21f08c882d4881581013a.tar.bz2 yosys-482d9208aa9dacb7afe21f08c882d4881581013a.zip |
Added read_verilog -sv options, added support for bit, logic,
allways_ff, always_comb, and always_latch
Diffstat (limited to 'README')
-rw-r--r-- | README | 16 |
1 files changed, 13 insertions, 3 deletions
@@ -263,14 +263,24 @@ Verilog Attributes and non-standard features for everything that comes after the {* ... *} statement. (Reset by adding an empty {* *} statement.) +- Sized constants (the syntax <size>'s?[bodh]<value>) support constant + expressions as <size>. If the expresion is not a simple identifier, it + must be put in parentheses. Examples: WIDTH'd42, (4+2)'b101010 + + +Supported features from SystemVerilog +===================================== + +When read_verilog is called with -sv, it accepts some language features +from SystemVerilog: + - The "assert" statement from SystemVerilog is supported in its most basic form. In module context: "assert property (<expression>);" and within an always block: "assert(<expression>);". It is transformed to a $assert cell that is supported by the "sat" and "write_btor" commands. -- Sized constants (the syntax <size>'s?[bodh]<value>) support constant - expressions as <size>. If the expresion is not a simple identifier, it - must be put in parentheses. Examples: WIDTH'd42, (4+2)'b101010 +- The keywords "always_comb", "always_ff" and "always_latch", "logic" and + "bit" are supported. Roadmap / Large-scale TODOs |