- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 ),
.address_a (Add_wr ),
.address_b (Add_rd ),
.clock_a (Clk_MAC ),
.clock_b (Clk_SYS ),
.q_b (Dout ));
Error (10170): Verilog HDL syntax error at MAC_rx_FF.v(720) near text ","; expecting ".", or an operand
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The 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"
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page