Commit Graph

30 Commits

Author SHA1 Message Date
Will Dietz 50cdf443ba
[cmake][CI] Use llvm_gtest target directly. (#5804)
Upstream now has option for installing these components for use in downstream standalone builds:
llvm/llvm-project@0807986 .

Look for (and prefer) this approach, and update our LLVM builds that we install to use this.
2023-08-08 11:44:21 -05:00
John Demme f299107c6e
[CI] Bump cmake version (new image) and switch to ninja (#4597) 2023-01-26 21:37:18 -08:00
Julian Oppermann 7e12c8f3f8
[Utils] Bump OR-Tools version.
Simple version bump to keep things up-to-date. The SCIP solver was recently re-licensed under Apache 2.0, however, the version OR-Tools pulls in is unfortunately still subject to the old license, so no changes there.

I tested locally that no further changes are required to CIRCT. A pull request to update the integration test image to the same version has been created.
2023-01-12 11:43:07 +13:00
Will Dietz 81120cd7de
utils/*.sh: Prefer /usr/bin/env bash for portability. (#3697)
Fixes use on NixOS.
2022-08-10 13:09:55 -05:00
Morten Borup Petersen 7a34f8f09a Add iverilog install script 2022-07-19 09:24:38 +02:00
Andrew Young 4400b1a601 Update release script to use clang for CIRCT [NFC] 2022-06-29 11:10:36 -07:00
Nandor Licker 6883750093
[CI] Build and cache seprate Clang and GCC builds of LLVM (#3242)
Code compiled with Clang cannot be linked with GCC due to incompatibilities related to lambda closure capture lists.

This patch builds and caches LLVM with Clang to be used with the Clang Release build and with GCC to be used with the GCC Debug build of CIRCT.

The ABI issue and a potential fix is being tracked here:
https://github.com/itanium-cxx-abi/cxx-abi/issues/141
2022-06-02 09:07:18 +03:00
Julian Oppermann a59b494d42
[Docs] [CMake] Add install script for OR-Tools; mention it in Getting Started guide (#2868) 2022-04-12 20:31:37 +02:00
Andrew Lenharth 73da15c9a9 [NFC] document release build steps 2022-04-07 14:41:12 -05:00
John Demme 1441baba58 [ESI] [CAPNP] Use release version rather than git
New release includes change upon which ESI cosim relied.
2022-03-19 16:34:28 -07:00
John Demme eca6a8bd08
[Windows] Switch build from msbuild to Ninja (#2655)
MLIR/LLVM runs Windows builds with Ninja, so we should too. (Plus, it's waaayyyy faster on bigger boxes.)

Fixes #2647.
2022-02-18 21:08:11 -08:00
Morten Borup Petersen 56bc7b5470
Update dialect overview diagram (#2072)
Seeing as quite a few new dialects and conversions have entered CIRCT since this diagram was made, I think it's due for an update! Let me know what you think, and if you have anything you'd like to have added/removed.
2021-12-10 22:26:00 +01:00
Andrew Lenharth 2e11065461
[VerilogQuality] Remove muxes feeding registers their old value (#965)
When a mux feeds an assign to a register and one branch of the mux is the register's old value, we can turn that into a conditional assign. This results in much cleaner verilog output.
2021-04-27 10:43:52 -05:00
John Demme 26c2da4006 [Verilator] [ESI] Updating install scripts, docs 2021-03-31 18:53:30 -07:00
mikeurbach 9b2331e10f
Add Python bindings for the RTL dialect. (#767) 2021-03-23 20:13:49 -06:00
John Demme 745d65e6cc [ESI] Add missing requirement pycapnp to docs and script
PyCapnp is required for the integration tests but wasn't mentioned or
installed.
2021-03-09 19:56:59 -08:00
John Demme 13af09d1b4 [Integration tests] Verilator 1.102 memory bug caused random DPI fails
A Verilator bug was causing sporadic ESI cosim failures. Upgrading Verilator
fixes it.
2021-03-06 23:10:30 -08:00
Andrew Young e1a5000d1a [CI] Add BUILD_SHARED_LIBS to the pull request builds
BUILD_SHARED_LIBS builds all libraries as shared libraries.
Historically, this has mostly been used as a developer productivity
flag, as it greatly speeds up linking. The real value in testing with
this flag enabled is that it reveals mistakes in CMake library
dependencies, such as missing dependencies and circular dependencies.
Additionally, there has been recent effort to increase the level of
support for shared libraries to enable MLIR C/Python bindings, and
supporting this flag down the line is probably a must.
2021-02-24 02:36:30 -08:00
John Demme 27825a5b11 [Scripts] [build-llvm.sh] Optionally specific the build type 2021-01-26 22:44:21 -08:00
Andrew Lenharth 66aa20d291 Add SAT solver yosys fallback for failed simple solver attempts 2021-01-20 15:58:26 -06:00
John Demme b717f84975 [Integration tests] v3 Docker image includes yosys 2021-01-12 20:51:13 -08:00
Shivam Gupta 4e48b74663
[NFC] Rearrange images in separate folder from docs/ (#386)
* rearrange images in separate folder

* remove images from docs/
2021-01-02 00:48:51 +05:30
Shivam Gupta 9f34d3742b
Add missing LLVM license info to file headers (#352)
* add LLVM license info to files header

* Add LLVM license info to files header

* Add LLVM license info to files header

* Add LLVM license info to file headers

* Revert "Add LLVM license info to files header"

This reverts commit 22869676ad.

* Add LLVM license info to file headers

* run git-clang-format

* add missing file descriptions

* run git clang-format

* Add LLVM license info to file headers

* Add LLVM license info to files header
2020-12-24 23:11:01 +05:30
Andrew Lenharth 3eef7df131
[FIRRTL] yosys equiv checking infrastructure and FIRRTL primatives testcase (#291)
Yosys formal equivalence checking infrastructure.
2020-12-02 14:18:23 -06: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 ac8ea5d10c
[LLVM] Creates llvm build script to avoid replication (#267)
Closes #265.
2020-11-20 13:10:49 -08:00
John Demme 37f809c5e9
[ESI] [Cosim DPI] Cap'nProto install and schema generation (#216)
* [ESI] [Cosim DPI] Capn'Proto install and schema generation

This is the second in a series to merge #213. This is the capnp schema
generation component.

* Added header comment.
2020-11-09 11:15:02 -08:00
John Demme 0363e23c95
[EmitVerilog] Lint and simulation integration tests (#198)
* First integration test: lint w/ Verilator

* Running a test simulation.

* Update README

* Editing the README based on feedback.
2020-11-03 16:46:17 -08:00
John Demme dc3b57de7e
Adding Verilator and a basic Verilator unit test (#179) 2020-10-30 13:12:15 -07:00
Fabian Schuiki c4c132ecf4
[README] Add dialect diagram to the docs (#172)
* Add dialects diagram source and renders
* Add script to regenerate the renders
* Add inline dialects overview in the README
2020-10-22 09:42:54 +02:00