Skip to content

Commit 431d061

Browse files
committed
Added SIMULATION define to the testbench template
1 parent 5a05b4d commit 431d061

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

delay.sv

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//------------------------------------------------------------------------------
2-
// delay.v
2+
// delay.sv
33
// Konstantin Pavlov, [email protected]
44
//------------------------------------------------------------------------------
55

main_tb.sv

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
// INFO ------------------------------------------------------------------------
77
// Testbench template with basic clocking, reset and random stimulus signals
88

9+
// use this define to make some things differently in simulation
10+
`define SIMULATION yes
11+
912
`timescale 1ns / 1ps
1013

1114
module main_tb();

0 commit comments

Comments
 (0)