Skip to content

Commit

Permalink
Add module header
Browse files Browse the repository at this point in the history
  • Loading branch information
chameco committed Jun 29, 2023
1 parent 5a1a954 commit c80c244
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/SAWScript/Yosys/CompositionalTranslation.hs
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
{- |
Module : SAWScript.Yosys.CompositionalTranslation
Description : Translating Yosys modules into SAWCore terms
License : BSD3
Maintainer : sbreese
Stability : experimental
This module implements a function 'translateModule' that, given a Yosys 'Module'
and a mapping from other module names to 'TranslatedModule's, produces a 'TranslatedModule'.
Lenses 'translatedModuleTerm', 'translatedModuleType', and 'translatedModuleCryptolType'
can be used to extract information from a 'TranslatedModule' (e.g. to build a 'TypedTerm').
The translation works for both combinational and sequential circuits.
-}

{-# OPTIONS_GHC -Wno-unused-top-binds #-}
{-# Language TemplateHaskell #-}
{-# Language ConstraintKinds #-}
Expand Down

0 comments on commit c80c244

Please sign in to comment.