1
0
mirror of https://github.com/aolofsson/oh.git synced 2025-01-17 20:02:53 +08:00

Fixing include files for emailbox

- All "folders" should be independent
This commit is contained in:
Andreas Olofsson 2015-11-02 16:15:20 -05:00
parent 22714f3d9d
commit ff3af0b21c
2 changed files with 8 additions and 4 deletions

View File

@ -18,7 +18,7 @@
# #
########################################################################### ###########################################################################
*/ */
//`include "emailbox_regmap.v" // is there a better way? `include "emailbox_regmap.v" // is there a better way?
module emailbox (/*AUTOARG*/ module emailbox (/*AUTOARG*/
// Outputs // Outputs
mi_dout, mailbox_full, mailbox_not_empty, mi_dout, mailbox_full, mailbox_not_empty,

View File

@ -1,7 +1,11 @@
`ifndef EMAILBOX_REGMAP_V_ `ifndef EMAILBOX_REGMAP_V_
`define EMAILBOX_REGMAP_V_ `define EMAILBOX_REGMAP_V_
`define E_MAILBOXLO 6'd4 //F0314-reserved-->move? `ifndef E_MAILBOXLO
`define E_MAILBOXHI 6'd5 //F0318-reserved `define E_MAILBOXLO 6'd4
`endif
`ifndef E_MAILBOXHI
`define E_MAILBOXHI 6'd5
`endif
`endif `endif