aboutsummaryrefslogtreecommitdiffstats
path: root/sources/hdl/sim_verilog/tb_softmc_top.v
diff options
context:
space:
mode:
Diffstat (limited to 'sources/hdl/sim_verilog/tb_softmc_top.v')
-rw-r--r--sources/hdl/sim_verilog/tb_softmc_top.v42
1 files changed, 42 insertions, 0 deletions
diff --git a/sources/hdl/sim_verilog/tb_softmc_top.v b/sources/hdl/sim_verilog/tb_softmc_top.v
new file mode 100644
index 0000000..6a61f44
--- /dev/null
+++ b/sources/hdl/sim_verilog/tb_softmc_top.v
@@ -0,0 +1,42 @@
+`timescale 1ns / 1ps
+//////////////////////////////////////////////////////////////////////////////////
+// Company:
+// Engineer:
+//
+// Create Date: 12/06/2018 05:43:09 PM
+// Design Name:
+// Module Name: tb_softmc_top
+// Project Name:
+// Target Devices:
+// Tool Versions:
+// Description:
+//
+// Dependencies:
+//
+// Revision:
+// Revision 0.01 - File Created
+// Additional Comments:
+//
+//////////////////////////////////////////////////////////////////////////////////
+
+
+module tb_only_softmc(
+
+ );
+
+ reg clk = 0, rst = 1;
+ softmc_top smct(
+ .clk(clk),
+ .rst(rst)
+ );
+
+ initial begin
+ #50;
+ rst = 0;
+ end
+
+ always begin
+ #5;
+ clk = ~clk;
+ end
+endmodule