Welcome to EDAboard.com

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.

what is vera equivalent of always?

Status
Not open for further replies.

viv_1005

Junior Member level 3
Joined
Feb 3, 2005
Messages
29
Helped
2
Reputation
4
Reaction score
0
Trophy points
1,281
Activity points
232
Hello
I wish to write an always block in Vera. How do I write it?

e.g.

always @(x or y or z) begin
if(x == 8'h0) a = 1'b1;
else a = 1'b0;
...
...
end

Thanks in advance
 

donald007

Newbie level 6
Joined
Aug 28, 2007
Messages
11
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,281
Location
TAIWAN
Activity points
1,336
viv_1005 said:
always @(x or y or z) begin
if(x == 8'h0) a = 1'b1;
else a = 1'b0;
...
...
end

Thanks in advance

Hi you can try this.

fork {
while(1) {
if(x == 8'h0) a = 1'b1;
else a = 1'b0;
...
...
}

}join none
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top