|
| 1 | +// *************************************************************************** |
| 2 | +// *************************************************************************** |
| 3 | +// Copyright 2014-2023 (c) Analog Devices, Inc. All rights reserved. |
| 4 | +// |
| 5 | +// In this HDL repository, there are many different and unique modules, consisting |
| 6 | +// of various HDL (Verilog or VHDL) components. The individual modules are |
| 7 | +// developed independently, and may be accompanied by separate and unique license |
| 8 | +// terms. |
| 9 | +// |
| 10 | +// The user should read each of these license terms, and understand the |
| 11 | +// freedoms and responsabilities that he or she has by using this source/core. |
| 12 | +// |
| 13 | +// This core is distributed in the hope that it will be useful, but WITHOUT ANY |
| 14 | +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR |
| 15 | +// A PARTICULAR PURPOSE. |
| 16 | +// |
| 17 | +// Redistribution and use of source or resulting binaries, with or without modification |
| 18 | +// of this file, are permitted under one of the following two license terms: |
| 19 | +// |
| 20 | +// 1. The GNU General Public License version 2 as published by the |
| 21 | +// Free Software Foundation, which can be found in the top level directory |
| 22 | +// of this repository (LICENSE_GPL2), and also online at: |
| 23 | +// <https://www.gnu.org/licenses/old-licenses/gpl-2.0.html> |
| 24 | +// |
| 25 | +// OR |
| 26 | +// |
| 27 | +// 2. An ADI specific BSD license, which can be found in the top level directory |
| 28 | +// of this repository (LICENSE_ADIBSD), and also on-line at: |
| 29 | +// https://github.com/analogdevicesinc/hdl/blob/master/LICENSE_ADIBSD |
| 30 | +// This will allow to generate bit files and not release the source code, |
| 31 | +// as long as it attaches to an ADI device. |
| 32 | +// |
| 33 | +// *************************************************************************** |
| 34 | +// *************************************************************************** |
| 35 | + |
| 36 | +`timescale 1ns/1ps |
| 37 | + |
| 38 | +`include "utils.svh" |
| 39 | + |
| 40 | +module system_tb(); |
| 41 | + wire pwm_gen_o_0; |
| 42 | + wire pwm_gen_o_1; |
| 43 | + wire pwm_gen_o_2; |
| 44 | + wire pwm_gen_o_3; |
| 45 | + wire pwm_gen_o_4; |
| 46 | + wire pwm_gen_o_5; |
| 47 | + wire pwm_gen_o_6; |
| 48 | + wire pwm_gen_o_7; |
| 49 | + wire pwm_gen_o_8; |
| 50 | + wire pwm_gen_o_9; |
| 51 | + wire pwm_gen_o_10; |
| 52 | + wire pwm_gen_o_11; |
| 53 | + wire pwm_gen_o_12; |
| 54 | + wire pwm_gen_o_13; |
| 55 | + wire pwm_gen_o_14; |
| 56 | + wire pwm_gen_o_15; |
| 57 | + |
| 58 | + wire sys_clk; |
| 59 | + |
| 60 | + `TEST_PROGRAM test( |
| 61 | + .pwm_gen_o_0 (pwm_gen_o_0), |
| 62 | + .pwm_gen_o_1 (pwn_gen_o_1), |
| 63 | + .pwm_gen_o_2 (pwm_gen_o_2), |
| 64 | + .pwm_gen_o_3 (pwm_gen_o_3), |
| 65 | + .pwm_gen_o_4 (pwm_gen_o_4), |
| 66 | + .pwm_gen_o_5 (pwm_gen_o_5), |
| 67 | + .pwm_gen_o_6 (pwm_gen_o_6), |
| 68 | + .pwm_gen_o_7 (pwm_gen_o_7), |
| 69 | + .pwm_gen_o_8 (pwm_gen_o_8), |
| 70 | + .pwm_gen_o_9 (pwn_gen_o_9), |
| 71 | + .pwm_gen_o_10 (pwm_gen_o_10), |
| 72 | + .pwm_gen_o_11 (pwm_gen_o_11), |
| 73 | + .pwm_gen_o_12 (pwm_gen_o_12), |
| 74 | + .pwm_gen_o_13 (pwm_gen_o_13), |
| 75 | + .pwm_gen_o_14 (pwm_gen_o_14), |
| 76 | + .pwm_gen_o_15 (pwm_gen_o_15), |
| 77 | + |
| 78 | + .sys_clk (sys_clk)); |
| 79 | + |
| 80 | + test_harness `TH ( |
| 81 | + .pwm_gen_o_0 (pwm_gen_o_0), |
| 82 | + .pwm_gen_o_1 (pwn_gen_o_1), |
| 83 | + .pwm_gen_o_2 (pwm_gen_o_2), |
| 84 | + .pwm_gen_o_3 (pwm_gen_o_3), |
| 85 | + .pwm_gen_o_4 (pwm_gen_o_4), |
| 86 | + .pwm_gen_o_5 (pwm_gen_o_5), |
| 87 | + .pwm_gen_o_6 (pwm_gen_o_6), |
| 88 | + .pwm_gen_o_7 (pwm_gen_o_7), |
| 89 | + .pwm_gen_o_8 (pwm_gen_o_8), |
| 90 | + .pwm_gen_o_9 (pwn_gen_o_9), |
| 91 | + .pwm_gen_o_10 (pwm_gen_o_10), |
| 92 | + .pwm_gen_o_11 (pwm_gen_o_11), |
| 93 | + .pwm_gen_o_12 (pwm_gen_o_12), |
| 94 | + .pwm_gen_o_13 (pwm_gen_o_13), |
| 95 | + .pwm_gen_o_14 (pwm_gen_o_14), |
| 96 | + .pwm_gen_o_15 (pwm_gen_o_15), |
| 97 | + .sys_clk (sys_clk)); |
| 98 | + |
| 99 | +endmodule |
0 commit comments