U4      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 An untyped term.  !"#$%&A typed expression. '()*+,-./0123456789:;<=An untyped array. >?@A typed array. ABUntyped variables. CDEF-Variables updated by state transition rules. GHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklThe type of a &. mnopqrstuvwxy True term. z False term. {Logical negation. | Logical AND. } Logical OR. ~"The conjunction of a E Bool list. "The disjunction of a E Bool list. 1True iff the predicate is true for all elements. 0True iff the predicate is true for any element. Equal.  Not equal.  Less than. Greater than. Less than or equal. Greater than or equal. $Returns the minimum of two numbers. *Returns the minimum of a list of numbers. $Returns the maximum of two numbers. *Returns the maximum of a list of numbers. Limits between min and max. JDivision. If both the dividend and divisor are constants, a compile-time M check is made for divide-by-zero. Otherwise, if the divisor ever evaluates  to 0E, a runtime exception will occur, even if the division occurs within  the scope of a cond or  that tests for 0 (because Atom generates , deterministic-time code, every branch of a cond or  is executed). JDivision, where the C code is instrumented with a runtime check to ensure  the divisor does not equal 0. If it is equal to 0, the 3rd argument is a  user-supplied non-zero divsor. HModulo. If both the dividend and modulus are constants, a compile-time M check is made for divide-by-zero. Otherwise, if the modulus ever evaluates  to 0E, a runtime exception will occur, even if the division occurs within  the scope of a cond or  that tests for 0 (because Atom generates , deterministic-time code, every branch of a cond or  is executed). IModulus, where the C code is instrumented with a runtime check to ensure  the modulus does not equal 0. If it is equal to 0, the 3rd argument is " a user-supplied non-zero divsor. Returns the value of a GF. <Conditional expression. Note, both branches are evaluated!  mux test onTrue onFalse Array index to variable. Array index to expression. +The list of UEs adjacent upstream of a UE. FThe list of all UVs that directly control the value of an expression. #All array indexing subexpressions. BConverts an typed expression (E a) to an untyped expression (UE). 56  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~&<;:9876543210/.-,+*)('FG%$#"! BEDC@A=?> T_^]\[ZYXWVUHSRQPONMLKJIlwvutsrqponm`kjihgfedcba xyz{|}~   %$#"!  !"#$%&<;:9876543210/.-,+*)(''()*+,-./0123456789:;<=?>>?@AABEDCCDEFGGH SRQPONMLKJIIJKLMNOPQRST _^]\[ZYXWVUUVWXYZ[\]^_` kjihgfedcbaabcdefghijkl wvutsrqponmmnopqrstuvwxyz{|}~=5The Atom monad holds variable and rule declarations. 7A hierarchical name. A name. 89@A Relation is used for relative performance constraints between Actions. < data Relation = Higher UID | Lower UID deriving (Show, Eq) TGiven a top level name and design, elaborates design and returns a design database. :;3Checks that a rule will not be trivially disabled. <yCheck that a variable is assigned more than once in a rule. Will eventually be replaced consistent assignment checking. $Generic local variable declaration. 'Generic external variable declaration. Generic array declaration. $Generic external array declaration. SAll the variables that directly and indirectly control the value of an expression. =(All primary expressions used in a rule. 6:6 >Topologically sorts a list of expressions and subexpressions. > Number of UE's computed in rule.  ?@ABCDEFG+ Assign an & to a GF. CThe Atom monad captures variable and transition rule declarations. ECreates a hierarchical node, where each node could be a atomic rule. YDefines the period of execution of sub rules as a factor of the base rate of the system. G Rule period is bound by the closest period assertion. For example: F period 10 $ period 2 a -- Rules in 'a' have a period of 2, not 10. 3Returns the execution period of the current scope. FDefines the earliest phase within the period at which the rule should  execute. The 1 must be at least zero and less than the current . (Returns the phase of the current scope. ,Returns the current atom hierarchical path. $Local boolean variable declaration. 'External boolean variable declaration. !Local int8 variable declaration. $External int8 variable declaration. "Local int16 variable declaration. %External int16 variable declaration. "Local int32 variable declaration. %External int32 variable declaration. "Local int64 variable declaration. %External int64 variable declaration. "Local word8 variable declaration. %External word8 variable declaration. #Local word16 variable declaration. &External word16 variable declaration. #Local word32 variable declaration. &External word32 variable declaration. #Local word64 variable declaration. &External word64 variable declaration. "Local float variable declaration. %External float variable declaration. #Local double variable declaration. &External double variable declaration. Declares an action. %Calls an external C function of type ' void f(void)'. Declares a probe. 5Fetches all declared probes to current design point. Increments a NumE GF. Decrements a NumE GF. 8Adds an enabling condition to an atom subtree of rules. = This condition must be true before any rules in hierarchy  are allowed to execute. ,Reference to the 64-bit free running clock. DRule coverage information. (current coverage index, coverage data) jAn assertions checks that an E Bool is true. Assertions are checked between the execution of every rule. _ Parent enabling conditions can disable assertions, but period and phase constraints do not. . Assertion names should be globally unique. RImplication assertions. Creates an implicit coverage point for the precondition. CA functional coverage point tracks if an event has occured (true). ? Coverage points are checked at the same time as assertions. - Coverage names should be globally unique.   !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~1+  A Timer. HCreates a new timer.  7Starts a Timer. A timer can be restarted at any time.  Conditionally start a Timer.  I when a timer has completed.  !One-shot on a rising transition.  "One-shot on a falling transition. KDebounces a boolean given an on and off time (ticks) and an initial state. L1-D lookup table. X values out of table range are clipped at end Y values. 6 Input table must be monotonically increasing in X. @Linear extrapolation and interpolation on a line with 2 points. C The two x points must be different to prevent a divide-by-zero. Hysteresis returns I when the input exceeds max and J when  the input is less than min/. The state is held when the input is between  min and max.  hysteresis name min max input                  !C code configuration parameters. EAlternative primary function name. Leave empty to use compile name. 2Name of state variable structure. Default: state kCustom C code to insert above and below, given assertion names, coverage names, and probe names and types. Enable rule coverage tracking. +Enable assertions and functional coverage. EName of assertion function. Type: void assert(int, bool, uint64_t); CName of coverage function. Type: void cover(int, bool, uint64_t); FDefault C code configuration parameters (default function name, no pre/post code, ANSI C types). KC99 type naming rules. LMNOPQ   #Compiles an atom description to C.   !"Data constructor:Test #$%&'()*+,-.Running TestList RS/$Printing strings in C using printf. 0Print integral values. 1Print floating point values. T !"#$%&'()*+,-./01"#$%&'()*+,- !./01 !!" #$%&'()*+,#$%&'()*+,-./01   !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      2Invoke the atom compiler. U3=An example design that computes the greatest common divisor. 232323V  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLKMMNOPNQQRSTUVWXYZ[\]^_`abcdefghiIjklmnopqrstuvwxyz{|}~      !" # $ % % & ' ( ) * + , - . / 0 1 2 3 4 56789:;<=>?@@ABCDEFG HIJHIKLMNOPQR S T U VW atom-1.0.0Language.Atom.LanguageLanguage.Atom.ExpressionsLanguage.Atom.ElaborationLanguage.Atom.AnalysisLanguage.Atom.SchedulingLanguage.Atom.CommonLanguage.Atom.CodeLanguage.Atom.CompileLanguage.Atom.UnitLanguage.Atom.Example Language.Atom mtl-1.1.1.0Control.Monad.TransliftIO FloatingEOrdEEqE IntegralENumEExpreTypeconstant expressionvariablerawBitsTypeOftypeOfWidthwidthUEUB2DUB2FUD2BUF2BUMuxULtUEqUShiftUBWOrUBWAndUBWNotUAndUNotUModUDivUMulUSubUAddUCastUConstUVRefERetypeB2DB2FD2BF2BMuxLtEqShiftBWOrBWAndBWNotAndNotModDivMulSubAddCastConstVRefUAUAExternAUVUVExternUVArrayVVariableVDoubleVFloatVWord64VWord32VWord16VWord8VInt64VInt32VInt16VInt8VBool ExpressionEDoubleEFloatEWord64EWord32EWord16EWord8EInt64EInt32EInt16EInt8EBoolCDoubleCFloatCWord64CWord32CWord16CWord8CInt64CInt32CInt16CInt8CBoolTypeDoubleFloatWord64Word32Word16Word8Int64Int32Int16Int8Boolbytestruefalsenot_&&.||.and_or_all_any_imply==./=.<.>.<=.>=.min_minimum_max_maximum_limitdiv_div0_mod_mod0_valuemux!!. ueUpstream nearestUVs arrayIndicesueuvuboolunotuanduoruequmuxAtomStateHierarchy StateArray StateVariableRuleCover ruleCoverAssert ruleAssertruleIdruleName ruleEnable ruleAssigns ruleActions rulePeriod rulePhaseAtomDBatomIdatomName atomNames atomEnableatomSubs atomPeriod atomPhase atomAssigns atomActions atomAsserts atomCoversGlobalgRuleIdgVarIdgArrayIdgStategProbesgPeriodgPhasePathNameUID buildAtomgetput elaboratevarvar'arrayarray'addNameallUVsallUEstoporuleComplexityScheduleschedulereportScheduleAssign<==atomperiod getPeriodphasegetPhasepathboolbool'int8int8'int16int16'int32int32'int64int64'word8word8'word16word16'word32word32'word64word64'floatfloat'doubledouble'actioncallprobeprobesincrdecrcondclock nextCoverageassert assertImplycoverTimertimer startTimer startTimerIf timerDone oneShotRise oneShotFalldebounce lookupTablelinear hysteresis RuleCoverageConfig cFuncName cStateNamecCode cRuleCoveragecAssert cAssertName cCoverNamedefaultscTypewriteCcompileRandomrandomTestnamecycles testbenchmodulesincludesdeclCodeinitCodeloopCodeendCode defaultTestrunTests printStrLnprintIntegralEprintFloatingEcompileExampleexamplesigned reduceAndultelaborateRules reIdRules trimState checkEnablecheckAssignConflicts fixedpointeUsage reportPeriod reportUsagetotalComplexityusageusage'split insertUsageghc-primGHC.BoolTrueFalse showConstcodeUEcodeIf declStatecodeRulecodeAssertionCheckscodePeriodPhase reportResultrunTestrandom32 prePostCode