3pitom3
Newbie level 4
- Joined
- Jun 5, 2014
- Messages
- 5
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 40
I have a basic Verilog-syntax question, but had trouble finding info on the web, hard to figure out the right keyterms to search...
I wonder what this does:
wire [3:0] foo;
assign foo = bar[0:3];
Why invert the 0 and 3?
I saw this in here:
**broken link removed**
On this line:
reg [p1width - 1 : 0] arr[0: ((p2depth >= 2) ? (p2depth-2) : 0)];
Quartus compiles this, but Odin doesn't like it.
Thanks!
I wonder what this does:
wire [3:0] foo;
assign foo = bar[0:3];
Why invert the 0 and 3?
I saw this in here:
**broken link removed**
On this line:
reg [p1width - 1 : 0] arr[0: ((p2depth >= 2) ? (p2depth-2) : 0)];
Quartus compiles this, but Odin doesn't like it.
Thanks!