You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 20, 2024. It is now read-only.
when I try to parser the following low Firrtl code through treadle, 2 syntax error(s) detected.
the low Firrtl code:
circuit Accumulator : @[:@2.0]
module Accumulator : @[:@3.2]
input clock : Clock @[:@4.4]
input reset1 : UInt < 1 > @[:@5.4]
input io_in : UInt < 1 > @[:@6.4]
output io_out : UInt < 8 > @[:@6.4]
when I try to parse it with treadle using: TreadleTestHarness(Seq(FirrtlSourceAnnotation(accuFirrtl)))
the error is:
line 11:21 mismatched input '(' expecting {'circuit', 'module', 'extmodule', 'input', 'output', 'UInt', 'SInt', 'Fixed', 'Interval', '.', 'Clock', 'AsyncReset', 'Reset', 'Analog', '[', 'flip', 'parameter', 'reset', 'wire', 'reg', 'with', 'mem', 'cmem', 'smem', 'mport', 'inst', 'of', 'node', 'is', 'invalid', 'stop(', 'printf(', 'skip', 'attach', 'assert', 'assume', 'cover', 'depth', 'reader', 'writer', 'readwriter', 'when', 'else', 'infer', 'read', 'write', 'rdwr', 'old', 'new', 'undefined', 'stop', 'printf', 'mux', 'validif', FileInfo, Id, NEWLINE, DEDENT}
line 15:4 extraneous input '' expecting
Exception in thread "main" firrtl.SyntaxErrorsException: 2 syntax error(s) detected
1 targets failed
playground.run subprocess failed
The text was updated successfully, but these errors were encountered: