Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)

matrix operation

Altera_Forum
Honored Contributor II
1,683 Views

how can 4*4 matrix is created? 

how can we get 4*4 matrix from 4 row matrix? 

how can particular column elements selected from 4*4 matrix? 

How inverse matrix calculated by using LU decomposition for 4*4 matrix?
0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
743 Views

Can you go into any more details? have you got code you've started already? 

All of this is possible with VHDL..
0 Kudos
Altera_Forum
Honored Contributor II
743 Views

as a part of my project on Hill Cipher algorithm . 

Actually i want take 4-bit binary vector as input. by taking four such vector create a 4*4 matrix from it,then select elements from column and multiply with another 4*4 binary matrix. 

thanks a lot!!
0 Kudos
Altera_Forum
Honored Contributor II
743 Views

pivoting of matrix in vhdl

0 Kudos
Altera_Forum
Honored Contributor II
743 Views

use an array and write a function. E.g. 

type t_matrix is array (0 to 3) of bit_vector(0 to 3); signal s_matrix : t_matrix := (others => (others => '0')); 

function pivot_matrix(input_matrix : t_matrix) return t_matrix is variable output_matrix : t_matrix; begin return output_matrix; end function;
0 Kudos
Reply