circt/lib
Hideto Ueno bd259e788a
[SV] Add sv.func, sv.return and sv.func.call operations (#7003)
This PR adds function call constructs (sv.func, sv.return and sv.func.call) to SV dialect. 

* `sv.func` -- this op is between hw.module and func.func. This op implement interfaces `PortList`, `HWModuleLike` and `FunctionOpInterface`. Similar to hw.module, we can preserve argument names and mix the order of input and output arguments. Following func.func empty body indicates that the op is a declaration. Currently sv/func is defined as "automatic" function in SV.
* `sv.return` -- terminator for sv.func. We cannot reuse neither hw.output nor func.func since they have constraints on parent op(and I think it's not reasonable to loose them). 
* `sv.func.call` and `sv.func.call.procedural`. Two operations are added because output arguments cannot be used non-procedural regions.
2024-05-16 16:52:38 +09:00
..
Analysis Move 'using namespace' out of headers. (#6844) 2024-03-18 16:57:03 +01:00
Bindings [OM] Add C API and Python bindings for IntegerAttr to string. (#6787) 2024-03-07 18:46:37 -07:00
CAPI [Moore] Make simple bit vectors a proper MLIR type (#7011) 2024-05-09 15:52:20 -07:00
Conversion [NFC] silence warning 2024-05-15 08:56:37 -07:00
Dialect [SV] Add sv.func, sv.return and sv.func.call operations (#7003) 2024-05-16 16:52:38 +09:00
Firtool [OM] Separate OM object fields verifier to a dedicated pass (#7026) 2024-05-14 11:24:02 +09:00
Reduce [Reduce] Add missing build deps on HW/FIRRTL dialects. (#5430) 2023-06-20 11:20:23 -05:00
Scheduling [Calyx][OM][Pipeline] Use free variants of isa/cast/dyn_cast 2024-04-28 16:53:58 +02:00
Support [HW] Use free variants of isa/cast/dyn_cast 2024-04-28 16:41:57 +02:00
Target [SystemC] Use free variants of isa/cast/dyn_cast 2024-04-28 16:08:01 +02:00
Tools [CombToSMT] Make result of div-by-zero undefined (#7025) 2024-05-14 08:09:34 +02:00
Transforms [FlattenMemRefs] fix op use after replace 2024-04-29 16:36:22 +02:00
CMakeLists.txt [circt-lec] Port to SMT dialect based compiler pipeline (#6908) 2024-04-21 08:06:39 +02:00