Author Topic: Anyone that moved from VHDL to SystemVerilog, what advice do you have for others  (Read 1157 times)

0 Members and 1 Guest are viewing this topic.

Offline matrixofdynamismTopic starter

  • Regular Contributor
  • *
  • Posts: 180
SystemVerilog has UVM and a lot of BFMs available. It can be the only language to use in certain highly complex projects where we want to use its many special features to create constrained random stimulus assertion based test benches.

Are there any users on this forum that moved from VHDL to SystemVerilog? How was your journey, please share with everyone.
 

Offline BrianHG

  • Super Contributor
  • ***
  • Posts: 7660
  • Country: ca
Goodluck.  Many of us here seem to be dead VHDL or dead Verilog/SystemVerilog.  At least this is the take away impression I've gotten over the past few years.

My journey from old fashioned Verilog to SystemVerilog focused around my weird test-benches which have gone as far as directly rendering .bmp pictured directly from a .sv geometry drawing engine where my test-bench would read an ascii test text file with functions combined with source coordinates, rendering a final picture as test results using ModelSim.  I do not know if this is possible with VHDL.  My example source code, which was documented for beginners is available here on eevblog if you need examples.
« Last Edit: April 13, 2021, 04:39:34 am by BrianHG »
 

Offline asmi

  • Super Contributor
  • ***
  • Posts: 2728
  • Country: ca
I slowly moved from Verilog into SV around the time I started working with AXI bus a lot, and so connecting 40+ signals every time wasn't much fun, SV's interface made this painless as just one connection is required for entire bus. That was too good of a feature to pass by. And now I use interfaces in just about any of my modules, except for some very simple ones. Add some other creature comfort features like not having to type a signal name twice while connecting a module if signal name is the same as port name, and you have a winner.

I did study both VHDL and Verilog in University (SV wasn't a thing yet when I was there), but chose Verilog every time I had a choice (obviously had to use VHDL during VHDL labs). VDHL code tend to have too low of an SNR for my taste.

But... just you wait for resident VDHLers to show up in force over here, and tell you how bad SV is, even though most of them know jack shit about it :-DD
« Last Edit: April 13, 2021, 05:26:47 am by asmi »
 

Offline ali_asadzadeh

  • Super Contributor
  • ***
  • Posts: 1896
  • Country: ca
Quote
My journey from old fashioned Verilog to SystemVerilog focused around my weird test-benches which have gone as far as directly rendering .bmp pictured directly from a .sv geometry drawing engine where my test-bench would read an ascii test text file with functions combined with source coordinates, rendering a final picture as test results using ModelSim.  I do not know if this is possible with VHDL.  My example source code, which was documented for beginners is available here on eevblog if you need examples.
I'm interested in this, do you have a link? ^-^
ASiDesigner, Stands for Application specific intelligent devices
I'm a Digital Expert from 8-bits to 64-bits
 

Offline BrianHG

  • Super Contributor
  • ***
  • Posts: 7660
  • Country: ca
Quote
My journey from old fashioned Verilog to SystemVerilog focused around my weird test-benches which have gone as far as directly rendering .bmp pictured directly from a .sv geometry drawing engine where my test-bench would read an ascii test text file with functions combined with source coordinates, rendering a final picture as test results using ModelSim.  I do not know if this is possible with VHDL.  My example source code, which was documented for beginners is available here on eevblog if you need examples.
I'm interested in this, do you have a link? ^-^
Entry level which executes a script, runs an ellipse generator and saves a .bmp with a setup instruction on how to use ModelSim and Active-HDL without their sluggish full Quartus/Lattice Diamond running (skip straight to version 4...):
https://www.eevblog.com/forum/fpga/systemverilog-example-testbench-which-saves-a-bmp-picture-and-executes-a-script/

High level which contains a full geometry processor including 2D blitter bitmap functions with binary data loading:
https://www.eevblog.com/forum/fpga/fpga-vga-controller-for-8-bit-computer/msg3465124/#msg3465124
« Last Edit: April 13, 2021, 09:55:04 am by BrianHG »
 
The following users thanked this post: ali_asadzadeh

Offline emece67

  • Frequent Contributor
  • **
  • !
  • Posts: 614
  • Country: 00
« Last Edit: August 19, 2022, 04:22:46 pm by emece67 »
 

Offline ali_asadzadeh

  • Super Contributor
  • ***
  • Posts: 1896
  • Country: ca
Thanks BrianHG
ASiDesigner, Stands for Application specific intelligent devices
I'm a Digital Expert from 8-bits to 64-bits
 

Offline SMB784

  • Frequent Contributor
  • **
  • Posts: 421
  • Country: us
    • Tequity Surplus
I slowly moved from Verilog into SV around the time I started working with AXI bus a lot, and so connecting 40+ signals every time wasn't much fun, SV's interface made this painless as just one connection is required for entire bus. That was too good of a feature to pass by. And now I use interfaces in just about any of my modules, except for some very simple ones. Add some other creature comfort features like not having to type a signal name twice while connecting a module if signal name is the same as port name, and you have a winner.

I did study both VHDL and Verilog in University (SV wasn't a thing yet when I was there), but chose Verilog every time I had a choice (obviously had to use VHDL during VHDL labs). VDHL code tend to have too low of an SNR for my taste.

But... just you wait for resident VDHLers to show up in force over here, and tell you how bad SV is, even though most of them know jack shit about it :-DD

I too moved from Verilog to SystemVerilog for the sole reason of being able to pass unpacked arrays as inputs/outputs.  This alone makes it worth it in my opinion.  Its extremely useful.


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf