aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/quartus_synth.tcl
blob: 971acc6f9be4818cd13d951a1565e3382d9108fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# PRiME pre-KAPow kernel flow
# Performs pre-KAPow run steps for instrumenting arbitrary Verilog for power monitoring
# James Davis, 2015

load_package flow

cd kernel

project_new kernel
set_global_assignment -name FAMILY "Cyclone 10 GX"
set_global_assignment -name SYSTEMVERILOG_FILE kernel.v
set_global_assignment -name TOP_LEVEL_ENTITY top
set_global_assignment -name INI_VARS "qatm_force_vqm=on;"
set_instance_assignment -name VIRTUAL_PIN ON -to *

execute_module -tool map

execute_module -tool fit

execute_module -tool eda -args "--simulation --tool=vcs"

# set_global_assignment -name POWER_OUTPUT_SAF_NAME ${kernel}.asf
# set_global_assignment -name POWER_DEFAULT_INPUT_IO_TOGGLE_RATE "12.5 %"
# set_global_assignment -name POWER_REPORT_SIGNAL_ACTIVITY ON
# set_global_assignment -name POWER_REPORT_POWER_DISSIPATION ON
# execute_module -tool pow

project_close