Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

examples/Test.hs doesn't compile #19

Open
robstewart57 opened this issue May 5, 2017 · 0 comments
Open

examples/Test.hs doesn't compile #19

robstewart57 opened this issue May 5, 2017 · 0 comments

Comments

@robstewart57
Copy link
Contributor

This file doesn't compile for a few reasons. Here are 3 of those reasons:

  1. dut function

    dut :: (MonadFix m) => SuperFabric m ()

Expecting one more argument to ‘m’
    The first argument of ‘SuperFabric’ should have kind ‘*’,
      but ‘m’ has kind ‘* -> *’
    In the type signature for ‘dut’:
      dut :: (MonadFix m) => SuperFabric m ()
  1. runFabric functions

    runFabricWithDriver dut wrapper

Because runFabricWithDriver is commented out in Fabric.hs: https://github.com/ku-fpg/kansas-lava/blob/master/Language/KansasLava/Fabric.hs#L300

  1. Uses of the SuperFabric type

All the SuperFabric type signatures, e.g.

SuperFabric IO (Seq U4)
Expecting one more argument to ‘IO’
    The first argument of ‘SuperFabric’ should have kind ‘*’,
      but ‘IO’ has kind ‘* -> *’
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant