Add DEBUGNETS debug flag

This commit is contained in:
Clifford Wolf 2017-02-26 16:56:13 +01:00
parent 75830805b8
commit aaa9e25756
1 changed files with 6 additions and 1 deletions

View File

@ -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
`ifdef DEBUGNETS
`define FORMAL_KEEP (* keep *)
`else
`define FORMAL_KEEP
`endif
`define assert(assert_expr) empty_statement
`endif