Skip to content

Commit d563b67

Browse files
committed
inline-verilog
1 parent 763fd98 commit d563b67

File tree

4 files changed

+755
-0
lines changed

4 files changed

+755
-0
lines changed

inline-verilog/Setup.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
import Distribution.Simple
2+
main = defaultMain
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
cabal-version: 2.2
2+
name: inline-verilog
3+
version: 0.1.0.0
4+
synopsis: Lets you embed Verilog code into Haskell.
5+
description: Utilities to inline Verilog code into Haskell using inline-c. See
6+
tests for example on how to build.
7+
license: MIT
8+
license-file: LICENSE
9+
author: Francesco Mazzoli
10+
maintainer: [email protected]
11+
copyright: (c) 2025 Francesco Mazzoli
12+
category: FFI
13+
tested-with: GHC == 9.2.8, GHC == 9.4.7, GHC == 9.6.2
14+
build-type: Simple
15+
16+
source-repository head
17+
type: git
18+
location: https://github.com/fpco/inline-c
19+
20+
library
21+
exposed-modules: Language.Verilog.Inline
22+
build-depends: base >=4.7 && <5
23+
, bytestring
24+
, inline-c >= 0.9.0.0
25+
, inline-c-cpp
26+
, template-haskell
27+
, text
28+
, process
29+
, temporary
30+
, raw-strings-qq
31+
, parsec
32+
, parsers
33+
, unordered-containers
34+
, aeson
35+
, bytestring
36+
hs-source-dirs: src
37+
default-language: Haskell2010
38+
ghc-options: -Wall
39+
40+
test-suite tests
41+
type: exitcode-stdio-1.0
42+
hs-source-dirs: test
43+
main-is: tests.hs
44+
build-depends: base >=4 && <5
45+
, bytestring
46+
, inline-c
47+
, inline-verilog
48+
, hspec
49+
, containers
50+
, template-haskell
51+
, vector
52+
, raw-strings-qq
53+
, QuickCheck
54+
default-language: Haskell2010

0 commit comments

Comments
 (0)