You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Author Name: Rafael Shirakawa
Original Redmine Issue: 37 from https://www.veripool.org
Original Date: 2008-10-17
Hi,
Can verilator support sensitivity list with edges and activity wires?
like this example will generate an error:
module example;
wire a;
wire b;
wire c;
always @(a or negedge b)
begin
if ( b == 1'b0)
begin
c = a;
end
end
endmodule
and this other one will translate without any error:
module example;
wire a;
wire b;
wire c;
always @(a)
begin
if ( b == 1'b0)
begin
c = a;
end
end
always @(negedge b)
begin
if ( b == 1'b0)
begin
c = a;
end
end
endmodule
The text was updated successfully, but these errors were encountered:
Original Redmine Comment
Author Name: Rafael Shirakawa
Original Date: 2008-10-21T15:31:11Z
Yes, you're right, I've checked what this code is doing in my model and it happens to be part of a behavioral memory model, so it is not synthesized... sorry for opening this issue. <@:)
by the way, is there any forecast for Verilator to support some behavioral code, like real variables?
Original Redmine Comment
Author Name: Wilson Snyder (@wsnyder)
Original Date: 2008-10-29T01:05:14Z
Closed as not behavioral.
As for real variables, they too aren't synthesizable. If someone were to contribute code to support this, I would take it though. It's a fair amount of work, since reals affect so many operators. I can provide direction if you want to undertake this effort.
Author Name: Rafael Shirakawa
Original Redmine Issue: 37 from https://www.veripool.org
Original Date: 2008-10-17
Hi,
Can verilator support sensitivity list with edges and activity wires?
like this example will generate an error:
and this other one will translate without any error:
The text was updated successfully, but these errors were encountered: