- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Currently working in Verilog, and it was requested my program be converted to SystemVerilog. Can anyone help me translate:confused: the two languages?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Congratulations you are already done. Easiest project you will ever have. Verilog is a proper subset of SystemVerilog, by design, so your verilog code should work as is.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Verilog no longer exists. Verilog became SystemVerilog in 2005. System Verilog now contains all old verilog syntax plus much more.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm no expert, but there is a deeper answer if you really want , but why risk it if it already works and the benefits feels minuscule, especially with altera and if the point being to be able to compile the design for a newer ic or something..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
So i'm using the Quartus software to program a DE1 SoC Cyclone 5 board, and I tried to just transfer it to SystemVerilog, and had errors after errors of it not understanding the language. Is there something that I'm doing wrong? Is it more than just copy & paste from my Verilog window to my SystemVerilog window?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
what were the errors? did you save with .sv extension?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
A lot of them were syntax errors, just going though them slowly. couple of other issues it the always @ compared to always_ff @. I didn't save it as .sv, with Quartos it has a selection at the beginning to choose Verilog or SystemVerilog. I chose SystemVerilog, and just did a copy paste directly in. Which I would assume would be the same as saving with a .sv extension.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page