blob: 47165498b377d6c2e220c125c0ad3ea2342a7a59 [file] [log] [blame]
// Copyright lowRISC contributors.
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0
module tb;
import uvm_pkg::*;
import dv_utils_pkg::*;
import xbar_test_pkg::*;
wire clk, rst_n;
clk_rst_if clk_rst_if(.clk(clk), .rst_n(rst_n));
// this file is auto-generated and the path to this file should be provided in xbar_*_sim.core
`include "tb__xbar_connect.sv"
initial begin
// drive clk and rst_n from clk_if
clk_rst_if.set_active();
uvm_config_db#(virtual clk_rst_if)::set(null, "*.env*", "clk_rst_vif", clk_rst_if);
$timeformat(-12, 0, " ps", 12);
run_test();
end
endmodule