diff options
| author | azidar | 2015-07-06 17:45:06 -0700 |
|---|---|---|
| committer | azidar | 2015-07-14 11:29:55 -0700 |
| commit | 68f7ac42d01c88bcc0c77c919587618673658c76 (patch) | |
| tree | 054c3a2fdb710b187664fb9e7212046f12ec2ef2 /test/passes/expand-whens/one-when.fir | |
| parent | 8d6c83072cd60ecc376d81eb9a48ccf0f67e57f6 (diff) | |
Still partial commit, many tests pass. Many tests fail.
Diffstat (limited to 'test/passes/expand-whens/one-when.fir')
| -rw-r--r-- | test/passes/expand-whens/one-when.fir | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/test/passes/expand-whens/one-when.fir b/test/passes/expand-whens/one-when.fir index 114e5b5b..4e6ea1e5 100644 --- a/test/passes/expand-whens/one-when.fir +++ b/test/passes/expand-whens/one-when.fir @@ -7,21 +7,22 @@ circuit top : wire i : UInt<1> wire p : UInt<1> wire j : UInt<1> + j := UInt(1) reg r : UInt<1> p := j when p : on-reset r := i - accessor a = m[i] + infer accessor a = m[i] i := a - accessor b = m[i] + infer accessor b = m[i] b := i else : - accessor c = m[i] + infer accessor c = m[i] i := c - accessor d = m[i] + infer accessor d = m[i] d := i - accessor e = m[i] + infer accessor e = m[i] when p : p := i when e : |
