mirror of
https://github.com/YosysHQ/yosys
synced 2025-11-01 20:17:55 +00:00
- User-defined types must be data types. Using a net type (e.g. wire) is
a syntax error.
- User-defined types without a net type are always variables (i.e.
logic).
- Nets and variables can now be explicitly declared using user-defined
types:
typedef logic [1:0] W;
wire W w;
typedef logic [1:0] V;
var V v;
Fixes #2846
|
||
|---|---|---|
| .. | ||
| .gitignore | ||
| const2ast.cc | ||
| Makefile.inc | ||
| preproc.cc | ||
| preproc.h | ||
| verilog_frontend.cc | ||
| verilog_frontend.h | ||
| verilog_lexer.l | ||
| verilog_parser.y | ||