Livt packages

Livt.Math

Version 1.7.2

Reusable integer and fixed-point arithmetic, complex numbers, trigonometry, and statistics for FPGA applications written in Livt.

Published files (90)

src/trigonometry/CordicSinCosQ15Primitive.lvt

namespace Livt.Math.Trigonometry

/**
 * Narrow native CORDIC datapath owned by CordicSinCosQ15.
 */
@Opaque
component CordicSinCosQ15Primitive
{
	// Request inputs are held until the matching acknowledgment toggle.
	public request: in logic
	public phaseBits: in logic[16]
	public valid: in bool

	// Completion toggle, retained Q1.15 outputs, and request status.
	public acknowledge: out logic
	public sine: out int
	public cosine: out int
	public success: out bool
}