rails

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2026 License: AGPL-3.0 Imports: 6 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	OverallHigh    = "HIGH"
	OverallMedium  = "MEDIUM"
	OverallLow     = "LOW"
	OverallUnknown = "UNKNOWN"
)
View Source
const (
	WarningLowConfidence       = "some rails have low-confidence voltage inference"
	WarningUnknownVoltage      = "some rails have unknown voltage and cannot be checked by voltage rules"
	WarningIncompleteCoverage  = "rail voltage coverage is incomplete; voltage checks may miss issues"
	WarningConflictingEvidence = "some rails have conflicting voltage evidence"
)

Variables

This section is empty.

Functions

func FormatRailCoverage

func FormatRailCoverage(summary RailCoverageSummary) string

func FormatRailExplanations

func FormatRailExplanations(inferences []infer.VoltageInference, summary RailCoverageSummary) string

Types

type RailCoverageSummary

type RailCoverageSummary struct {
	TotalNets           int      `json:"total_nets"`
	RailsWithVoltage    int      `json:"rails_with_voltage"`
	RailsUnknown        int      `json:"rails_unknown"`
	HighConfidence      int      `json:"high_confidence"`
	MediumConfidence    int      `json:"medium_confidence"`
	LowConfidence       int      `json:"low_confidence"`
	UnknownConfidence   int      `json:"unknown_confidence"`
	CoverageRatio       float64  `json:"coverage_ratio"`
	HighConfidenceRatio float64  `json:"high_confidence_ratio"`
	UsableForRulesRatio float64  `json:"usable_for_rules_ratio"`
	OverallLevel        string   `json:"overall_level"`
	Warnings            []string `json:"warnings"`
}

func SummarizeRailCoverage

func SummarizeRailCoverage(design *ir.DesignIR, inferences []infer.VoltageInference) RailCoverageSummary

Jump to

Keyboard shortcuts

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