Replies: 2 comments
-
I'm not against having VHDL support in slang but it's not something I'm personally very interested in working on. Additionally while I'm sure there is plenty of infrastructure in slang that would make a VHDL parser easier to write, it's not like most of slang would be reusable -- it's very specifically trying to capture SystemVerilog grammar and semantics. I've been thinking about the next layer to add in slang (after the AST). Some kind of MLIR-based thing seems appropriate; that might be a better thing to target for the common layer than slang's AST. The guys over in the CIRCT project are doing interesting things there (and using slang as a frontend for Verilog input). I guess if you were to start adding VHDL parsing in slang it would require some substantial reorganization to deemphasize the Verilog aspects. |
Beta Was this translation helpful? Give feedback.
-
I currently do not plan to start working on adding VHDL due to lack of time. Although, if that was not the case, As for the "HW IIR", I dont have clear opinion on that. On one hand, it seems good approach from compiler theory, I know there exist many projects that attempt to do similar things. CIRCT, MLIR, LLHD, UHDM all seem to me to provide Btw. thanks for the fix with the timing check. |
Beta Was this translation helpful? Give feedback.
-
Hello @MikePopoloski ,
I was wondering what are your future plans for
slang
? Do you want to startwriting simulation backend ? Or rather extend it to become universal "front-end"
(sort-of open-source alternative to Verific parser ?
Longer time ago, I was asking about simulation, and I have read some discussion
where you shared your plan to start writing simulation codegen with LLVM.
Seeing all the development in tools like Verilator and NVC, I realize two things:
Verilator has no mainline support of VHDL / Mixed language.
NVC author has started only very recently on adding Verilog support.
On the synthesis side, I have seen that Yosys started to put together yosys-slang
as a front-end. AFAIK, yosys supports VHDL only via ghdl-yosys plugin.
I am wondering if it would not be more beneficial to have VHDL parsing + elaboration
already in Slang...
What are your thoughts on adding VHDL support ?
Beta Was this translation helpful? Give feedback.
All reactions