Quantcast
Channel: Access a vector stored in another vector in verilog - Electrical Engineering Stack Exchange
Browsing all 2 articles
Browse latest View live

Answer by dave_59 for Access a vector stored in another vector in verilog

You want const logic [4:0] q[5] = {8'b11101000, 8'b10011000, 8'b10100010, 8'b10110110, 8'b10000101};

View Article



Access a vector stored in another vector in verilog

I want to access elements (8 bits long) stored in an "array", then do a logic AND with some switches. So far, not working: module top(SW, LED);input [15:0] SW;output [15:0] LED;logic [4:0] q =...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>