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
This API is useful when you have an Evaluator, but need to get back to
the core MLIR data struct...
Added a separate macro to bypass synthesis and enable initial blocks setting memories lowered th...
c7100bed69631f6ee4849c1e0a5f73d4aa926c15 authored over 1 year agoCo-authored-by: Nandor Licker <[email protected]>
b7eb1d457d75a22d3d97b281db83e7d8e6cbebce authored over 1 year ago
Add a flat symbol reference attribute to OM dialect. This is required in
addition to the InnerR...
There is a use-case for CosimDpi.capnp in the tests and install, so
make sure to locate it prope...
Since the XrtBSP is in that dir, move into it to increase consistency.
698d7f11228136f2968b1670f3edb96bb0ee4d4d authored over 1 year ago
A few issues:
- The new C++ API emission pass was choking on `test_esi.py` since one
of it's ser...
Wasn't installing the right runtime / build files into the pycde
package. Managed to get everyth...
For use w/deferred linking or the new ABI, ref statements
are not required. However, if they'r...
Ref-type ports on external modules should resolve to uses of the ABI macros when the path inform...
7bbf7adc882686ea337d4ebb371cf204f6b04d73 authored over 1 year agoFixes https://github.com/llvm/circt/issues/5231 .
Add regression test for macro formatting.
20d5090328e25dedfc3e3d54141c68486aa6c4fe authored over 1 year ago
`ENABLE_INITIAL_REG_` is used to permit fine-grained control over register initializers.
It is ...
... progressive lowering of handshake!
This obviously requires a future addition of an `arith-t...
1cde37b4891c7151fa4ac53bf41e2d60ea3df189 authored over 1 year ago
`dc.merge` will select one of the incoming tokens and emit an output stating which token was sel...
f9a89749d19eff683932eccc6ff88a8016dcc687 authored over 1 year ago2e088d2d00ebcadc8176ad221182175d2c1c18cb authored over 1 year ago
278e8abcbb3f6dc269b265b6f57b798318728425 authored over 1 year ago
Signal a pass failure in addition to just emitting the error.
fe46da4862963583f89842531cbbb60b455ed9a6 authored over 1 year agoIf a signal is annotated as the clock divider bypass signal, wire it to clock gates that have th...
6043aa41a0207ab852d60b9e2c7f1ba997db08ec authored over 1 year ago* [FIRRTL] Const handling in cast ops
This commit adds a ConstCastOp for casting away constne...
2423baa0201b9e88c4376558a752e595bbbbf16d authored over 1 year agob60dee984961584cc4c58aa87f6c0d5c18e158c3 authored over 1 year ago
0e0b40e6ea995f474b5504fab1029fde30e1829f authored over 1 year ago
d6a34c62cbf4fc5004e47a7bd39cb5beb7857398 authored over 1 year ago
There was a bug in LowerSeqToSV which creates invalid IR regarding dominance. Previously sv.arra...
151def430e225c858f65699a34e45c2deee82bd9 authored over 1 year agodcc4b03ce7fe7bb5fc729f9243f8972bae35ec5a authored over 1 year ago
* [FIRRTL] Handle flips in const connections
* Also fix a partial connect reset flip edge case
9d51934a38205f383a1fd0a2255227cf2dde8818 authored over 1 year ago
Support OpenVector, OpenBundle types.
Support OpenSubfield, OpenSubIndex, RefSubOp.
Add expo...
00ddb3499aad4286c9d6ef759b24d0e0650947fc authored over 1 year ago
Phases separate the values in a firrtl program into two worlds, the property
world and the hard...
The Evaluator is responsible for evaluating the object model according
to the semantics defined...
Having SinkInputs as a rewrite pattern as part of ArcCanonicalizer allows to directly perform co...
6835cf9f0ff91324e5a357d42503f96807191f5b authored over 1 year agoIt probably makes sense to add this single pattern to the new ArcCanonicalizer pass since it (1)...
92303b0d579a7f3d1f3945cba7679cd14ef923d0 authored over 1 year agoOn the HW/Comb level, the `comb.concat` operation is basically considered free. However, in simu...
26d1d3f1e5a219da289d49e17140d83c3c6109a6 authored over 1 year agoTo print debug info in MLIR output, the AsmPrinter CLI option mlir-print-debuginfo could be used...
c593ea1d8bf32ca4ff0ab9cd3a8718deb9a31875 authored over 1 year ago
Add a pass that allows us to implement canonicalization patterns that
require a symbol cache to ...
ed7deb7d90d87d605379f4b556473c900ee9765a authored over 1 year ago
* [FIRRTL] Export named references as macros to Verilog files
---------
Co-authored-by: Hi...
a7e073f1b8397f20c88ba9e8a5427a9c7a75111a authored over 1 year ago
Add the z3 include directories as system includes, not normal includes, to the
circt-lec tool. ...
3aed4df09b23514c308bdd05174ca4c2b1c66679 authored over 1 year ago
71b61467e4d9fb4d0b4bcad5c585d2987e3f8d09 authored over 1 year ago
76e7f63ca84efafe7f9a6551814fe17d8d87f659 authored over 1 year ago
* Remove the optional enable and clock operands from `arc.memory_read_port` making it a combinat...
43e69a81c6dbb49f09de64f10c970bb436eada44 authored over 1 year ago
Enumerations can only be connected when all variants, compared in order,
have the same name and...
There may be several files generated during any given run of firtool,
represented as sv.verbati...
2d4b530ab166b1c6b4e71338db87aabcc272ecc2 authored over 1 year ago
Minor bump for small bugfix. Shouldn't break anything.
880e36e163a42ce38143ad6ffcbcaa413e32d436 authored over 1 year agoAdds option for controlling target line width (`--target-line-length=120`).
d4ab551d910800632cdde403b5834c326d8c76fd authored over 1 year agoa6d1074910cc2f66c1f04a6506281aac37f52c6a authored over 1 year ago
1bce2648d8c7dccaf09ef745514c5128ef8fdede authored over 1 year ago
967b93f6252902255de937fb13cc304b978fc779 authored over 1 year ago
de03ab500b1803eec73c4418af269151342094d6 authored over 1 year ago
e2d73928da8515ea017d607754a449857c3d0e5d authored over 1 year ago
05621f94c4a83deef96a6bcc5be6539050f5cb9c authored over 1 year ago
Add a canonicalizer that removes a "ref.resolve" of a "ref.send",
replacing this with the origin...
Signed-off-by: Schuyler Eldridge <[email protected]>
9c0c24e6558daa73c1639e8c3c4519831ac4426b authored over 1 year agoCurrently, the Dedup pass only considers StateOp as call operations to arcs because this was the...
38fa02ca191190ec865ab08ddc5367a4151b5f88 authored over 1 year ago6d57a87fab2311981f04c5eea03daa5a26069857 authored over 1 year ago
This adds a macro.decl to declare the existance and arguments of a macro.
This adds a macro.def...
This PR adds the DC dialect rationale and most of the dialect-related boilerplate.
fc453c51cdb6e742c01fee0821c587283b3c5afc authored over 1 year ago$ can be used in the middle of the identifier so isValidVerilogCharacter should return true for $.
65ddd7440a4af2a8924e89a02b46612b45a9d0f8 authored over 1 year ago
Add widthCastOp and resetCastOp to the FIRRTL emitter. These ops are
transparent no-ops that ar...
Add force, force_initial, release, and release_initial to the FIRRTL
exporter. This requires do...
Check forwarding up the hierarchy produces expected FIRRTL.
e0d380299b60f489fd8216a332b7d3319995db32 authored over 1 year agoUpdate FIRRTL's emitter to support RWProbes.
Signed-off-by: Schuyler Eldridge <schuyler.eldridg...
cd7f0d17e241c335fbd17d76804a1b94eff716b8 authored over 1 year ago
* Parse mixed aggregates into open agg/sub ops.
* Run LOA after parsing (before LowerAnnotation...
Participate in inner symbol verification, data structures, and specify how per-field/target resu...
f5360c594cf9960ef9dc66b16bfc9ed53cc681f8 authored over 1 year ago83dcb0892cd12f9b848cbde7df54688abce98e91 authored over 1 year ago
e3dec3e73d51cc457298d9d7e6457bc1ca171820 authored over 1 year ago
Keep the setCalleeFromCallable changes (due to MLIR change/improvement)
as defining them for now...
e977b3fe1680eae5e1bac56ce3a696977c1a63f5 authored over 1 year ago
In particular, this caused a number of folder/etc users of this
method to erroneously believe t...
Check declarations have appropriate types before creation, and reject declarations of non-base f...
93c5c1ab167d9e6be48a7ee93cec4290039e3da1 authored over 1 year agoImmediately after parsing (cc #5128), "lower" the open aggregates containing mixed hardware into...
5cf4c49ba2aae1e6b167e7d77fbb176627424d4e authored over 1 year ago8cea89623611f30491a4347f14e07d2aff9d6da6 authored over 1 year ago
47f54d92842962e0d6cb64a797c460a7c41b86cf authored over 1 year ago
3a7fd3286d1ff240cb68162882452969c81a5161 authored over 1 year ago
285a7dead2bf676e6c8ef03bab2504736878c882 authored over 1 year ago
7f4cdee6470b1141e878aea8efac6375f399c8d3 authored over 1 year ago
InlineArcs only considers arc.state operations at the moment. This adds
support to also inline ...
Implement the clock isolation into the clock_domain op that got added earlier. Implement an inte...
9b3488d4be7a3710f528191ea99df20218d3b54a authored over 1 year ago* Since `arc.storage.get` does not access the storage, but just adds a constant to the pointer (...
ff016d5c3a84693ca4bcb09e748c0c74a36a0033 authored over 1 year ago3949965198d5c0de37967e60070097e716172d52 authored over 1 year ago
Update the FIRRTL exporter to support reference types (probe and rwprobe)
as well as probe, defi...
Open variants allow non-hw types within, and are themselves
not hardware types.
These are pl...
e72353deaa1e6a2803c6c7c5156d5b8e2acd8b87 authored over 1 year ago6d5da17923685426cdc543812cf10aaec7b958ff authored over 1 year ago
da651d1700052c8e800856b9cff6bf40ef5714ce authored over 1 year ago
1bc12bccd20a7e34c865108dae6aa196c2e11156 authored over 1 year ago
Removes the handshake to FIRRTL lowering pass.
Also:
* All handshake integration tests now r...
d28782020a2e269801ec60e4d1ed89f286f07152 authored over 1 year ago
This will save us a few casts from FModuleLike to HWModuleLike.
17252793056bea67b4853da65e2b857cb28f12a5 authored over 1 year ago675dbedc4fbdd85ef4b9229a33f1bc1e9ae08a9d authored over 1 year ago
Use same types for both sides, avoid uneven indexing.
Add test that crashes without this change.
5f9976e7cac23f9ce9ab67bddbb8b4f2f8e6805d authored over 1 year ago
Don't make assumptions beyond /usr/bin/env regarding the location
of various common utilities.
...
This implements some improvements to the circt-reduce infrastructure, fixes a few bugs, and adds...
cf02fee4f17f5ced9b6f4f4c2a7f38bf79ca8898 authored over 1 year ago3146ede582b6a8d40019759fa0b0cace25a10a1d authored over 1 year ago
33dbb6e5c3a93b64572376b9b5654baf41cd0cb2 authored over 1 year ago
ba28a155b288677d4a3127c666003129089dc708 authored over 1 year ago
5f17c5955ce136faf4cfe82c061edc42f85df4a4 authored over 1 year ago
86d520f84dc7ba21785f59a84663b1a56847e825 authored over 1 year ago
Fix broken link to symbol rationale by pointing to hosted version instead.
edaec627afb68380c3a302025150431f5b163a3c authored over 1 year agoThis fixes two bugs in LowerMatches.
The first is when the match has no case statements, we w...
ce7df6b5a4e0b7fc1984dffd100b668fca6a9593 authored over 1 year ago