| 1 |
4 |
sumanta.chaudhuri |
set SYNTH_SRC "synth_src"
|
| 2 |
|
|
set_project_params -directory ./
|
| 3 |
|
|
set_project_params -results myboard.txt
|
| 4 |
|
|
set_project_params -sources "${SYNTH_SRC}/connect6.cpp ${SYNTH_SRC}/connect6_synth.cpp ${SYNTH_SRC}/main.cpp ${SYNTH_SRC}/state.cpp ${SYNTH_SRC}/threats.cpp ${SYNTH_SRC}/util.cpp"
|
| 5 |
|
|
set_project_params -headers "${SYNTH_SRC}/connect6.h ${SYNTH_SRC}/connect6_synth.h ${SYNTH_SRC}/shared.h ${SYNTH_SRC}/threats.h ${SYNTH_SRC}/util.h"
|
| 6 |
|
|
|
| 7 |
|
|
if [file exists imp_adjacent] { delete_implementation imp_adjacent }
|
| 8 |
|
|
create_implementation imp_adjacent
|
| 9 |
|
|
|
| 10 |
|
|
set_implementation_params -systemc_source no
|
| 11 |
|
|
set_implementation_params -memory_return_path_external_delay 0%
|
| 12 |
|
|
set_implementation_params -memory_forward_path_external_delay 0%
|
| 13 |
|
|
set_implementation_params -instream_forward_path_external_delay 0%
|
| 14 |
|
|
set_implementation_params -sccompiler_args "-DDONT_VERIFY_PPAID"
|
| 15 |
|
|
set_implementation_params -outstream_return_path_external_delay 0%
|
| 16 |
|
|
set_implementation_params -appfiles " ${SYNTH_SRC}/state.cpp ${SYNTH_SRC}/threats.cpp"
|
| 17 |
|
|
set_implementation_params -proc ai_adjacent
|
| 18 |
|
|
set_implementation_params -memory_forward_boundary_register infer
|
| 19 |
|
|
set_implementation_params -techlib altera-cyclone3
|
| 20 |
|
|
set_implementation_params -memory_return_boundary_register infer
|
| 21 |
|
|
set_implementation_params -cexec_args "-port /dev/ttyS0 -player L"
|
| 22 |
|
|
set_implementation_params -host_memory_access never,,,
|
| 23 |
|
|
set_implementation_params -device ep3c25-ea144-7
|
| 24 |
|
|
set_implementation_params -init_data_registers yes
|
| 25 |
|
|
set_implementation_params -outstream_forward_path_external_delay 0%
|
| 26 |
|
|
set_implementation_params -build_tcab yes
|
| 27 |
|
|
set_implementation_params -reset_data_registers yes
|
| 28 |
|
|
set_implementation_params -instream_return_path_external_delay 0%
|
| 29 |
|
|
set_implementation_params -clock_freq 100
|
| 30 |
|
|
set_implementation_params -allow_latency_violation no
|
| 31 |
|
|
#set_implementation_params -user_supplied_fpga_memory_read_write_ports separate
|
| 32 |
|
|
#set_implementation_params -internal_blockram_memory_read_write_ports separate
|
| 33 |
|
|
|
| 34 |
|
|
|
| 35 |
|
|
|
| 36 |
|
|
|
| 37 |
|
|
csim -golden -cexec_args "-port /dev/ttyS0 -player L"
|
| 38 |
|
|
preprocess
|
| 39 |
|
|
csim -preprocess -cexec_args "-port /dev/ttyS0 -player L"
|
| 40 |
|
|
schedule
|
| 41 |
|
|
csim -schedule -cexec_args "-port /dev/ttyS0 -player L"
|
| 42 |
|
|
synthesize
|
| 43 |
|
|
#csim -synthesize -dump_memory_access_trace
|
| 44 |
|
|
create_rtl_package
|
| 45 |
|
|
#set_implementation_params -simulator modelsim
|
| 46 |
|
|
#vlogsim -offline -dotasks 1-30
|