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

Column Scanning Matrix in VHDL

Altera_Forum
Honored Contributor II
1,073 Views

Hi, I am new to VHDL. If I had 3x3 matrix say:  

110 

010 

001 

 

 

How would I check the row numbers which contain their first one starting from scanning the bottom left element in the matrix and moving up then repeating on next column once a '1' has been found. 

 

Please and thank you.
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
410 Views

There are problems with your example: 

Integer cannot be broken down into bits, so I assume you mean a type like unsigned or signed? 

On this note - your MATRIX assignment doesnt match with the dimensions.  

 

Please repost an example that is correct.
0 Kudos
Reply