systemverilog

package
v0.0.0-...-1667554 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 13, 2020 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Overview

Package systemverilog implement the systemverilog header file generator for Headalyzer. It will probably also work for Verilog.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultOptions

func DefaultOptions() []h.Option

DefaultOptions returns the list of default options for the C generator.

The SystemVerilog generator supports the following options:

systemverilog/case - One of headalyzer.Case, specifies what casing should be used default: CapitalSnakeCase

systemverilog/header_guards - true or false, specifies if header guards should be generated, default: true

systemverilog/header_guard_name - specifies what header symbol should be used, default: HEADALYZER_GENERATED_H

func Generate

func Generate(constants []h.Constant, options []h.Option, hints []h.Hint) (string, error)

Generate will emit SystemVerilog from the provided constants, options, and hints.

The following hints are considered:

systemverilog/width - specify constant width in bits, only applies to numeric constants.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL