From 0ea22a059c575e784d81f94247098a281df1b445 Mon Sep 17 00:00:00 2001 From: Blaise Tine Date: Sun, 4 Apr 2021 22:54:07 -0700 Subject: [PATCH] minor updates --- hw/syn/opae/sources_8c.txt | 2 +- hw/syn/opae/vortex_afu16.json | 4 +-- hw/syn/opae/vortex_afu8.json | 57 +++++++++++++++++++++++++++++++++++ 3 files changed, 60 insertions(+), 3 deletions(-) create mode 100644 hw/syn/opae/vortex_afu8.json diff --git a/hw/syn/opae/sources_8c.txt b/hw/syn/opae/sources_8c.txt index 7b52e20d..baafe36a 100644 --- a/hw/syn/opae/sources_8c.txt +++ b/hw/syn/opae/sources_8c.txt @@ -6,7 +6,7 @@ +define+QUARTUS #+define+PERF_ENABLE -vortex_afu16.json +vortex_afu8.json QI:vortex_afu.qsf C:sources.txt \ No newline at end of file diff --git a/hw/syn/opae/vortex_afu16.json b/hw/syn/opae/vortex_afu16.json index 1f361d1e..04700701 100644 --- a/hw/syn/opae/vortex_afu16.json +++ b/hw/syn/opae/vortex_afu16.json @@ -2,8 +2,8 @@ "version": 1, "afu-image": { "power": 0, - "clock-frequency-high": "auto-210", - "clock-frequency-low": "auto-210", + "clock-frequency-high": "auto-200", + "clock-frequency-low": "auto-200", "cmd-mem-read": 1, "cmd-mem-write": 2, diff --git a/hw/syn/opae/vortex_afu8.json b/hw/syn/opae/vortex_afu8.json new file mode 100644 index 00000000..cef41fbf --- /dev/null +++ b/hw/syn/opae/vortex_afu8.json @@ -0,0 +1,57 @@ +{ + "version": 1, + "afu-image": { + "power": 0, + "clock-frequency-high": "auto-210", + "clock-frequency-low": "auto-210", + + "cmd-mem-read": 1, + "cmd-mem-write": 2, + "cmd-run": 3, + "cmd-csr-read": 4, + "cmd-csr-write": 5, + + "mmio-cmd-type": 10, + "mmio-io-addr": 12, + "mmio-mem-addr": 14, + "mmio-data-size": 16, + "mmio-status": 18, + "mmio-scope-read": 20, + "mmio-scope-write": 22, + "mmio-csr-core": 24, + "mmio-csr-addr": 26, + "mmio-csr-data": 28, + "mmio-csr-read": 30, + + "afu-top-interface": + { + "class": "ccip_std_afu_avalon_mm", + "module-ports" : + [ + { + "class": "cci-p", + "params": + { + "clock": "uClk_usr" + } + }, + { + "class": "local-memory", + "params": + { + "clock": "uClk_usr" + } + } + ] + }, + "accelerator-clusters": + [ + { + "name": "vortex_afu", + "total-contexts": 1, + "accelerator-type-uuid": "35f9452b-25c2-434c-93d5-6f8c60db361c" + } + ] + } + } + \ No newline at end of file