clash-lang / clash-prelude

CLaSH prelude library containing datatypes and functions for circuit design
http://www.clash-lang.org/
Other
31 stars 27 forks source link

Implemented InOut ports #131

Closed martijnbastiaan closed 6 years ago

martijnbastiaan commented 7 years ago

This patch adds support for inout ports according to this plan and this comment. This has been tested by implementing a simple program for a DRAM controller (PR coming soon-ish).

Should be merged in tandem with: https://github.com/clash-lang/clash-compiler/pull/262

martijnbastiaan commented 7 years ago

I have added the requested changes. Do you think it is feasible to write a test case for inout ports?

martijnbastiaan commented 6 years ago

I am closing this pull request, as we will be implementing this "properly" using a different approach.