Main Content

Simulink での固定小数点行列演算

効率的な HDL コード用に最適化された固定小数点の算術演算と行列演算

Fixed-Point Designer™ のブロックのライブラリを使用して、固定小数点の算術演算を実行します。

Fixed-Point Designer の HDL Optimized ブロックのライブラリを使用して、固定小数点の算術演算および行列演算を実行し、効率的な HDL コードを生成します。これらのブロックは、線形方程式系や、QR 分解などの主要な行列演算の設計パターンをモデル化し、FPGA 実装のハードウェア効率を向上します。HDL Coder™ を使用して、これらのブロックを含む設計の HDL コードを生成します。

ブロック

すべて展開する

Euler to NED Transformation HDL OptimizedComputes Euler to North-East-Down transformation using pipelined or burst architecture and generates optimized HDL code

除算

Real Divide HDL Optimized実数入力を別の実数入力で除算して最適化された HDL コードを生成
Complex Divide HDL Optimized入力を別の入力で除算して最適化された HDL コードを生成
Divide by Constant HDL Optimized入力を定数で除算して整数に丸め、最適化された HDL コードを生成
Divide by Constant and Round入力を定数で除算して整数に丸める

モジュロ

Modulo by Constant HDL Optimized定数分母でのモジュロ演算を実行して最適化された HDL コードを生成
Modulo by Constant定数分母でのモジュロ演算の実行

逆数

Normalized Reciprocal HDL Optimized正規化逆数を計算して最適化された HDL コードを生成
Real Reciprocal HDL Optimized逆数を計算して最適化された HDL コードを生成

三角

Hyperbolic Tangent HDL OptimizedCORDIC ベースの双曲線正接を計算して最適化された HDL コードを生成

AX = B の求解

Real Burst Matrix Solve Using QR DecompositionQR 分解を使用した実数値の行列のために、方程式 Ax = B で x の値を計算する
Complex Burst Matrix Solve Using QR DecompositionQR 分解を使用した複素数値の行列のために、方程式 Ax = B で x の値を計算する
Real Partial-Systolic Matrix Solve Using QR DecompositionQR 分解を使用した実数値の行列のために、方程式 Ax = B で x の値を計算する
Complex Partial-Systolic Matrix Solve Using QR DecompositionQR 分解を使用した複素数値の行列のために、方程式 Ax = B で x の値を計算する

A'AX = B の求解

Real Burst Matrix Solve Using Q-less QR DecompositionQ-less QR 分解を使用した実数値の行列のために、方程式 A'AX = B で X の値を計算する
Complex Burst Matrix Solve Using Q-less QR DecompositionQ-less QR 分解を使用した複素数値の行列のために、方程式 A'AX = B で X の値を計算する
Real Burst Asynchronous Matrix Solve Using Q-less QR Decomposition非同期の Q-less QR 分解を使用した実数値の行列のために、方程式 A'AX = B で X の値を計算する
Complex Burst Asynchronous Matrix Solve Using Q-less QR Decomposition非同期の Q-less QR 分解を使用した複素数値の行列のために、方程式 A'AX = B で X の値を計算する
Real Partial-Systolic Matrix Solve Using Q-less QR DecompositionQ-less QR 分解を使用した実数値の行列のために、方程式 A'AX = B で X の値を計算する
Complex Partial-Systolic Matrix Solve Using Q-less QR DecompositionQ-less QR 分解を使用した複素数値の行列のために、方程式 A'AX = B で X の値を計算する

無限大の tall 行列を使用した A'AX = B の求解

Real Burst Matrix Solve Using Q-less QR Decomposition with Forgetting Factor非同期の Q-less QR 分解を使用した無限の行数をもつ実数値の行列のために、方程式 A'AX = B で X の値を計算する
Complex Burst Matrix Solve Using Q-less QR Decomposition with Forgetting Factor非同期の Q-less QR 分解を使用した無限の行数をもつ複素数値の行列のために、方程式 A'AX = B で X の値を計算する
Real Partial-Systolic Matrix Solve Using Q-less QR Decomposition with Forgetting FactorQ-less QR 分解を使用した無限の行数をもつ実数値の行列のために、方程式 A'AX = B で X の値を計算する
Complex Partial-Systolic Matrix Solve Using Q-less QR Decomposition with Forgetting FactorQ-less QR 分解を使用した無限の行数をもつ複素数値の行列のために、方程式 A'AX = B で X の値を計算する

QR 分解

Real Burst QR Decomposition実数値の行列の QR 分解
Complex Burst QR Decomposition複素数値の行列の QR 分解
Real Partial-Systolic QR Decomposition実数値の行列の QR 分解
Complex Partial-Systolic QR Decomposition複素数値の行列の QR 分解

Q-less QR 分解

Real Burst Q-less QR Decomposition実数値の行列の Q-less QR 分解
Complex Burst Q-less QR Decomposition複素数値の行列の Q-less QR 分解
Real Burst Q-less QR Decomposition Whole R Output実数値の行列の Q-less QR 分解
Complex Burst Q-less QR Decomposition Whole R Output複素数値の行列の Q-less QR 分解
Real Partial-Systolic Q-less QR Decomposition実数値の行列の Q-less QR 分解
Complex Partial-Systolic Q-less QR Decomposition複素数値の行列の Q-less QR 分解

忘却係数を使用する Q-less QR 分解

Real Burst Q-less QR Decomposition with Forgetting Factor Whole R Output無限の行数をもつ実数値の行列の Q-less QR 分解
Complex Burst Q-less QR Decomposition with Forgetting Factor Whole R OutputQ-less QR decomposition for complex-valued matrices with infinite number of rows
Real Partial-Systolic Q-less QR Decomposition with Forgetting Factor無限の行数をもつ実数値の行列の Q-less QR 分解
Complex Partial-Systolic Q-less QR Decomposition with Forgetting Factor無限の行数をもつ複素数値の行列の Q-less QR 分解

特異値分解

Square Jacobi SVD HDL OptimizedFixed-point singular value decomposition

関数

すべて展開する

fixed.qrFixedpointTypesDetermine fixed-point types for transforming A and R and B to C=Q'B in-place, where QR=A is QR decomposition of A
fixed.qlessqrFixedpointTypesDetermine fixed-point types for transforming A to R in-place, where R is upper-triangular factor of QR decomposition of A, without computing Q
fixed.realQRMatrixSolveFixedpointTypesDetermine fixed-point types for matrix solution of real-valued AX=B using QR decomposition
fixed.complexQRMatrixSolveFixedpointTypesDetermine fixed-point types for matrix solution of complex-valued AX=B using QR decomposition
fixed.realQlessQRMatrixSolveFixedpointTypesDetermine fixed-point types for matrix solution of real-valued A'AX=B using QR decomposition
fixed.complexQlessQRMatrixSolveFixedpointTypesDetermine fixed-point types for matrix solution of complex-valued A'AX=B using QR decomposition
fixed.realSingularValueLowerBoundEstimate lower bound for smallest singular value of real-valued matrix
fixed.complexSingularValueLowerBoundEstimate lower bound for smallest singular value of complex-valued matrix
fixed.singularValueUpperBoundUpper bound of largest singular value of matrix
fixed.realConditionNumberUpperBoundEstimate of upper bound for 2-norm condition number of real-valued matrix
fixed.complexConditionNumberUpperBoundEstimate of upper bound for 2-norm condition number of complex-valued matrix
fixed.forgettingFactorCompute forgetting factor required for streaming input data
fixed.forgettingFactorInverseCompute the inverse of the forgetting factor required for streaming input data
fixed.realQuantizationNoiseStandardDeviation実数値信号における量子化ノイズの標準偏差の推定
fixed.complexQuantizationNoiseStandardDeviationEstimate standard deviation of quantization noise of complex-valued signal

トピック

算術演算

一般

線形システム ソルバー: AX = B の求解

線形システム ソルバー: A'AX = B の求解

線形システム ソルバー: 無限大の tall 行列を使用した A'AX = B の求解

行列の因数分解: QR 分解

行列の因数分解: Q-less QR 分解

行列の因数分解: 忘却係数を使用する Q-less QR 分解

行列の因数分解: 特異値分解

線形システム ソルバーと行列の因数分解の固定小数点データ型を解析的に判別