Zachary Snow
5f0dc6be0c
preserve generate else branch association in codegen
2021-01-25 12:33:04 -05:00
Zachary Snow
e4adf6a74c
apply reordering in generate blocks
2021-01-25 12:01:03 -05:00
Zachary Snow
8c967ea9c7
cast function generated output stability
...
- cast functions in separate scopes are no longer omitted or removed
- package item reordering excludes locally declared names
- test runner ensures output is stable after first iteration
2021-01-24 14:29:54 -06:00
Zachary Snow
b28a3cac0d
represent typedefs as localparam types
2021-01-24 10:07:35 -07:00
Zachary Snow
378ede9e1a
standardize internal representation of unknown types
2021-01-24 09:55:03 -07:00
Zachary Snow
58e5bfa6d3
fix typeof incorrectly propagating implicit types
2021-01-23 21:55:11 -07:00
Zachary Snow
8eb3a251f7
package conversion overhaul
...
- full import and export support
- simplify AST representation of import and export
- allow package-scoped identifiers invoked as subroutines
- use scoped name resolution for identifiers in packages
- merge package item nesting conversion into package conversion
- fix handling of colliding enum items in separate modules
- fix visiting enum item exprs in types
2021-01-23 21:54:39 -07:00
Zachary Snow
40df902887
parser production rule for optional assignments
2021-01-21 12:05:44 -07:00
Zachary Snow
ccd09a1386
bump license year
2021-01-21 12:05:44 -07:00
Zachary Snow
ea56f51d03
support for parameters without defaults
2021-01-21 11:55:23 -07:00
Zachary Snow
e94c0346e8
add optional error message patterns to error test suite
2021-01-20 15:34:18 -07:00
Zachary Snow
5891a0eb7d
improve edge case messaging
...
- error for unbound module instance interface ports
- warning for converting an interface alone
- warning for converting a package alone
- update terminology for modules removed by interface conversion
2020-12-30 17:17:27 -07:00
Zachary Snow
54b07f7219
release v0.0.6
2020-12-19 12:53:38 -07:00
Zachary Snow
2a2d819baa
additional codegen test coverage
...
- assertions, gen case, and inout
- simplify block codegen
- remove blank lines in tasks with no inputs
2020-12-11 12:41:59 -07:00
Zachary Snow
2311d3e2d6
additional interface conversion test coverage
2020-12-11 12:41:20 -07:00
Zachary Snow
c5b066d5eb
code coverage target
2020-12-11 12:40:21 -07:00
Zachary Snow
b7b40af6b8
ensure collector results are evaluated
2020-12-10 18:30:23 -07:00
Zachary Snow
1f05aa45cb
add generated number tests
2020-12-10 14:52:46 -07:00
Zachary Snow
0c31936590
maintain explicit padding in unsized number literals
2020-12-10 14:52:43 -07:00
Zachary Snow
c39371c48a
simplify and optimize lexing
2020-12-10 13:33:06 -07:00
Zachary Snow
370e5e9e0c
package item nesting performance optimization
2020-12-08 13:16:10 -07:00
Zachary Snow
e72d372d73
omit reference file for verilog-compatible test inputs
2020-12-08 11:39:17 -07:00
Zachary Snow
2081f6a32a
support attributes on port declarations
2020-12-08 11:28:28 -07:00
Zachary Snow
d137fd3d68
fix premature elaboration of single element patterns
2020-12-07 16:23:29 -07:00
Zachary Snow
ad18c583ab
support default pattern unbased unsized port bindings
2020-12-07 16:23:26 -07:00
Zachary Snow
2b377cef04
interface and instance array support
...
- support for interface instance arrays
- support for interface-using module instance arrays
- support for modport array bindings
- fix modport bindings shadowed in nested instances
2020-12-06 15:41:33 -07:00
Zachary Snow
8eac9b0149
use reg for empty args placeholder
2020-12-05 17:37:18 -07:00
Zachary Snow
1fd72d878f
fix double backtick handling in backtick string
2020-12-04 13:22:38 -07:00
Zachary Snow
bf6ba338df
additional default_nettype test coverage
2020-12-04 11:38:17 -07:00
Zachary Snow
3ac1b4ea3c
additional error case coverage
2020-12-03 19:02:33 -07:00
Zachary Snow
16c63b8109
test coverage for wildcard inequality
2020-12-03 16:23:03 -07:00
Zachary Snow
5c0f414dfa
convert wildcard bindings before interfaces
2020-12-03 11:03:09 -07:00
Zachary Snow
091520e4cd
allow generate scoped basic subroutine invocations in statement blocks
2020-11-30 20:36:06 -07:00
Zachary Snow
454f8dcb24
faster package item nesting traversal
2020-11-28 15:22:58 -07:00
Zachary Snow
82290b16ee
simplify lexer character position lookup
2020-11-27 14:29:59 -07:00
Zachary Snow
2e499dbd03
support case inside with basic side effects
2020-11-27 14:09:16 -07:00
Zachary Snow
e471d37e5c
preprocessor batch consumption
2020-11-27 12:05:32 -07:00
Zachary Snow
a7874e1b2f
test suite iverilog 11.0 compatibility
2020-11-24 18:09:07 -07:00
Zachary Snow
260a6507eb
fix converted constant continuous assignment
2020-11-24 17:27:58 -07:00
Zachary Snow
e9f9696342
extend typeof operator support
2020-09-28 23:42:46 -04:00
Zachary Snow
5eaecc6635
fix redeclaration of implicitly typed ports
2020-09-28 19:59:43 -04:00
Zachary Snow
34171c351e
update notice
2020-09-26 18:06:33 -04:00
Zachary Snow
774409dd9f
upgrade to GHC 8.8.4
2020-09-26 17:46:25 -04:00
Zachary Snow
6d907e0985
typeof logical negation
2020-09-13 23:51:13 -04:00
Zachary Snow
7e2450ea5e
conversion to create declarations for implicit nets
2020-09-13 23:35:41 -04:00
Zachary Snow
eb908b8db7
fix ordering of and outputs
2020-09-13 23:24:21 -04:00
Zachary Snow
a170536382
unbased-unsized binding nested struct performance fix
2020-08-20 20:24:45 -04:00
Zachary Snow
7f0c33ab4e
constant fold adjacent adds through association
2020-08-16 14:28:13 -04:00
Zachary Snow
8a8b089a92
assume 0-based sized ranges are non-negative
2020-08-16 13:44:40 -04:00
Zachary Snow
2429a2c9f0
upgraded streaming concatenation conversion
...
- fix handling of truncation for unpacking
- fix handling of final limited-size chunk
- support unpacking in a declarations with assignments
- support streaming concatenations in continuous assignment
2020-08-16 13:12:11 -04:00