aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2020-06-25 11:36:39 +0100
committerYann Herklotz <git@yannherklotz.com>2020-06-25 11:36:39 +0100
commit75c75c52cdaa71b268f0fadc4c31aba0e099abbc (patch)
tree48a1ebe13081315e6b36f031d3c44c0b88965406 /scripts
parent29bc72076ece98fa7a341b2cac5f7ec0dc8b150b (diff)
downloadvericert-kvx-75c75c52cdaa71b268f0fadc4c31aba0e099abbc.tar.gz
vericert-kvx-75c75c52cdaa71b268f0fadc4c31aba0e099abbc.zip
Add quartus tcl file
Diffstat (limited to 'scripts')
-rw-r--r--scripts/quartus_synth.tcl28
1 files changed, 28 insertions, 0 deletions
diff --git a/scripts/quartus_synth.tcl b/scripts/quartus_synth.tcl
new file mode 100644
index 0000000..971acc6
--- /dev/null
+++ b/scripts/quartus_synth.tcl
@@ -0,0 +1,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