Commit Graph

11 Commits

Author SHA1 Message Date
mikeurbach 443b2f412c
[Python] Add and document setup.py script for Python bindings. (#1913)
This allows users to `pip install lib/Bindings/Python`. Similarly,
this supports `pip wheel lib/Bindings/Python`. The script generally
follows https://github.com/llvm/torch-mlir/pull/256, with some tweaks
that are specific to CIRCT's CMake choices (e.g. using an external
projects unified build).
2021-10-01 14:20:00 -06:00
Laura Gallo 5d22741472
Removed intermediate wire between instances and output operations (#1351)
* Implemented tiny optimisation where it removes intermediate wires between instances and outputs

* Removed unnecessary import for iostream

* Added some tests

* Added some more tests

* Fixed tests

* Implemented most of what Lattner suggested

* Fixed the bug with outputs being null

* Did nit picky stuff
2021-07-06 16:05:13 -04:00
John Demme 3d8c201c22 Enable test running by copying lit configs from build 2020-12-20 14:34:37 -08:00
Andrew Young 5ccc7ac937
Ignore all files beginning with build in the top level (#303)
- leading slash matches only in the top level directory
- asterisk allows matching build2, build-sharedlibs, or others

This is useful if you need more than one build directory for testing
with different cmake options.
2020-12-09 09:59:42 -05:00
John Demme 68114369f0
Improves build environment flexibility (#253)
* Adds script to ease local, clean environment testing

* Env change

Co-authored-by: Schuyler Eldridge <schuyler.eldridge@gmail.com>

* Not fully tested, but pushing for testing.

* Use build_llvm.sh script

* Removing the `cd` after MLIR build -- no longer necessary

* Adding ability to specify paths

* Adding cmake headers

Co-authored-by: Schuyler Eldridge <schuyler.eldridge@gmail.com>
2020-11-21 22:08:48 -08:00
John Demme 8b85ebd5db
[ESI] [Cosim DPI] Integration test framework (#228)
* [ESI] [Cosim DPI] Integration test framework

Number 5 of 7 planned PRs for #213. The focus of this PR is a lit format
for Cosim. Cosim integration tests require selecting a TCP port,
starting the simulator (which opens a server on that port), then running
the test(s). This lit format enables tests written in Python.

This PR might be difficult to understand without the actual test -- which
fails since the Cosim DPI plugin has not yet made it into
master. I can add the test after we've PR'd the rest of the cosim DPI
code.

* An unrelated change made it in.

* Consistent casing

* Check for pycapnp also
2020-11-11 17:59:19 -08:00
George Lyon 805e894a38
Add .DS_Store to gitignore (#195)
Co-authored-by: George <>
2020-11-02 12:08:11 -08:00
John Demme dc3b57de7e
Adding Verilator and a basic Verilator unit test (#179) 2020-10-30 13:12:15 -07:00
Stephen Neuendorffer 6f538803bf update .gitignore 2020-07-30 14:41:50 -07:00
Hanchen Ye f64e53f085
Ignore .vscode changes (#28)
* remove .vscode dir and ignore .vscode changes
2020-07-07 14:40:51 -07:00
Aliaksei Chapyzhenka 085652d154 initial .gitignore file 2020-06-21 23:29:30 -07:00