URL
https://opencores.org/ocsvn/core1990_interlaken/core1990_interlaken/trunk
Details |
Compare with Previous |
View Log
Line No. |
Rev |
Author |
Line |
1 |
9 |
N.Boukadid |
#
|
2 |
|
|
# File import script for the core1990 interlaken hdl project
|
3 |
|
|
#
|
4 |
|
|
|
5 |
|
|
source vivado_import_virtex7.tcl
|
6 |
|
|
|
7 |
|
|
# ----------------------------------------------------------
|
8 |
|
|
# Example design files
|
9 |
|
|
# ----------------------------------------------------------
|
10 |
|
|
read_vhdl -library work $proj_dir/sources/example/core1990_test.vhd
|
11 |
|
|
read_vhdl -library work $proj_dir/sources/example/data_generator.vhd
|
12 |
|
|
read_vhdl -library work $proj_dir/sources/example/pipeline.vhd
|
13 |
|
|
|
14 |
|
|
# ----------------------------------------------------------
|
15 |
|
|
# Example design IP cores
|
16 |
|
|
# ----------------------------------------------------------
|
17 |
|
|
import_ip $proj_dir/sources/ip_cores/ILA_Data.xci
|
18 |
|
|
import_ip $proj_dir/sources/ip_cores/vio_0.xci
|
19 |
|
|
|
20 |
|
|
# ----------------------------------------------------------
|
21 |
|
|
# finish project initilization
|
22 |
|
|
# ----------------------------------------------------------
|
23 |
|
|
upgrade_ip [get_ips]
|
24 |
|
|
|
25 |
|
|
read_xdc -verbose $proj_dir/constraints/Core1990_Constraints.xdc
|
26 |
|
|
read_xdc -verbose $proj_dir/constraints/debug_probes.xdc
|
27 |
|
|
set_property target_constrs_file $proj_dir/constraints/debug_probes.xdc [current_fileset -constrset]
|
28 |
|
|
|
29 |
|
|
set_property top Interface_Test [current_fileset]
|
30 |
|
|
|
31 |
|
|
# ----------------------------------------------------------
|
32 |
|
|
# Example design testbench
|
33 |
|
|
# ----------------------------------------------------------
|
34 |
|
|
set_property SOURCE_SET sources_1 [get_filesets sim_1]
|
35 |
|
|
add_files -fileset sim_1 -norecurse $proj_dir/simulation/testbench_interlaken_interface_behav.wcfg
|
36 |
|
|
add_files -fileset sim_1 -norecurse $proj_dir/simulation/Core1990_Test_tb.vhd
|
37 |
|
|
|
38 |
|
|
puts "INFO: Done!"
|
39 |
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.