mirror of https://github.com/YosysHQ/picorv32.git
Add DEBUGNETS debug flag
This commit is contained in:
parent
75830805b8
commit
aaa9e25756
|
@ -19,6 +19,7 @@
|
|||
|
||||
`timescale 1 ns / 1 ps
|
||||
// `default_nettype none
|
||||
// `define DEBUGNETS
|
||||
// `define DEBUGREGS
|
||||
// `define DEBUGASM
|
||||
// `define DEBUG
|
||||
|
@ -32,8 +33,12 @@
|
|||
`ifdef FORMAL
|
||||
`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
|
||||
|
||||
|
|
Loading…
Reference in New Issue