- 15 Jul, 2021 1 commit
-
-
- substitute enum item values directly into usage sites rather than creating synthetic localparams - substitution handles shadowing of expressions in enum item values - disconnected scopes can reference conflicting enum items
Zachary Snow committed
-
- 14 Jul, 2021 3 commits
-
-
- convert loops with no or many incrementations - restrict AST node to only contain traditional initializations - parser elaborates for loop decls into a synthetic block - decl list codegen is now specific to parameter decl lists - update jump conversion special cases for new representation - first experiments with bimapM
Zachary Snow committed -
- don't evaluate AST after procedural assignment collection - don't use State monad during rewrite - use Writer rather than State for procedural assignment collection - use Scoper access generation shortcut utility - cleanup as-patterns and legacy logic
Zachary Snow committed -
- don't evaluate AST after depth collection - don't use State monad during rewrite - add Scoper utility for generating accesses without inserting element - cleanup as-patterns and unnecessary verbosity
Zachary Snow committed
-
- 12 Jul, 2021 3 commits
-
-
Zachary Snow committed
-
Disabling the package item injection routine used in the enum conversion when there were no items to inject exposed cases where conversions would generate duplicate declarations. The hierarchical constant and param type conversions were trivially affected. The package conversion could inject class items within a generate region and then re-inject them outside of that generate region. The package conversions now uses an upgraded generate region flattening utility to ensure injected class items are seen. This also includes coverage for a conflict which occurred even without the enum conversion change.
Zachary Snow committed -
- remove needless comments generated during interface conversion - filter null statements even in verbose mode - hoist trace comment statements if doing so would prevent the need to wrap a task or function body in a block - add traces for global declarations - add traces for parameter declaration lists - add traces for module items within generate blocks - avoid generating duplicate traces before declarations
Zachary Snow committed
-
- 11 Jul, 2021 2 commits
-
-
- fix int type conversion not visiting function return type expressions - add node-based traversal for decls visiting top level types and exprs - explicit expr and type recursion in package ident resolution - expose mapBothM traversal helper - avoid double-visiting of decl types in certain conversions
Zachary Snow committed -
Zachary Snow committed
-
- 10 Jul, 2021 5 commits
-
-
Zachary Snow committed
-
- avoid packing memories used with read mem tasks - fix detection of $readmem[hb] in logic conversion
Zachary Snow committed -
Zachary Snow committed
-
Zachary Snow committed
-
- standardize number casting - fix extension of casts of unsized literals to 32 bits
Zachary Snow committed
-
- 09 Jul, 2021 5 commits
-
-
- general refactoring in decl parsing - restrict charge strength to trireg - require const vars to be initialized - forbid const net declarations - disallow run-on declarations in packages and classes
Zachary Snow committed -
Zachary Snow committed
-
Zachary Snow committed
-
Zachary Snow committed
-
Zachary Snow committed
-
- 08 Jul, 2021 7 commits
-
-
Zachary Snow committed
-
Zachary Snow committed
-
Zachary Snow committed
-
Zachary Snow committed
-
In places where an optional space was previously allowed, allow any number of arbitrary whitespace characters, in line with the spec and other tools.
Zachary Snow committed -
Zachary Snow committed
-
Data.Hashable can produce hashes differing little in their upper bits if only the last character of the string is changed. Because we were using the upper bits of the hash in shortHash, this could lead to avoidable hash collisions. This change includes minor simplification optimizations which surfaced this collision in the existing struct_ident_scope test.
Zachary Snow committed
-
- 07 Jul, 2021 1 commit
-
-
Zachary Snow committed
-
- 06 Jul, 2021 2 commits
-
-
With permission from Tom Hawkins, I have updated sv2v's existing BSD 3-Clause license to match the exact text of the standard BSD 3-Clause license. The wording changes, listed below in full, are entirely innocuous. The copyright attribution is now simpler. The license heading and link have been removed from the readme. These changes enable the license to be appropriately detected by GitHub's license detection tool, hopefully eliminating any potential confusion about the license in use. - "author" ==> "copyright holder" - "his" ==> "its" - "AUTHORS" ==> "COPYRIGHT HOLDERS AND CONTRIBUTORS" - "AUTHORS" ==> "COPYRIGHT HOLDER"
Zachary Snow committed -
- remove outdated flexible partial type eq and show instances - properly disallow incomplete declarations - disallow var after net type - remove unused edge case in InterfaceT representation
Zachary Snow committed
-
- 05 Jul, 2021 2 commits
-
-
Zachary Snow committed
-
- support for additional assignment statements in loop initializations - greatly improved error messaging in these contexts - decl parser takes in the ending token; significant related refactoring - pass through elaboration system tasks - removed non-blocking assignment operator precedence hack - preliminary nosim test suite for features unsupported by iverilog
Zachary Snow committed
-
- 03 Jul, 2021 1 commit
-
-
- all decl tokens are given an accurate starting position - key grammar productions return token positions to facilitate the above - helpers for standardized parse error generation - replaced annoying pattern-matching type argument restrictions - moving away from dumping raw decl tokens in error messages
Zachary Snow committed
-
- 02 Jul, 2021 2 commits
-
-
- new net decl to replace net pseudo-type - support nets with complex base types, including typenames - support var declaration type prefix for all data types - support var as lone type shorthand - refactor AST representation of strengths - traversal helpers for treating nets as variables - use decl traversals where appropriate
Zachary Snow committed -
Zachary Snow committed
-
- 30 Jun, 2021 2 commits
-
-
Zachary Snow committed
-
Zachary Snow committed
-
- 28 Jun, 2021 1 commit
-
-
Zachary Snow committed
-
- 25 Jun, 2021 3 commits
-
-
- automatic pass-through test suite coverage - fix codegen for interface based typedefs - allow declaration of generic interface ports in module body - fix codegen for comments within for loop initialization - fix codegen of class param decls
Zachary Snow committed -
Zachary Snow committed
-
Zachary Snow committed
-