blob: 4edfdc0b31080300d18e272716ab28fad4182453 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
{-|
Module : Reduce
Description : Test reduction.
Copyright : (c) 2019, Yann Herklotz Grave
License : GPL-3
Maintainer : ymherklotz [at] gmail [dot] com
Stability : experimental
Portability : POSIX
Test reduction.
-}
{-# LANGUAGE QuasiQuotes #-}
module Reduce
(reducerTests)
where
--import Data.Either (fromRight)
--import Data.Text (unpack)
import Test.Tasty
---import Text.Shakespeare.Text (st)
--import VeriFuzz
reducerTests :: TestTree
reducerTests = testGroup "Reducer tests"
[ moduleReducer ]
moduleReducer :: TestTree
moduleReducer = testGroup "Module reducer"
[ ]
--reduceOneModule :: TestTree
--reduceOneModule = undefined
--
---- brittany-disable-next-binding
--moduleIn :: SourceInfo
--moduleIn = SourceInfo "top" . fromRight (Verilog []) . parseVerilog "" $ unpack [st|
--module m(x, y);
--input x;
--output y;
--endmodule
--
--module top(x, y);
--input x;
--output y;
--m m1(x, y)
--endmodule
-- |]
--
|