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 `timescale 1 ns / 1 ps
// `default_nettype none // `default_nettype none
// `define DEBUGNETS
// `define DEBUGREGS // `define DEBUGREGS
// `define DEBUGASM // `define DEBUGASM
// `define DEBUG // `define DEBUG
@ -32,8 +33,12 @@
`ifdef FORMAL `ifdef FORMAL
`define FORMAL_KEEP (* keep *) `define FORMAL_KEEP (* keep *)
`define assert(assert_expr) assert(assert_expr) `define assert(assert_expr) assert(assert_expr)
`else
`ifdef DEBUGNETS
`define FORMAL_KEEP (* keep *)
`else `else
`define FORMAL_KEEP `define FORMAL_KEEP
`endif
`define assert(assert_expr) empty_statement `define assert(assert_expr) empty_statement
`endif `endif