rd1010_source_code
所属分类:VHDL/FPGA/Verilog
开发工具:Visual C++
文件大小:349KB
下载次数:138
上传日期:2007-12-01 17:42:20
上 传 者:
管理员
说明: 使用FPGA做SDRAM控制器
(SDRAM controller using FPGA so)
文件列表:
sdram_controller_xm (0, 2005-05-11)
sdram_controller_xm\docs (0, 2005-05-11)
sdram_controller_xm\docs\filelist.txt (897, 2005-05-11)
sdram_controller_xm\docs\user's guide.doc (427520, 2005-05-11)
sdram_controller_xm\par (0, 2005-05-11)
sdram_controller_xm\par\xm (0, 2005-05-11)
sdram_controller_xm\par\xm\sdr_top.log (99, 2005-03-10)
sdram_controller_xm\par\xm\sdr_top.mrp (53550, 2005-03-10)
sdram_controller_xm\par\xm\sdr_top.pad (38054, 2005-03-10)
sdram_controller_xm\par\xm\sdr_top.par (4348, 2005-03-10)
sdram_controller_xm\par\xm\sdr_top.prf (356, 2005-03-10)
sdram_controller_xm\par\xm\sdr_top.sdf (110563, 2005-03-10)
sdram_controller_xm\par\xm\sdr_top.tcl (6916, 2005-03-10)
sdram_controller_xm\par\xm\sdr_top.vo (146769, 2005-03-10)
sdram_controller_xm\par\xm\sdr_top_overconstraint.twr (6548, 2005-03-10)
sdram_controller_xm\par\xm\sdr_top_post.prf (358, 2005-03-10)
sdram_controller_xm\par\xm\sdr_top_post_route_trace.twr (4592, 2005-03-10)
sdram_controller_xm\simulation (0, 2005-05-11)
sdram_controller_xm\simulation\xm (0, 2005-05-11)
sdram_controller_xm\simulation\xm\modelsim (0, 2005-05-11)
sdram_controller_xm\simulation\xm\modelsim\rtl (0, 2005-05-11)
sdram_controller_xm\simulation\xm\modelsim\rtl\rtl_sim.log (4648, 2004-06-22)
sdram_controller_xm\simulation\xm\modelsim\scripts (0, 2005-05-11)
sdram_controller_xm\simulation\xm\modelsim\scripts\sdr_fsim.tcl (576, 2004-06-22)
sdram_controller_xm\simulation\xm\modelsim\scripts\sdr_tsim.tcl (445, 2005-01-19)
sdram_controller_xm\simulation\xm\modelsim\timing (0, 2005-05-11)
sdram_controller_xm\simulation\xm\modelsim\timing\timing_sim.log (32860, 2004-06-23)
sdram_controller_xm\source (0, 2005-05-11)
sdram_controller_xm\source\sdr_ctrl.v (9867, 2004-06-29)
sdram_controller_xm\source\sdr_data.v (5244, 2004-06-29)
sdram_controller_xm\source\sdr_par.v (7336, 2004-06-29)
sdram_controller_xm\source\sdr_sig.v (7843, 2004-06-29)
sdram_controller_xm\source\sdr_top.v (5256, 2004-06-29)
sdram_controller_xm\synthesis (0, 2005-05-11)
sdram_controller_xm\synthesis\xm (0, 2005-05-11)
sdram_controller_xm\synthesis\xm\synplicity (0, 2005-05-11)
sdram_controller_xm\synthesis\xm\synplicity\rev_1 (0, 2005-05-11)
sdram_controller_xm\synthesis\xm\synplicity\rev_1\sdr_top.edn (173573, 2005-01-19)
... ...
File List
1. /docs/filelist.txt --> Reference Design directory filelist
/docs/user's guide.doc --> USER GUIDE document
/docs/ReadMe.txt --> Read me file
2. /par/xm/synplicity/sdr_top.prf --> Preference file to constrain frequent to 190MHz
3. /simulation/xm/modelsim/scripts/sdr_fsim.tcl --> Scripts for RTL simulation
/simulation/xm/modelsim/scripts/sdr_tsim.tcl --> Scripts for timing simulation
4. /synthesis/xm/synplicity/sdr_top.tcl --> Scripts for synthesis using synplify
6. /testbench/sdr_tb.tf --> Testbench for simulation
Simulation
1. Launch modelsim oem edition.
2. Click [File] --> [Change Directory...] and select "/simulation/xm/modelsim/scripts".
3. Click [Tools] --> [Excute Macro]
For RTL simulation, select "/simulation/modelsim/scripts/sdr_fsim.tcl"
(if you want to do timing simulation, select "/simulation/modelsim/xm/scripts/sdr_tsim.tcl",
and remember do synthesis and PAR first).
Note: If you want to use a full-up version modesim, you will need to compile the MAGMA device library source
available in ispLEVER software.
Synthesis
1. Launch synplify.
2. Select Lattice XP, LFXP10E device.
3. Click [Run] -> [Run Tcl Scripts] and select /synthesis/xm/synplicity/sdr_top.tcl.
PAR
You can run PAR in two ways:
1) 1. Launch ispLEVER Tcl Editor.
2. Click [File] -> [Open...] and select /par/xm/sdr_top.tcl in your own directory.
3. in the tcl file line 4, replace the "e:/ref_design/sdram_controller/par/xm" with your own directory,
4. Click [Run] -> [Start] to run the whole flow.
5. Check the "sdr_top.mrp" and "sdr_top_post_route_trace.twr" to check the map and the performance report.
2) 1. Launch ispLEVER.
2. Create a new project in "/par/xm" under your own DIR and name it sdr_top, select EDIF type.
3. Select device as "LFXP10E -5F672CES". (Lattice-XP, LFXP10E, -5, FPBGA672)
4. Import source file from "/synthesis/xm/synplicity/rev_1/sdr_top.edn".
5. Click "Place and Route" on right panel to run PAR.
(Click "Generate Timing Simulation File" on right pannel if you want to do timing simulation).
6. Click [Source] -> [Import Constraint File], select sdr_top_post.prf.
7. Click "Place and Route Trace Report" on right panel to check the performance result.
近期下载者:
相关文件:
收藏者: