aboutsummaryrefslogtreecommitdiffstats
path: root/picosoc
diff options
context:
space:
mode:
Diffstat (limited to 'picosoc')
-rw-r--r--picosoc/picosoc.v2
1 files changed, 2 insertions, 0 deletions
diff --git a/picosoc/picosoc.v b/picosoc/picosoc.v
index 0f82df5..6298a8e 100644
--- a/picosoc/picosoc.v
+++ b/picosoc/picosoc.v
@@ -17,11 +17,13 @@
*
*/
+`ifndef PICORV32_REGS
`ifdef PICORV32_V
`error "picosoc.v must be read before picorv32.v!"
`endif
`define PICORV32_REGS picosoc_regs
+`endif
module picosoc (
input clk,