Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] Trying to Understand the Syntax with Two-Dimensional Arrays

Status
Not open for further replies.

kvn0smnsn

Junior Member level 2
Junior Member level 2
Joined
Nov 20, 2022
Messages
22
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
165
I have a piece of code I'm putting together:
Code:
module twoDim( hexes, switches);
  output [ 7:0] hexes [ 5:0];
  input  [ 9:0] switches;

  // Rest of the file deleted.

endmodule
With this, is (hexes) an array of six values, each of which has eight bits?
Or is it an array of eight values, each of which has six bits?
 

LMGTFY

So Barry, are you saying that it is an array of six values, each of which is eight bits long?
 

I can explain it to you, but I can't understand it for you.

It's right there if you actually read the document.

1669954029624.png
 

    kvn0smnsn

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top