|  | Commit message (Collapse) | Author | Age | Files | Lines | 
|---|
| ... |  | 
| | | 
| | 
| | 
| | | Signed-off-by: Clifford Wolf <clifford@clifford.at> | 
| | | 
| | 
| | 
| | | Signed-off-by: Clifford Wolf <clifford@clifford.at> | 
| |/  
|   
|   
| | (within always/initial blocks) | 
| |\  
| | 
| | 
| | | clifford/pr983 | 
| | | 
| | 
| | 
| | 
| | 
| | 
| | | (IEEE1800-2017 section 20.11)
This PR allows us to use $info/$warning/$error/$fatal **at elaboration time** within a generate block.
This is very useful to stop a synthesis of a parametrized block when an
illegal combination of parameters is chosen. | 
| | | 
| | 
| | 
| | | Signed-off-by: Clifford Wolf <clifford@clifford.at> | 
| |\ \  
| | | 
| | | 
| | | | into tux3-implicit_named_connection | 
| | | | 
| | | 
| | | 
| | | 
| | | | This is the `foo foo(.port1, .port2);` SystemVerilog syntax
introduced in IEEE1800-2005. | 
| | | | 
| | | 
| | | 
| | | | Signed-off-by: Maciej Kurc <mkurc@antmicro.com> | 
| |/ /  
| |   
| |   
| | | Signed-off-by: Maciej Kurc <mkurc@antmicro.com> | 
| | | |  | 
| | | |  | 
| |\ \  
| | | 
| | | | Support for attributes on parameters and localparams for Verilog frontend | 
| | | | 
| | | 
| | | 
| | | 
| | | 
| | | | Content of those attributes is ignored.
Signed-off-by: Maciej Kurc <mkurc@antmicro.com> | 
| |/ / |  | 
| |\ \  
| | | 
| | | | Add specify parser | 
| | |\ \ |  | 
| | | | | 
| | | | 
| | | | 
| | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at> | 
| | | | | 
| | | | 
| | | | 
| | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at> | 
| | | | | 
| | | | 
| | | | 
| | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at> | 
| | | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | | nomenclature
Signed-off-by: Clifford Wolf <clifford@clifford.at> | 
| | | |/  
| |/|   
| | |   
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at> | 
| | |/  
|/|   
| |   
| |   
| |   
| |   
| |   
| |   
| |   
| |   
| |   
| | | As of Bison 2.6, name-prefix is deprecated. This fixes
frontends/verilog/verilog_parser.y:99.1-34: warning: deprecated directive, use ‘%define api.prefix {frontend_verilog_yy}’ [-Wdeprecated]
 %name-prefix "frontend_verilog_yy"
For details: https://www.gnu.org/software/bison/manual/html_node/Multiple-Parsers.html
Compile tested only.
Signed-off-by: Ben Widawsky <ben@bwidawsk.net> | 
| |\ \  
| | | 
| | | | Add approximate support for SV "var" keyword | 
| | |/  
| |   
| |   
| | | Signed-off-by: Clifford Wolf <clifford@clifford.at> | 
| |/  
|   
|   
| | Signed-off-by: Clifford Wolf <clifford@clifford.at> | 
| | 
| 
| 
| | Signed-off-by: Clifford Wolf <clifford@clifford.at> | 
| | 
| 
| 
| | Signed-off-by: Clifford Wolf <clifford@clifford.at> | 
| | 
| 
| 
| | Signed-off-by: Clifford Wolf <clifford@clifford.at> | 
| | 
| 
| 
| | Signed-off-by: Clifford Wolf <clifford@clifford.at> | 
| | 
| 
| 
| | Signed-off-by: Clifford Wolf <clifford@clifford.at> | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | The initial list of hits was generated with the codespell command
below, and each hit was evaluated and fixed manually while taking
context into consideration.
    DIRS="kernel/ frontends/ backends/ passes/ techlibs/"
    DIRS="${DIRS} libs/ezsat/ libs/subcircuit"
    codespell $DIRS -S *.o -L upto,iff,thru,synopsys,uint
More hits were found by looking through comments and strings manually. | 
| | 
| 
| 
| 
| 
| | Fixes #737
Signed-off-by: Sylvain Munaut <tnt@246tNt.com> | 
| | 
| 
| 
| | Signed-off-by: Clifford Wolf <clifford@clifford.at> | 
| | 
| 
| 
| | Signed-off-by: Clifford Wolf <clifford@clifford.at> | 
| | 
| 
| 
| 
| 
| 
| | parser into unique,
meaningful info on the error.
Also add 13 compilation examples that triggers each of these messages. | 
| | |  | 
| | |  | 
| | 
| 
| 
| | This time doing the changes mostly in AST before RTLIL generation | 
| | 
| 
| 
| | Signed-off-by: Clifford Wolf <clifford@clifford.at> | 
| | 
| 
| 
| 
| 
| | in SV mode
Signed-off-by: Clifford Wolf <clifford@clifford.at> | 
| | 
| 
| 
| 
| | Some the of parser fixes may look strange but they were needed to avoid shift/reduce conflicts,
due to the explicit parentheses in path_delay_value, and the mintypmax values without parentheses | 
| | 
| 
| 
| 
| 
| 
| | https://github.com/verilog-to-routing/vtr-verilog-to-routing/blob/master/vtr_flow/primitives.v ,
(specify block ignored).
Must use 'read_verilog -defer' due to a parameter not assigned a default value. | 
| | 
| 
| 
| | Just remember specify blocks are parsed but ignored. | 
| |\  
| | 
| | | Add error checking for reg/wire/logic misuse - PR now passes 'make test' (plus a new test) | 
| | | 
| | 
| | 
| | | No longer false warnings for memories and assertions | 
| | | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | | It correctly detects reg/wire mix and incorrect use on blocking,nonblocking assignments within blocks and assign statements.
What it DOES'T do:
Detect registers connected to output ports of instances.
Where it FAILS:
memorty nonblocking assignments causes spurious (I assume??) errors on yosys-generated "_ADDR", "_DATA", "EN" signals.
You can test it with tests/simple/reg_wire_error.v (look inside for the comments to enable/disable specific lines) | 
| | | 
| | 
| | 
| | | first. | 
| | | 
| | 
| | 
| | | Signed-off-by: Clifford Wolf <clifford@clifford.at> | 
| | | 
| | 
| | 
| | | Signed-off-by: Clifford Wolf <clifford@clifford.at> |