Multi Dimentional Associative array with modelsim

We are trying to compile ovm on the vcs and and I came across some code which was giving issue with VCS but it works in modelsim. So here is what the code looks like :

typedef int pint;
typedef pint pnewint[string];

module test;
pnewint aa [string];
initial begin
aa["ss"]["ss"] = 1;
$display (”I am here in test %d \n”, aa["ss"]["ss"]);
end
endmodule

Output :

=====

VSIM 1> run
run
# I am here in test           1
#

After that I tried a direct deceleration test like :

module test;
int aa [string] [string];
initial begin
aa["ss"]["ss"] = 1;
$display (”I am here in test %d \n”, aa["ss"]["ss"]);
end
endmodule

Output :

=====

VSIM 1> run
run
# I am here in test           1
#

So basically the above statements mean that modelsim allow multi dimentional associative array creation. Now the question is  does LRM allows it.  I guess it does not :( .

Tags: ,

83 Responses to “Multi Dimentional Associative array with modelsim”

  1. CLIFTON says:

    Buy@Cheap.Actoplus.Met” rel=”nofollow”>..

    Buygeneric meds qmo…

  2. RODNEY says:

    Order@Cheap.Adalat” rel=”nofollow”>..

    Buygeneric drugs lzt…

  3. RAY says:

    Buy@Discount.Abana” rel=”nofollow”>.

    Buygeneric drugs zfk…

  4. MARCUS says:

    Buy@Discount.Abilify” rel=”nofollow”>..

    Buynow it vhx…

  5. LAWRENCE says:

    Purchase@Discount.Abilify” rel=”nofollow”>..

    Buywithout prescription dyo…

  6. JEREMIAH says:

    Buy@Generic.Abilify.Without.Prescription” rel=”nofollow”>..

    Buynow it tly…

  7. SERGIO says:

    Order@Generic.Abilify” rel=”nofollow”>.

    Buyno prescription luw…

  8. MITCHELL says:

    Generic@Abilify.5mg.10mg.15mg.20mg.30mg.Without.Prescription” rel=”nofollow”>..

    Buydrugs without prescription faj…

  9. VINCENT says:

    Purchase@Acai.Online” rel=”nofollow”>.

    Buyit now ojb…

  10. MARION says:

    Buy@Generic.Acai” rel=”nofollow”>.

    Buygeneric drugs mby…

  11. JERRY says:

    Cheap@Generic.Acai” rel=”nofollow”>…

    Buydrugs without prescription vrg…

  12. BRYAN says:

    Buy@Generic.Acai.500mg” rel=”nofollow”>.

    Buygeneric drugs nih…

  13. JOEL says:

    Order@Cheap.Energy.Boost” rel=”nofollow”>..

    Buyno prescription wkp…

  14. MARION says:

    Order@Discount.Energy.Boost” rel=”nofollow”>..

    Buyno prescription gdt…

  15. HOMER says:

    Purchase@Cheap.Accupril” rel=”nofollow”>..

    Buyit now irl…

  16. PHILIP says:

    Purchase@Discount.Accupril” rel=”nofollow”>…

    Buygeneric meds svb…

  17. MARVIN says:

    Cheap@Accutane.Online” rel=”nofollow”>.

    Buynow it lmg…

  18. BRUCE says:

    Purchase@Discount.Aciphex” rel=”nofollow”>..

    Buyno prescription jui…

  19. BRUCE says:

    Cheap@Generic.Aciphex.20mg” rel=”nofollow”>…

    Buynow it zdg…

  20. ALEX says:

    Purchase@Discount.Acomplia” rel=”nofollow”>..

    Buygeneric drugs ajd…

  21. CHRIS says:

    Cheap@Acomplia.Online” rel=”nofollow”>..

    Buygeneric drugs nvr…

  22. MILTON says:

    Buy@Actonel.Online” rel=”nofollow”>..

    Buydrugs without prescription hak…

  23. CARLOS says:

    Purchase@Actonel.Online” rel=”nofollow”>…

    Buygeneric drugs vbr…

  24. VINCENT says:

    Purchase@Cheap.Actonel” rel=”nofollow”>.

    Buydrugs without prescription xab…

  25. TRAVIS says:

    Order@Discount.Advair” rel=”nofollow”>..

    Buyno prescription tao…

  26. BILLY says:

    Get@Aggrenox.Online” rel=”nofollow”>…

    Buynow fjl…

  27. RENE says:

    Order@Cheap.Albenza” rel=”nofollow”>…

    Buynow it sxk…

  28. BRENT says:

    abilify@and.weight.gain” rel=”nofollow”>…

    Buyno prescription…

  29. BARRY says:

    risperdal@vs.abilify” rel=”nofollow”>.

    Buygeneric drugs…

  30. RICHARD says:

    allegra@generic.purchase” rel=”nofollow”>…

    Buynow…

  31. OLIVER says:

    phamacokinetic@of.amikacin” rel=”nofollow”>..

    Buygeneric drugs…

  32. MARTIN says:

    ampicillin@500.mg” rel=”nofollow”>.

    Buydrugs without prescription…

  33. gerard says:

    Search music now US Charts…

Leave a Reply