Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Re: Tools that Support "System Verilog Assertions"
synopsys support sv, including assertions also,
but i don't think so, VCS works over windows plotform...
Re: verilog file read
$fgets(line,fd);
will read line by line from the file descriptor "fd", and stores in the reg vector "line".
one thing is that, you should be careful in declaring the width of the reg_vector "line".
such, that the width should be more enough to store the line....
i think...
blocking get in vmm_channel
.get() will take out the data from the channe,
.peek() will just take the copy of the data,
both the tasks are blocking,
stops simulation unless the channel is again having atleast one data member.
if the channel is empty, and if you are doing .get() on that...
systemverilog random seed
srandom(int seed) is the key to have manual seed....
class packet;
rand bit [7:0] header;
function new(int seed);
this.srandom(seed);
endfunction
endclass
initial begin
packet p=new;
p.new(33);
end
if you are working only on verification side,
means you are always writing test bench prorams, then vera is ok,
if you do write both the design and test benches,
it better to adopt the system verilog.
you can have design as well as test bench constructs in system verilog.
i feel, nothing...
hi, i am attaching the .c file for the above program, try this program, if it solves your problem, its ok, other wise let me know, i will change this again.....
#include<stdio.h>
int main ()
{
typedef struct {int marks; int year;}Struct;
Struct Array[10];
int...
Re: ** SYSTEM VERILOG **
hi Ankith,
declare this unwanted variable "goodcrc" outside the class scope, lets say in program scope. ok, now in the post_randomize() function do randomize this goodcrc like
goodcrc=$random, and remaining things are as before..
class methods can see the signals...
Hi,
there are many ways to solve this problem..
ok, let me explain one way for this..
1. Take an array of structures, lets say of size for example 10...
structure should consists of two fields a. "year" to which the student belongs to
b...
Re: perl
Yes, Perl is a very good handy tool for your work, irrespective of design or verification..
once you learn the basics, you can minimise your work.
there is a topic in perl, Regular Expressions does a lot for the automation.
Basically Perl is mostly used for Text processing as far as I...
Re: System verilog----
hi ankit,
try vcs 2006-06 version, it supports most of the SV features, constraints and many more which are very helpful for verification environment.
better try to check with your administrator regarding the latest version of vcs available.
anyways, please let me...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.