Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/llvm/circt

Circuit IR Compilers and Tools
https://github.com/llvm/circt

[FIRRTL] Delete unused ProbeOp

7375f30acab32fa133a4d1f7f4d8958484c5ab27 authored about 1 year ago by Andrew Young <[email protected]>
[FIRRTL] Add ObjectOp (#5759)

ObjectOp is a declaration of an object in firrtl, which in turn is an instance
of a class. Obje...

f6f332438e6d36901ec4bafd4da5ecae54663b08 authored about 1 year ago by Robert Young <[email protected]>
[ESI] ESITranslations: rework diag interception, fix memory error. (#5755)

Don't leave handler attached, and ensure lifetime of the lambda
capture re:errorCount variable ...

79a9ad2512701f18fee0adf7f572b17c7fc709ab authored about 1 year ago by Will Dietz <[email protected]>
[FIRRTL] Add ClassType (#5753)

169680118c80728be92bcdfb6862412e1ff4aa19 authored about 1 year ago by Robert Young <[email protected]>
[firtool] Load Verif/LTL dialects, lower Verif to SV; NFC

Accept operations from the Verif and LTL dialects in firtool, and call
the Verif-to-SV lowering ...

6c5ba92c749e4332973df8fe50d32b5126e3ecef authored about 1 year ago by Fabian Schuiki <[email protected]>
[Support] Factor out `isConstant*` fold helpers; NFC

Factor out `getConstantInt`, `isConstantZero`, and `isConstantOne` from
the Seq dialect folders ...

704c592829688f2be52df08db14646c73db3f49b authored about 1 year ago by Fabian Schuiki <[email protected]>
[Support] Add KeywordBool custom parser/printer directive

Add the `custom<KeywordBool>` parser/printer directive that allows for
booleans to be parsed and...

2009954bce126576e6794b0ebbeaa2105b1a152d authored about 1 year ago by Fabian Schuiki <[email protected]>
[OM] Implement OM linker pass (#5743)

This implements LinkModulesPass that is a core logic of `om-linker`.
The input IR consists of m...

380ed1d945feae48e52b758cbb43dbf4a06b736f authored about 1 year ago by Hideto Ueno <[email protected]>
[FIRRTL][EmitOMIR] Don't insert above pass level. (#5751)

Since EmitOMIR is a firrtl::CircuitOp pass, don't attempt to access or modify
or insert into th...

6815a76aa9779f3641e6a51ff7a9621b5259d020 authored about 1 year ago by Will Dietz <[email protected]>
[PyCDE] Post innersym change fixes (#5750)

Fix PyCDE after #5703.

94613f51a2e0a72515ed3f6dea434cdb3a8c8aa5 authored about 1 year ago by John Demme <[email protected]>
Use InnerSymAttr and InnerSymOpInterface (#5703)

This change moves from using plain StringAttrs and SymbolOpInterface to
InnerSymAttr and InnerS...

d6e6223a991b55091569766dc02237ba217e1108 authored about 1 year ago by Andrew Young <[email protected]>
ExportVerilog emits ports preserving their order. (#5738)

Using the HWTestModuleOP for testing, ExportVerilog is updated to use the port order in the modu...

542c3fd167fa3352662adff5e6df66b936431d8d authored about 1 year ago by Andrew Lenharth <[email protected]>
Abstract out PortList from HWModuleLike (#5749)

Separate PortList from HWModuleLike and force users to actually define the interface if they dec...

b8cb1a7a7e2dbd6d94c892c9df125ec9946cbdb2 authored about 1 year ago by Andrew Lenharth <[email protected]>
[LowerToHW] Wires used for output ports should get their symbols. (#5726)

Fixes #5011.

9322cb603696cadfb0a41c667ce1cddf7b0bf686 authored about 1 year ago by Will Dietz <[email protected]>
New Module Parse Style (#5748)

This implements a parser for a new module style. This module style uses ModuleType to store it'...

6448b2ab36f22c346110f335a51070d3d258c7a1 authored about 1 year ago by Andrew Lenharth <[email protected]>
[FirParser][Typealias] Reject keyword as type alias name (#5737)

Keywords cannot be used for type alias name. Reject them during parsing.
In practice, only buil...

02db4d32760f93c5b5730e2a8ec99e5a226249dd authored about 1 year ago by Prithayan Barua <[email protected]>
[CombFolds] Optimize OrOp whose operands are mux of the same value and a zero. (#5730)

This implements a canonicalizer `or(mux(c_1, a, 0), mux(c_2, a, 0), ..., mux(c_n, a, 0)) -> mux(...

dc0b808ab7f8ceac862dad29da80738ef47f6bbb authored about 1 year ago by Hideto Ueno <[email protected]>
[NFC] factor out port printing (#5745)

Module Printing is getting long. Factor out specific parts of it in anticipation of implementa...

4f7e8166fc44bbe50346bccaf92a11599f9d3a63 authored about 1 year ago by Andrew Lenharth <[email protected]>
[NFC] Strength reduce current module for HWTestModuleOp printing

59b4a271bf1fdd2ee3a5ae9dd704a8bc4e3364d2 authored about 1 year ago by Andrew Lenharth <[email protected]>
[NFC] Factor out parameter printing

ExportVerilog has some long functions. Factor out parameter printing. This will make transitio...

cbe617805ec64ac073c7a4f87a044680ec15ed04 authored about 1 year ago by Andrew Lenharth <[email protected]>
[NFC] factor long function

5612caa0ff2c5b9d75a22d5f4608d588edb153ce authored about 1 year ago by Andrew Lenharth <[email protected]>
Add codeowners for Calyx (#5631)

* Add codeowners for Calyx

* Add mike to HW and Loopschedule

* move mort

cab1421a192d9398bf735bf37fd1db006554fb63 authored about 1 year ago by Rachit Nigam <[email protected]>
[Calyx][ESI[FIRRTL][SV] Use getAnalysis for SymbolTable and others. (#5733)

Let AnalysisManager provide cached copy if available,
and be open to it being preserved across ...

1cf91fc2ef6cdf52074f0c972bc0c21e6f5acbc4 authored about 1 year ago by Will Dietz <[email protected]>
[HW][InnerSym] Use uint64_t for method names involving FieldID. (#5739)

Until standardize on a dedicated type, fix this.

20283967c10c8e91d57a4a58f3325090fb83063c authored about 1 year ago by Will Dietz <[email protected]>
[HW] HWModuleBase::getPortSym: fix crash on empty dictionary.

(cherry picked from commit f93871fbbff2b4c4ac871e417354eeb09bd64ed6)

6d91a0629e69b1260964d63dcbf02a37fa600e22 authored about 1 year ago by Andrew Young <[email protected]>
[FIREmitter] Support String constants

b4f06913e5c2fee358a68e9241a93d8070a4e734 authored about 1 year ago by Andrew Young <[email protected]>
[FIREmitter] Support String types

b7119e8ed3ac10d5f6626ab87fa818ae4eb067a5 authored about 1 year ago by Andrew Young <[email protected]>
[FIREmitter] Support Integer constants

84210ee2f6b8d54e86be81bb41a2a1a5254d2291 authored about 1 year ago by Andrew Young <[email protected]>
[FIREmitter] Support propassign

34118898b70a2725e7d2d4c4b5fdaac17df3a333 authored about 1 year ago by Andrew Young <[email protected]>
[FIREmitter] Support Integer property types

42a12f461e935d66367c971837fd13c572360d71 authored about 1 year ago by Andrew Young <[email protected]>
[FIRRTL] Gate Path (Property) on 3.1.0+ like the others.

d20550f2ec08a66e0c6f6558a2c8cb9437bbf7fb authored about 1 year ago by Will Dietz <[email protected]>
[LowerXMR] iterate to handle ref.sub . (#5732)

Continue to handle everything else in a single walk.

Walking the ref dataflow directly would ...

8c83a96372b3a1bb206e753b65999661a766f694 authored about 1 year ago by Will Dietz <[email protected]>
[FIRRTL][FIRParser] Gate properties on 3.1.0+. (#5736)

1b46a2819ef14ffac78385d395f6421fb69f1554 authored about 1 year ago by Will Dietz <[email protected]>
[FIREmitter] Support path types

2104dd7b527090eabf801229d6145d0e1dec6430 authored about 1 year ago by Andrew Young <[email protected]>
[FIRRTL] Support all property types in getRecursiveTypeProperties

cd3f999761d78adf9216dec2a0aa768a0ec99113 authored about 1 year ago by Andrew Young <[email protected]>
[FIRParser] Support path types

cbfd2a7be4e6d8720109322dcb7b80c6a5b6e557 authored about 1 year ago by Andrew Young <[email protected]>
[FIRRTL] Add path type

d13babd6457b01029e8edda89e8a98c50f086c3d authored about 1 year ago by Andrew Young <[email protected]>
[FIRRTL][FIRParser] BigInt -> Integer . (#5734)

Leave internal (C++) name alone for now,
may want to call it something other than IntegerType
...

68f3e7f1da4832810cf574fd0e8ad31cceec1cb6 authored about 1 year ago by Will Dietz <[email protected]>
[HW][HWModules] Add ability to set/erase port symbols. (#5724)

This should be added to an interface shared elsewhere,
(and with different signature suitable t...

2281bd12c361ccfc53ac82510fd1e9a159ee6687 authored about 1 year ago by Will Dietz <[email protected]>
Touchup test to not hardcode path to a `true` utility.

Fixes test on NixOS.

aecdf6d3a182e04f224c4a1f51f401695b91603f authored about 1 year ago by Will Dietz <[email protected]>
[HW] Allow default builders for hw.wire. (#5728)

This allows the generated Python bindings to generate a useful
constructor, which is impossible...

87a940b3321cf6edbc97c3ed0b6ccf56ea92ff6d authored about 1 year ago by Mike Urbach <[email protected]>
[circt-reduce] Add FIRRTL name sanitization

Add two new pseudo-reduction patterns:

- module-name-sanitizer
- module-internal-name-sanit...

1a45ea59c07cd042f00fdb4296d139d63a7c6145 authored about 1 year ago by Schuyler Eldridge <[email protected]>
[circt-reduce] Put SymbolCache in "detail", NFC

Move the SymbolCache struct used by the FIRRTL circt-reduce library into
its own "detail" namesp...

e2050e853004733760e538543c65ac2433060390 authored about 1 year ago by Schuyler Eldridge <[email protected]>
[circt-reduce] OperandForwarder One Operand (#5714)

Allow the FIRRTLOperandForwarder to work on operations with one operand.
This enables some clea...

3d0267c580f0660fb742fe6afe878d0177731945 authored about 1 year ago by Schuyler Eldridge <[email protected]>
[HW] Avoid Twine by-value, use const &

Fix by-value Twine usage introduced in 9d9697344. Switch to constant
reference Twine (which is ...

f0e9e99cef738fca40c5ad51460c38f668ee33a6 authored about 1 year ago by Schuyler Eldridge <[email protected]>
[IMCP] Mark PlusArgs intrinsics as overdefined (#5725)

Fixes #5722

Co-authored-by: Schuyler Eldridge <[email protected]>

cb8e8395cbd607c3464e66e6c2a748a58dd2c22a authored about 1 year ago by Jack Koenig <[email protected]>
[HW] Add InnerSymAttr python bindings (#5711)

These binding are very shallow and only support the use case of a single
InnerSymProperties wit...

de50525bfe5531cd7af406fbe04889bd4697ecc1 authored about 1 year ago by Andrew Young <[email protected]>
[FIRRTL] Add parsing support for classes (#5705)

f69ed4d1b3a847ddc46b1529491546391c8ddcc7 authored about 1 year ago by Robert Young <[email protected]>
[NFC] Another missed colon in test directive.

30938921a4d3ad89946a5d431f75f0881eb4d592 authored about 1 year ago by Will Dietz <[email protected]>
[NFC] Fix missing colon after FileCheck directives.

cafcb146a83d385ced898fadb10379303e21abcd authored about 1 year ago by Will Dietz <[email protected]>
[FIRRTL][SFCTests][NFC] Fix use of unsupported -NEXT-COUNT

cc https://github.com/llvm/llvm-project/issues/63276

4fd2cd8435a83599f5a3935e006c700478b8b7b2 authored about 1 year ago by Will Dietz <[email protected]>
[NFCI] tests: FileCheck directive fixes (typos).

720094008b23ea54db4b4f2fbbd1be9d3d358225 authored about 1 year ago by Will Dietz <[email protected]>
[FIRRTL][NFC] FileCheck directive fixes.

b6c943763884f1ce2deba78acab667ec9f39eb99 authored about 1 year ago by Will Dietz <[email protected]>
[FIRRTL][SFCTests] Fixup dedup tests. (#5720)

Fixes #4004.

01442d15e397d1061cda765cc21742a42b48bbf2 authored about 1 year ago by Will Dietz <[email protected]>
[FSM][NFC] Use proper syntax for CHECK-SAME{LITERAL}.

6b1f90d2b92f818163233696c9e710460047090f authored about 1 year ago by Will Dietz <[email protected]>
[FSM][NFC] Touchup test, address old FIXME.

5c8774cd31c32414a11d6013fab773389d7831b9 authored about 1 year ago by Will Dietz <[email protected]>
[NFC] More FIleCheck "CHECK" line typo fixes.

d69120d61140ca85be2b3cbb9d54a8869b3dbdb7 authored about 1 year ago by Will Dietz <[email protected]>
[NFC] Fixup some FileCheck "CHECk" -> "CHECK" lines.

Touchup var exp regex.

8a5d454aadf8c06091d5cfbc2dc75580d85ad081 authored about 1 year ago by Will Dietz <[email protected]>
[DC] Add cast to/from ESI ops (#5676)

Much needed cast operations to/from ESI.
Given that `dc.value`s have unnamed fields (which i th...

2bbd5380ce54196baa9001192205efa1eaa69e4c authored about 1 year ago by Morten Borup Petersen <[email protected]>
[FIRRTL][LowerToHW][NFC] Prefer global var for anno string.

fbcd3f139d05611f049da5210b47584765824ea6 authored about 1 year ago by Will Dietz <[email protected]>
[FIRRTL][FIRParser] Parse rwprobe of port into RWProbeOp. (#5670)

Add basic tests.

Promote the mostly-unused `modNameSpace` to the more narrow
`ModuleNamespac...

e59e3cf1d2e2924270958abb570307b57ba85d47 authored about 1 year ago by Will Dietz <[email protected]>
[FIRRTL][LOA] Handle inner symbols on open aggs hw components. (#5709)

e08a13edc97d5f1acd79714e50758c527e81b326 authored about 1 year ago by Will Dietz <[email protected]>
[FIRRTL][NFC] Fix accidental substitution, pohwist -> portlist. (#5718)

Added here: 53b1c077d661af3409786db8363ddf3656137937 .

f84b4c7bea9bbd60299b116a6572d2e65b2b4feb authored about 1 year ago by Will Dietz <[email protected]>
[HW] Improve generated names in HWMemSimImpl (#5707)

Improve the names of generated registers inside HWMemSimImpl. Change from
a generic "_GEN" to ...

9d9697344f1c8b079b00a1bf21e2754ffac7782b authored about 1 year ago by Schuyler Eldridge <[email protected]>
[DC] `dc.value` should only take one type (#5702)

- accepting multiple types is data semantics encroaching the control-only land of DC.

57e36b63667ee38d289f1e715d50634817389488 authored about 1 year ago by Morten Borup Petersen <[email protected]>
[FIRRTL] Remove {circuit,module}Target from FIRParser (#5712)

These values aren't used anymore.

9968966587b62263dfd042a9ede4296048a61e49 authored about 1 year ago by Robert Young <[email protected]>
[FIRRTL][IMCP] Relpace isa with type_isa, NFC

db8ed1a6a39aa90f3ecf93bbc578138e4a531070 authored about 1 year ago by Hideto Ueno <[email protected]>
[circt-reduce] Add DropNames Preserving None Pass (#5713)

Add the DropNames pass to circt-reduce with the option to drop all names.
This has the benefit ...

c341de5628e4d8f0586bd65cf5eeb87ce2da6e89 authored about 1 year ago by Schuyler Eldridge <[email protected]>
[FIRRTL] Refactor parseModule into multiple functions (#5710)

In the FIRParser, the parseModule function is responsible for parsing all kinds
of modules (int...

e987f483e72b97f0723c77a589a120d99dbede36 authored about 1 year ago by Robert Young <[email protected]>
[CalyxToHW] Use const reference for passing Twines

Twine is dangerous to pass by value, and it is usualy not worth it to try. This
change passes it...

f8dd35c6d7a5e85e858992c0df2f3db9dd0fa384 authored about 1 year ago by Andrew Young <[email protected]>
[HW] Make HWModuleOp::getPortSymAttr work for result ports

When passed a port index referring to a result port, this function would walk
off the end of the...

e3f43c8fc8cb0b9e2d3a6228a4e16ec0b137daa4 authored about 1 year ago by Andrew Young <[email protected]>
[PyCDE] Fixing test

Test introduced by b1882258c45a7b903ba89714f5813d3c38e774d6 was broken.

a840c9397658ab3b4238cc104989fe4f20fe5c6b authored about 1 year ago by John Demme <[email protected]>
[HW] Fix clang-tidy errors, NFC

Fix clang-tidy errors related to snake_case variable naming in the
HWMemSimImpl pass.

Signed-of...

1a33402bcc63806ba986095d2f4b7d54cd5dc067 authored about 1 year ago by Schuyler Eldridge <[email protected]>
[HW] Consistent HWMemSimImpl ignore-read-enable

Fix an inconsistency between the handling of read ports and read-write
ports when running HWMemS...

02157b2879ab955c4a06cb0a2c51805183be9ad9 authored about 1 year ago by Schuyler Eldridge <[email protected]>
[Ibis] Call preparation pass -- part 1 (#5683)

Lowering the Ibis control flow starts with converting all calls to the DC dialect's values with ...

d4b591e20f1c5ae7d708a87d02cf7b5ddc017a7f authored about 1 year ago by John Demme <[email protected]>
[FIRRTL] Fix OpenVectorType::getSubTypeByFieldID.

b49e82a97b3f33d2eae62fede4570310875cdc43 authored about 1 year ago by Will Dietz <[email protected]>
[FIRRTL] Add ClassOp (#5637)

A class is both a type of property-object, and a constructor function. Classes
are FModuleLike,...

e466db11704494de97ab2b1df8749e4e24385653 authored about 1 year ago by Robert Young <[email protected]>
changed getBound() ti i64 (#5701)

fcf922d794e1ee54734e1d4c5d58e31724aec63c authored about 1 year ago by calebmkim <[email protected]>
[TypeAlias] Add LowerToHW support for lowering TypeAlias (#5292)

Lower `firrtl.alias` to `hw.typealias`.
Create a global `hw.type_scope` and add the `hw.typede...

75a004d3e1cf26036f54d70b5cbb12b385f5ce54 authored about 1 year ago by Prithayan Barua <[email protected]>
[HWMemSimImpl] Fix RW port enable gating (#5700)

Co-authored-by: Nandor Licker <[email protected]>

636d4a4240c4d90354c410ddd5e8cd09dea17a71 authored about 1 year ago by Nandor Licker <[email protected]>
[FIRRTL] Add ArrayRefAttr to FIRRTL

A number of ArrayAttr inherent attributes in the FIRRTL dialect have custom
accessors defined, b...

d89cdf071077d59db8177df8fbbd01178c17ba86 authored about 1 year ago by Robert Young <[email protected]>
[FIRRTL] Const-qualify PortInfo input/output helpers

cbae0ebbe7532f502285138b8ea64b53c95eaa04 authored about 1 year ago by Robert Young <[email protected]>
[FIRRTL] Add a HardwareDeclOp class in tablegen

This class is a temporary measure to ensure that hardware declarations do not
appear underneath ...

71a5556c4899d5c4f0b5010fd5b31227cb639241 authored about 1 year ago by Robert Young <[email protected]>
[ExportVerilog] Use wire for inlined op operand

Fix a bug where an assertion could fire in ExportVerilog due incomplete
wire creation in Prepare...

dbc043f41ad6f6b41a4dd5e390cec0b1bc12e9b6 authored about 1 year ago by Schuyler Eldridge <[email protected]>
[ExportVerilog] Plumb lowering options, NFC

Plumb a LoweringOptions const reference to more functions. This is done
in preparation for a fu...

7f7d9cc7e4175cadf5fe81bbf9a330fd08a6c565 authored about 1 year ago by Schuyler Eldridge <[email protected]>
[ExportVerilog] Move static function, NFC

Move a static function so that this can be used by an ealier static
function in a later commit. ...

d73500300687a0643753c3fa76c48f8441ff4207 authored about 1 year ago by Schuyler Eldridge <[email protected]>
[LowerTypes] Replace isa with type_isa and type switch, NFC (#5699)

`isa<.*Type>` in LowerTypes seems to be not updated. This fixes LowerTypes to use type alias awa...

45d3208ee8b88f96926dba098152159d6aaadb2f authored about 1 year ago by Hideto Ueno <[email protected]>
Format lit.cfg.py, nfc

720846dd1611a336424e0d8a4ae81fd53b220ced authored about 1 year ago by Hideto Ueno <[email protected]>
Sort tools in lit.cfg.py, NFC

dec4ba134562b045a16530f40c19f00fdfd916f7 authored about 1 year ago by Hideto Ueno <[email protected]>
[om-linker] Set up boilerplate; parse and concat modules (#5693)

This commit is based on firld work by Will. This commit adds a boilerplate and
minimal implemen...

2fa8a4989c3346e0defbdc7b6c387cc8b14fe09b authored about 1 year ago by Hideto Ueno <[email protected]>
[Python] Remove tablegen file that was deleted upstream. (#5697)

Apply the same fix from: https://reviews.llvm.org/D154469

54ffa0c1ab017de255cd6b8093563c6e335b116d authored about 1 year ago by Mike Urbach <[email protected]>
[CI] Use LLVM_USE_SPLIT_DWARF to reduce time and space. (#5692)

802b9f170656051a0824d116db67e02f1d0126ab authored about 1 year ago by Will Dietz <[email protected]>
[SCF-To-Calyx] Compilation of `scf.for` loops in certain cases (#5655)

* scfToCalyx changes

* calyx-lowering-utils changes

* added dumb file to help test

* cl...

065865d8aa6d72857612b903c03ae3acbd5397ca authored about 1 year ago by calebmkim <[email protected]>
[NFC] Bump llvm to right before the painful commit

099526af7c0909ab206ccf45a2786b384a4bfeec authored about 1 year ago by Andrew Lenharth <[email protected]>
[Calyx][NFC] Fixup std::distance, comparison sign mismatch.

* use llvm::size() which wraps std::distance but is only enabled
if it'll be O(1).
* static ca...

10cae4c30bf24cbc3785414635b30788bf73cb81 authored about 1 year ago by Will Dietz <[email protected]>
[FIRRTL] Fix lowering of plusarg value since it returns an integer rather than a bool (#5607)

Additionally, lower to ifdef synthesis, since there is no way to generate that from chisel.

T...

e5d6d1711409cb86f3f34f70bd0af8bc19ebb253 authored about 1 year ago by Andrew Lenharth <[email protected]>
[CMake] Add MLIRArithOpsInterfacesIncGen dependency (#5636)

Resolves build issue in #5634.

6e86d3a9c2a3328e0b40669bcbecb7f41fe1b6d0 authored about 1 year ago by rsetaluri <[email protected]>
[FIRRTL] Make DropConst circuit op pass, NFC (#5684)

It's illegal to modify port types within FModuleLike pass so change DropConst pass to a circuit ...

d70d21d061368074941f3f56ef8a1c6bbd6fcc4e authored about 1 year ago by Hideto Ueno <[email protected]>
[SVExtractTestCode] Fix a bug that instance inlining doesn't update inner symbols and clone sv.bind (#5679)

Close https://github.com/llvm/circt/issues/5665. This commit fixes a bug that
bound instances a...

feebfdce843dc0234efc5e212e9c2b35dfa87bfa authored about 1 year ago by Hideto Ueno <[email protected]>
[NFC] change ModulePortInfo to store in a single array and get rid of redundant APIs. This is preparation for not splitting inputs and outputs. (#5680)

bf7d93f28ef5054ae26671360482565f13abae04 authored about 1 year ago by Andrew Lenharth <[email protected]>