sehugg / 8bitworkshop

web-based IDE for 8-bit programming and Verilog development
http://8bitworkshop.com/
GNU General Public License v3.0
504 stars 82 forks source link

Feature Request: System Verilog #76

Open Beaker73 opened 3 years ago

Beaker73 commented 3 years ago

The new verilog backend seems to support system verilog, based on the feedback I'm getting from the editor. But when trying to use structs I'll get the message that structs are not supported during compilation. I've even tried renaming with the *.sv extension but to no avail.

Would it be possible to enable system verilog compilation?

sehugg commented 3 years ago

Verilator has introduced some SV features; here's the docs on structs. Supporting structs should be possible, though since they are represented as a vector, I'd have to eliminate the 64-bit limit for them to be very useful.