URL
https://opencores.org/ocsvn/socgen/socgen/trunk
Subversion Repositories socgen
[/] [socgen/] [trunk/] [Projects/] [opencores.org/] [io/] [ip/] [io_module/] [sim/] [icarus/] [gpio_default/] [test_define] - Rev 131
Compare with Previous | Blame | View Log
initial
begin
$display(" ");
$display(" ===================================================");
$display("%t Test Start",$realtime);
$display(" ===================================================");
$display(" ");
test.cg.next(20);
test.cg.next(10);
// Test io_gpio
test.bus.u_cmp(16'h8000, 8'h00);
test.cg.next(1);
test.bus.u_cmp(16'h8002, 8'h00);
test.cg.next(1);
test.bus.u_cmp(16'h8004, 8'h00);
test.cg.next(1);
test.bus.u_cmp(16'h8006, 8'h00);
test.cg.next(1);
test.cg.next(100);
test.cg.exit;
end