Hi Joel,

I found the most probable issue for your synthesis problems. In the file
"rtl/sram_interface.v" there is generic code, which does not compile
properly using XST (Xilinx Synthesis Tool).

One issue is the $clog2 function (used to calculate the counter/address bus
width for the FIFO/memory from the memory size) inside "rtl/cdc.v" and
commented out in "rtl/sram_interface.v". Inside "rtl/sram_interface.v" is
the 6kB memory for which XST consumes 16 blocks, instead of the actually
necessary 12. This is probably why your project does not fit.

This two Xilinx specific exceptions are inside an ifdef/endif block, and
the macro "XC3S250E" must be available for this code to compile properly
using XST. One way to solve this is to define this macro at the beginning
of this files:
`define XC3S250E
The other option is to add macro definitions to the Xilinx project file,
this is used in the project on my repo. Here are some instructions (under
Verilog Macros):
http://www.xilinx.com/itp/xilinx10/isehelp/pp_db_xst_synthesis_options.htm
Advanced settings have to be enabled for the option to be present:
http://www.xilinx.com/itp/xilinx10/isehelp/pn_c_setting_advanced_properties.htm


I have created some more generic test environment code (not used much yet),
and decided to start porting to a board I own
(Ordb2a-ep4ce22<http://opencores.org/or1k/Ordb2a-ep4ce22>)
or can borrow (Terasic
DE1<http://www.terasic.com.tw/cgi-bin/page/archive.pl?No=83>).
For this purpose I will revive the UART interface.

Regards,
Iztok Jeras
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
sigrok-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to