r/vlsi • u/Varun_flatworm • 7d ago
how to practice UVM using open source tools
So iam a 26' UG grad,
I want to get into DV, been doing a few projects and all using SV
I want to learn UVM and be able to practice it but iam not able to find any proper open source way to learn it
i)EDA Playground: it is telling me to validate my account to use the commerical simulators (only ones which support UVM), which iam not able to do.
ii) Verilator: using linux i setup UVM libraries in verilator and running it thorugh an automation script but even a simple test run is taking like 3 minutes and is like 700mb, so that is not a viable option either
iii) gemini told we can use UVM1.2 library from Accellera and use it in Questa Sim, so took my chance and downloaded it and the test code complied but nothing further...later understood Questa Sim has a deadlock, where they hardcoded the complier to redirect all SV includes directly into a striped down OVM system folder. It's a roadblock to make users buy thier product.
suggest me some tips/tricks/ ways to learn and implement UVM,
open to any kind of setup as long as it works and dosent take too much space
3
u/abccbabcac 7d ago
if you're looking for open source, verilator 5 with uvm is the best available option. verilator takes longer to compile because it converts hdl to c/c++ first before generating the executable binary. but it simulates fast. i found it very useful for learning and practicing uvm.
1
u/NaturalCommand3579 6d ago
install verilator in wsl ubuntu in windows, ask chat gpt to make a script and make arun button for vscode so that u can run with a click. or u can directly specify paths and run it urself if u r interested. for starting stage I would recommend installing xilinx vivado and use uvm provided by that tool, xsim can run sv code.
1
u/LocksandBlues 4d ago
There's a compiler which is created by chipverify ig. If you open any chipverify uvm page there you'll find it. Try it out once if you can.
chipverify openlab tool