Merge pull request #69 from olofk/picosoc_regs_v3

Bypass picosoc compile order check if PICORV32_REGS is defined.
This commit is contained in:
Clifford Wolf 2018-05-19 12:09:52 +02:00 committed by GitHub
commit 147da6432a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -17,11 +17,13 @@
* *
*/ */
`ifndef PICORV32_REGS
`ifdef PICORV32_V `ifdef PICORV32_V
`error "picosoc.v must be read before picorv32.v!" `error "picosoc.v must be read before picorv32.v!"
`endif `endif
`define PICORV32_REGS picosoc_regs `define PICORV32_REGS picosoc_regs
`endif
module picosoc ( module picosoc (
input clk, input clk,