|
Forums
Conferences
SIG Info
LUG Info
FAQs
Jobs
Mentor Graphics
MEMBERS ONLY
Change Profile
Email Archives
SIG Top Issues
User Library
Conference Proceedings
Search
|
|
questvlsi
member
Reged: 07/24/07
Posts: 1
Loc: Bangalore/Karnataka/India
|
|
Hello All, Iam not sure is this the correct forum to post this question since its related to Modelsim6.3a iam posting here. Iam trying to put a class inside Mailbox, there is no compilation error in Modelsim6.3a but when i executing vsim its not getting simulated properly. There is a simulation error happening. But the same code is getting compiled in ncverilog, is this a limitation of Modelsim6.3a, i have given the code below for reference.
<code> program test(); class test; rand i; randc j; endclass
mailbox mbx; test t1;
initial begin mbx = new; t1 = new; assert (t1.randomize()); mbx.put(t1); // Simulation error at this point endprogram
</code>
Can any one let me know how i can pass class through mailbox using Modelsim6.3a
QuestVlsi
|
shaohao
member
Reged: 08/29/07
Posts: 3
Loc: Shanghai, China
|
|
mailbox #(test) mbx;
|
|
0 registered and 0 anonymous users are browsing this forum.
Moderator: MUGadmin, DavidZar, Phil Lindberg
Print Topic
|
Forum Permissions
You cannot start new topics
You cannot reply to topics
HTML is disabled
UBBCode is enabled
|
Rating:
Topic views: 830
|
|
|
|
|
|
Powered by UBB.threads™ 6.5.4
|