mirror of
https://github.com/steveicarus/iverilog.git
synced 2026-08-28 16:53:45 +02:00
By adding ivtest to the iverilog source tree, it is easier to keep the regression test synchronized with the source that is being tested. This should be especially helpful for PRs that add a new feature, and have a matching ivtest PR with the regression test for that feature.
17 lines
353 B
Verilog
17 lines
353 B
Verilog
module top;
|
|
int bound = 2;
|
|
real q_real [$];
|
|
real q_real1 [$:-1];
|
|
real q_real2 [$:'X];
|
|
real q_real3 [$:bound];
|
|
|
|
initial begin
|
|
$display(q_real.size(1.0));
|
|
$display(q_real.pop_front(1.0));
|
|
$display(q_real.pop_back(1.0));
|
|
q_real.push_front(1.0, 2.0);
|
|
q_real.push_back(1.0, 2.0);
|
|
$display("FAILED");
|
|
end
|
|
endmodule : top
|