Verilog Code for Matrix Inversion for Triangular Matrices

$10.00

Specifications are

  1. Verilog code for two matrix inverse architectures
  2. First architecture is useful for taking inverse of upper triangular matrix R whose diagonal is non-zero (QR).
  3. Second architecture is useful for taking inverse of upper triangular matrix R whose diagonal elements are 1 (GE).
  4. Second architecture is systolic.
  5. Both the architectures are using fixed 18-bits and 10-bits for precision.

Matrix inversion is very much necessary for solving a linear system y=Ax. But it is difficult to compute inverse of matrix ‘A’ directly. Thus, we take help of either direct technique like Gaussian Elimination (GE) or matrix factorization-based techniques like QR factorization.

In GE method matrix ‘A’ is converted to an upper triangular matrix with unit diagonal. Then inverse of this upper diagonal matrix is computed to estimate the final value of ‘x’ vector. Similarly, in QR factorization, matrix ‘A’ is factored as A=QR, where ‘R’ is an upper triangular matrix. Now, inverse of matrix ‘R’ is computed to compute the inverse of matrix ‘A’.

Here, two architectures are provided to compute the inverse of triangular matrices. First architecture computes inverse of an upper triangular matrix with non-zero diagonal by vector-vector product. Second architecture is for computing inverse of matrices which are upper-triangular with unity diagonal. First architecture is useful in case of QR factorization and second one is useful for GE base linear system solving.

 

 

Reviews

There are no reviews yet.

Be the first to review “Verilog Code for Matrix Inversion for Triangular Matrices”

Your email address will not be published. Required fields are marked *

Shopping Basket