Skip to content

Commit

Permalink
Add log; set default
Browse files Browse the repository at this point in the history
  • Loading branch information
gussmith23 committed Aug 12, 2024
1 parent f818b1e commit 1ccfb09
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/main.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
[(or "yosys-techmap") v]
[other (error (format "Unsupported output format ~a." other))]))))
(define instruction (make-parameter #f identity))
(define module-name (make-parameter #f identity))
(define module-name (make-parameter "top"))
(define json-filepath (make-parameter (make-temporary-file "rkttmp~a.json") identity))
(define output-port
(make-parameter (current-output-port) (lambda (v) (open-output-file v #:exists 'replace))))
Expand Down Expand Up @@ -512,6 +512,8 @@
#:lr-sequential envs
#:module-semantics module-semantics))))]))

(log-info "Synthesis complete.")

(cond
[(not lakeroad-expr)
(displayln "Synthesis failed" (current-error-port))
Expand Down

0 comments on commit 1ccfb09

Please sign in to comment.