Skip to content

Commit

Permalink
Merge pull request #265 from ryukzak/fix-old-issues-links
Browse files Browse the repository at this point in the history
Fix issue links.
  • Loading branch information
ryukzak authored Jan 21, 2024
2 parents 0c782b7 + 1d1831a commit 3bcec05
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 23 deletions.
2 changes: 0 additions & 2 deletions app/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,6 @@ main = do
( \(SomeNat (_ :: Proxy m), SomeNat (_ :: Proxy b)) -> do
let frontendResult@FrontendResult{frDataFlow, frTrace, frPrettyLog} =
translate exactFrontendType src
-- FIXME: https://nitta.io/nitta-corp/nitta/-/issues/50
-- data for sin_ident
received = [("u#0", map (\i -> read $ show $ sin ((2 :: Double) * 3.14 * 50 * 0.001 * i)) [0 .. toEnum n])]
ioSync = fromJust $ io_sync <|> fromConf toml "ioSync" <|> Just Sync
confMa = toml >>= Just . mkMicroarchitecture ioSync
Expand Down
39 changes: 20 additions & 19 deletions test/NITTA/Model/Problems/Refactor/Accum/Tests.hs
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,9 @@ tests =
funcRes = acc [Push Plus (I "a"), Push Plus (I "b"), Push Minus (I "c"), Push Minus (I "d"), Pull (O $ S.fromList ["res"])]
in
[func1, func2, func3] `refactorTo` [funcRes]
-- issue: https://nitta.io/nitta-corp/nitta/-/issues/75
-- , testCase "Complex items sum refactor" $ let
-- TODO: https://github.com/ryukzak/nitta/issues/264
-- , testCase "Complex items sum refactor" $
-- let
-- -- Start algorithm:
-- -- tmp1, tmp2 = a + b
-- -- tmp3, tmp4 = c + d
Expand All @@ -131,21 +132,21 @@ tests =
-- func4 = acc [Push Plus (I "two"), Push Plus (I "tmp2"), Push Plus (I "tmp4"), Pull (O $ S.fromList ["res2"])]
-- func5 = acc [Push Plus (I "res1"), Push Plus (I "res2"), Pull (O $ S.fromList ["res"])]

-- funcRes = acc
-- [ Push Plus (I "one")
-- , Push Plus (I "a")
-- , Push Plus (I "b")
-- , Push Plus (I "c")
-- , Push Plus (I "d")
-- , Push Plus (I "two")
-- , Push Plus (I "a")
-- , Push Plus (I "b")
-- , Push Plus (I "c")
-- , Push Plus (I "d")
-- , Pull (O $ S.fromList ["res"])] :: F String Int
-- df = fsToDataFlowGraph ([func1, func2, func3, func4, func5] :: [F String Int])
-- dfRes = fsToDataFlowGraph ([funcRes] :: [F String Int])
-- option = head $ refactorOptions df
-- dfRefactored = refactorDecision df option
-- in dfRefactored @?= dfRes
-- funcRes =
-- acc
-- [ Push Plus (I "one")
-- , Push Plus (I "a")
-- , Push Plus (I "b")
-- , Push Plus (I "c")
-- , Push Plus (I "d")
-- , Push Plus (I "two")
-- , Push Plus (I "a")
-- , Push Plus (I "b")
-- , Push Plus (I "c")
-- , Push Plus (I "d")
-- , Pull (O $ S.fromList ["res"])
-- ] ::
-- F String Int
-- in
-- [func1, func2, func3, func4, func5] `refactorTo` [funcRes]
]
2 changes: 0 additions & 2 deletions test/NITTA/Model/ProcessorUnits/IO/SPI/Tests.hs
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ import Test.Tasty (TestTree, testGroup)
import Test.Tasty.HUnit (testCase)
import Test.Tasty.TH

-- TODO: https://github.com/ryukzak/nitta/issues/122

test_multiple_receives =
[ testCase "receive two variables" $
void $
Expand Down

0 comments on commit 3bcec05

Please sign in to comment.