R
RolfK
Guest
Dear Experts outside,
I'm starting with verilog 2001 and coded this:
real edges [0:2][0:3];
edges = {
{ 0 , 0.5 ,0 , 3 } , //AT0
{ 0 , 0.2 ,0 , 3 } , //SW3
{ 0 , 0.1 ,0 , 3 } //SW2
};
What I would like to achive is a two dimensional array of real values.
The compiler complaines at 0.5 in line 3 of the code listed here.
I'm using ncverilog: 06.20-p001 with tells me:
edges = {
|
ncvlog: *E,EXPLPA (_uif/Stimulus.v,8|6): expecting a left parenthesis
('(') [12.1.2][7.1(IEEE)].
(`include file: _uif/Stimulus.v line 8, file: tb.v line 6)
{ 0 , 0.5 ,0 , 3 } , //AT0
|
Does anyone know how to make ith right ??
Thanks
Rolf
I'm starting with verilog 2001 and coded this:
real edges [0:2][0:3];
edges = {
{ 0 , 0.5 ,0 , 3 } , //AT0
{ 0 , 0.2 ,0 , 3 } , //SW3
{ 0 , 0.1 ,0 , 3 } //SW2
};
What I would like to achive is a two dimensional array of real values.
The compiler complaines at 0.5 in line 3 of the code listed here.
I'm using ncverilog: 06.20-p001 with tells me:
edges = {
|
ncvlog: *E,EXPLPA (_uif/Stimulus.v,8|6): expecting a left parenthesis
('(') [12.1.2][7.1(IEEE)].
(`include file: _uif/Stimulus.v line 8, file: tb.v line 6)
{ 0 , 0.5 ,0 , 3 } , //AT0
|
Does anyone know how to make ith right ??
Thanks
Rolf