Commit Graph

3356 Commits

Author SHA1 Message Date
Chris Lattner 288b0c10c7 Introduce op definitions for module, circuit and a 'done' terminator. Add
testcases to show things it catches.
2020-03-07 19:27:37 -08:00
Chris Lattner 24c3b33447 Create the sketch of a FIRRTL dialect, with a single type (firrtl.uint) and a
single registered operations (firrtl.add).  Add a testcase showing that these
are now being properly checked.
2020-03-07 15:47:08 -08:00
Chris Lattner 71b7e2cb93 Add a sketch of a direct translation of a couple of examples of firrtl-in-mlir. 2020-03-06 17:27:04 -08:00
Chris Lattner 7783a53c8e Push the cmake files far enough along to make spt-opt be able to link in
MLIR libraries, parsing and printing the output, running passes, etc.
2020-03-06 16:42:00 -08:00
Chris Lattner 64cec97240 Introduce a CMakefile scaffolding to build and test an executable.
This also updates the README to include some building information.

Lots of caveats:
 - This is all experimental
 - The actual tool isn't interesting yet.
 - The naming is arbitrary and will likely change.
 - Much of the cmake files were cargo culted from other places
   because I don't know what I'm doing.
2020-03-05 15:16:55 -08:00
Chris Lattner 2d02904135
Initial commit 2020-03-04 20:57:43 -08:00