aboutsummaryrefslogtreecommitdiffstats
path: root/picorv32.v
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2017-02-26 16:56:13 +0100
committerClifford Wolf <clifford@clifford.at>2017-02-26 16:56:13 +0100
commitaaa9e25756c1765353e6ff42da82cbedeecf62cd (patch)
tree604f5c5738a717efef3d59688af648ed136630e0 /picorv32.v
parent75830805b8bc0db33490a817a421b5adfd1ce82b (diff)
downloadpicorv32-aaa9e25756c1765353e6ff42da82cbedeecf62cd.tar.gz
picorv32-aaa9e25756c1765353e6ff42da82cbedeecf62cd.zip
Add DEBUGNETS debug flag
Diffstat (limited to 'picorv32.v')
-rw-r--r--picorv32.v7
1 files changed, 6 insertions, 1 deletions
diff --git a/picorv32.v b/picorv32.v
index b6c8707..7eba420 100644
--- a/picorv32.v
+++ b/picorv32.v
@@ -19,6 +19,7 @@
`timescale 1 ns / 1 ps
// `default_nettype none
+// `define DEBUGNETS
// `define DEBUGREGS
// `define DEBUGASM
// `define DEBUG
@@ -33,7 +34,11 @@
`define FORMAL_KEEP (* keep *)
`define assert(assert_expr) assert(assert_expr)
`else
- `define FORMAL_KEEP
+ `ifdef DEBUGNETS
+ `define FORMAL_KEEP (* keep *)
+ `else
+ `define FORMAL_KEEP
+ `endif
`define assert(assert_expr) empty_statement
`endif