Forum Discussion
Altera_Forum
Honored Contributor
14 years agoMAC error
I got this error in Opencores 10/100/1000. Please help me fix it: :) duram# (36,`MAC_RX_FF_DEPTH,"M4K") U_duram( // Error here
.data_a (Din ),
.wren_a (Wr_en ...
BMous2
New Contributor
7 years agoThe problem is that `MAC_RX_FF_DEPTH is not defined.
The define for it is set in a file called header.v in the same directory in the project.
If you can't find it just create a file and add the following to it:
`define MAC_SOURCE_REPLACE_EN 1
`define MAC_TARGET_CHECK_EN 1
`define MAC_BROADCAST_FILTER_EN 1
`define MAC_TX_FF_DEPTH 9
`define MAC_RX_FF_DEPTH 9
At last in the files you're getting the errors in just add:
`include "header.v"