diff --git a/dory/Hardware_targets/PULP/Common/Templates/main.c.t b/dory/Hardware_targets/PULP/Common/Templates/main.c.t index ece05b4d..e0268559 100644 --- a/dory/Hardware_targets/PULP/Common/Templates/main.c.t +++ b/dory/Hardware_targets/PULP/Common/Templates/main.c.t @@ -94,7 +94,9 @@ void application(void * arg) { int main () { #ifndef TARGET_CHIP_FAMILY_GAP9 - PMU_set_voltage(1000, 0); + PMU_set_voltage(1000); +#else + pi_pmu_voltage_set(PI_PMU_VOLTAGE_DOMAIN_CHIP, PI_PMU_VOLT_800); #endif pi_time_wait_us(10000); pi_freq_set(PI_FREQ_DOMAIN_FC, ${fc_frequency}); diff --git a/dory/Hardware_targets/PULP/GAP9/HW_description.json b/dory/Hardware_targets/PULP/GAP9/HW_description.json index 954e10a6..46b28b5c 100644 --- a/dory/Hardware_targets/PULP/GAP9/HW_description.json +++ b/dory/Hardware_targets/PULP/GAP9/HW_description.json @@ -33,9 +33,9 @@ "8bits": 32, "float32": null }, - "core frequency": 50000000, - "accelerator frequency": 50000000, - "peripheral frequency": 50000000, + "core frequency": 370000000, + "accelerator frequency": 370000000, + "peripheral frequency": 370000000, "HW specific parameters":{ "accelerator core0 stack": 3500, "accelerator core1-7 stack": 3400 diff --git a/dory/Hardware_targets/PULP/GAP9_NE16/HW_description.json b/dory/Hardware_targets/PULP/GAP9_NE16/HW_description.json deleted file mode 100644 index 39c8c17c..00000000 --- a/dory/Hardware_targets/PULP/GAP9_NE16/HW_description.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "name": "PULP/GAP9_NE16", - "memory": { - "levels": 3, - "L1": { - "dimension": 120000, - "bandwidth": 32, - "latency": 1, - "frequency": 100000000 - }, - "L2": { - "dimension": 1536000, - "bandwidth": 8, - "latency": 10, - "frequency": 100000000 - }, - "L3": { - "dimension": 8000000, - "bandwidth": null, - "latency": null, - "frequency": null - }, - "DMA": "yes", - "cache": "no" - }, - "architecture": "single-core+accelerator", - "software development kit": { - "name": "gap_sdk", - "directory": "~/gap_sdk/sdk_private" - }, - "peak MAC/cycle": - { - "8bits": 32, - "float32": null - }, - "core frequency": 50000000, - "accelerator frequency": 50000000, - "peripheral frequency": 50000000, - "HW specific parameters":{ - "accelerator core0 stack": 2048, - "accelerator core1-7 stack": 1024 - }, - "double_buffering": 2, - "split_ints": true, - "blocking_dma_transfers": false, - "single_core_dma": true -} diff --git a/dory/Hardware_targets/PULP/GAP9_NE16/HW_description.json b/dory/Hardware_targets/PULP/GAP9_NE16/HW_description.json new file mode 120000 index 00000000..d8294108 --- /dev/null +++ b/dory/Hardware_targets/PULP/GAP9_NE16/HW_description.json @@ -0,0 +1 @@ +../GAP9/HW_description.json \ No newline at end of file