Skip to content

Commit

Permalink
Return state hash with correct key names (#273)
Browse files Browse the repository at this point in the history
  • Loading branch information
gussmith23 authored Jul 13, 2023
1 parent 427f91d commit 30e8aa6
Show file tree
Hide file tree
Showing 4 changed files with 62,706 additions and 16,205 deletions.
3 changes: 2 additions & 1 deletion racket/btor.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,8 @@
;;; We build a hash map that maps state symbols (e.g. 'state0) to the expressions that convey
;;; the output value for the state.
(set! output-state-hash
`(append (list (cons ',(hash-ref state-symbols (string->number state-id-str))
`(append (list (cons ,(make-state-key-expr
(hash-ref state-symbols (string->number state-id-str)))
(signal-value ,(get-expr-id-str next-val-id-str))))
,output-state-hash))]
;;; Do nothing. Should be handled by the above code which does a first pass for init values.
Expand Down
Loading

0 comments on commit 30e8aa6

Please sign in to comment.