Git Product home page Git Product logo

jhhe66 / verilator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from verilator/verilator

0.0 1.0 0.0 37.08 MB

Verilator open-source SystemVerilog simulator and lint system

Home Page: https://verilator.org

License: GNU Lesser General Public License v3.0

Shell 0.63% C++ 53.94% Python 1.79% Perl 12.72% C 3.36% Verilog 0.01% PowerShell 0.01% SystemVerilog 26.40% Makefile 0.36% CMake 0.29% Lex 0.28% M4 0.18% GDB 0.01% Dockerfile 0.03%

verilator's Introduction

image

image

image

image

image

image

image

Welcome to Verilator

Welcome to Verilator, the fastest Verilog/SystemVerilog simulator.
  • Accepts Verilog or SystemVerilog
  • Performs lint code-quality checks
  • Compiles into multithreaded C++, or SystemC
  • Creates XML to front-end your own tools
Logo
verilator multithreaded performance
Fast
  • Outperforms many closed-source commercial simulators
  • Single- and multithreaded output models
Widely Used
  • Wide industry and academic deployment
  • Out-of-the-box support from Arm and RISC-V vendor IP
verilator usage
verilator community
Community Driven & Openly Licensed
Commercial Support Available
  • Commercial support contracts
  • Design support contracts
  • Enhancement contracts
verilator support

What Verilator Does

Verilator is invoked with parameters similar to GCC or Synopsys's VCS. It "Verilates" the specified Verilog or SystemVerilog code by reading it, performing lint checks, and optionally inserting assertion checks and coverage-analysis points. It outputs single- or multithreaded .cpp and .h files, the "Verilated" code.

These Verilated C++/SystemC files are then compiled by a C++ compiler (gcc/clang/MSVC++), optionally along with a user's own C++/SystemC wrapper file, to instantiate the Verilated model. Executing the resulting executable performs the design simulation. Verilator also supports linking Verilated generated libraries, optionally encrypted, into other simulators.

Verilator may not be the best choice if you are expecting a full-featured replacement for a closed-source Verilog simulator, needs SDF annotation, mixed-signal simulation, or are doing a quick class project (we recommend Icarus Verilog for classwork.) However, if you are looking for a path to migrate SystemVerilog to C++/SystemC, or want high-speed simulation of designs, Verilator is the tool for you.

Performance

Verilator does not directly translate Verilog HDL to C++ or SystemC. Rather, Verilator compiles your code into a much faster optimized and optionally thread-partitioned model, which is in turn wrapped inside a C++/SystemC module. The results are a compiled Verilog model that executes even on a single-thread over 10x faster than standalone SystemC, and on a single thread is about 100 times faster than interpreted Verilog simulators such as Icarus Verilog. Another 2-10x speedup might be gained from multithreading (yielding 200-1000x total over interpreted simulators).

Verilator has typically similar or better performance versus the closed-source Verilog simulators (e.g., Carbon Design Systems Carbonator, Modelsim/Questa, Cadence Incisive/NC-Verilog, Synopsys VCS, VTOC, and Pragmatic CVer/CVC). But, Verilator is open-sourced, so you can spend on computes rather than licenses. Thus, Verilator gives you the best simulation cycles/dollar.

Installation & Documentation

For more information:

Support

Verilator is a community project, guided by the CHIPS Alliance under the Linux Foundation.

We appreciate and welcome your contributions in whatever form; please see Contributing to Verilator. Thanks to our Contributors and Sponsors.

Verilator also supports and encourages commercial support models and organizations; please see Verilator Commercial Support.

Related Projects

  • GTKwave - Waveform viewer for Verilator traces.
  • Icarus Verilog - Icarus is a full-featured interpreted Verilog simulator. If Verilator does not support your needs, perhaps Icarus may.

Open License

Verilator is Copyright 2003-2023 by Wilson Snyder. (Report bugs to Verilator Issues.)

Verilator is free software; you can redistribute it and/or modify it under the terms of either the GNU Lesser General Public License Version 3 or the Perl Artistic License Version 2.0. See the documentation for more details.

verilator's People

Contributors

andrewnolte avatar codelec avatar elgorwi avatar gezalore avatar hungmingwu avatar imphil avatar jcoiner avatar jeremybennett avatar kamilrakoczy avatar kbieganski avatar kboronski-ant avatar kiryk avatar kozdra avatar kubao avatar ldoolitt avatar madebr avatar mballance avatar mglb avatar patstew avatar petermonsson avatar phb avatar pieter3d avatar rrozak avatar stephenry avatar toddstrader avatar umarcor avatar varunkoyyalagunta avatar wallento avatar wsnyder avatar ytakatsukasa avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.