Register
Login
Update Profile
Home
About Us
Forum
Tips & Tricks
You are here:
Forum
SVUG Community Forum
Unanswered
Active Topics
Forums
Search
Forums
>
General Discussion
>
Main Discussion Area
Subject: Need SV help
Prev
Next
You are not authorized to post a reply.
Author
Messages
Oldest First
Newest First
Sunny
Posts:2
10/26/2007 5:47 PM
Hello Group,
Can anyone tell me if the code below is valid within SV boundaries or not? [ Bold, Red font part ] I Didnt get much from the LRM about this issue.
typedef reg[mem_width-1:0] mem_add;
reg[data_width-1:0]
mem
[mem_add]
Thanks,
Sunny
Dave
Posts:17
11/03/2007 5:19 PM
Yes, any type is legal as an associative array index as long as the equality operator is defined for that type.
Sunny
Posts:2
11/05/2007 11:58 AM
Thanks Dave.
You are not authorized to post a reply.
General Discussion
--Main Discussion Area
--News & Events
SVUG Archive
--Archive
----Queue as Function/Task Argument (ref)
----How to call Verilog tasks (Test bench) inside a Sy
----Modelling memory
----Ports in Interfaces
----FEM-BEM coupling in ANSYS
----Is semaphore put a task?
----checkpoint vs constraint??
----Hierarchical interfaces
----Using SVA inside classes, a possibility?
----Any suggestions for SVA of Finite State Machine
----What is the process for standardizing base classes
----Looking for reviewers for our new book
----AVM or VMM?
----New to SV
----Interface Wires(??)
----SV modport/clocking block: reading output port
----"Scoreboard" - where did this name come from??
----DPI: passing a list between C and system Verilog
--Cliff-Notes
Forums
>
General Discussion
>
Main Discussion Area
> Need SV help
ActiveForums 3.7
Copyright 2008 by SystemVerilog User Group
Contact Us
Privacy Statement