OpenCores
URL https://opencores.org/ocsvn/vtach/vtach/trunk

Subversion Repositories vtach

[/] [vtach/] [trunk/] [ipcore_dir/] [mainmem_ste/] [implement/] [implement.sh] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 wd5gnr
#!/bin/sh
2
 
3
# Clean up the results directory
4
rm -rf results
5
mkdir results
6
 
7
#Synthesize the Wrapper Files
8
echo 'Synthesizing XST wrapper file (core_top.vhd) with XST';
9
echo 'Synthesizing example design with XST';
10
xst -ifn xst.scr
11
cp mainmem_top.ngc ./results/
12
 
13
 
14
# Copy the netlist generated by Coregen
15
echo 'Copying files from the netlist directory to the results directory'
16
cp ../../mainmem.ngc results/
17
 
18
#  Copy the constraints files generated by Coregen
19
echo 'Copying files from constraints directory to results directory'
20
cp ../example_design/mainmem_top.ucf results/
21
 
22
cd results
23
 
24
echo 'Running ngdbuild'
25
ngdbuild -p xc3s1000-ft256-4 mainmem_top
26
 
27
echo 'Running map'
28
map mainmem_top -o mapped.ncd -pr i
29
 
30
echo 'Running par'
31
par mapped.ncd routed.ncd
32
 
33
echo 'Running trce'
34
trce -e 10 routed.ncd mapped.pcf -o routed
35
 
36
echo 'Running design through bitgen'
37
bitgen -w routed
38
 
39
echo 'Running netgen to create gate level Verilog model'
40
netgen -ofmt verilog -sim -tm mainmem_top -pcf mapped.pcf -w routed.ncd routed.v
41
cp routed.sdf ../../production/timing/

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.