.sv SystemVerilog source code
Text & source code
| MIME type | text/x-svsrc |
|---|---|
| Description | SystemVerilog source code |
| Category | Text & source code |
| Based on | text/x-verilog |
Frequently asked questions
What is a .sv file?
A .sv file is a “SystemVerilog source code” (MIME type text/x-svsrc).
How do I open a .sv file?
With any text editor – Notepad++, Visual Studio Code, or gedit and vim on Linux. The file contains readable text, possibly source code or configuration.
How can you tell a genuine .sv file?
No fixed signature at the start of the file is registered for this format; it is recognised mainly by its extension. On Linux and macOS, file --mime-type example.sv shows the guessed type.
Which format is .sv based on?
Technically a .sv file is a subtype of “Verilog source code” (text/x-verilog), so programs for that base format can often read it too.
Which MIME type belongs to .sv?
The MIME type is text/x-svsrc. In the Apache web server: AddType text/x-svsrc .sv; in nginx: types { text/x-svsrc sv; }.