diff --git a/hw/vendor/lowrisc_opentitan/hw/ip/i2c/data/i2c_testplan.hjson b/hw/vendor/lowrisc_opentitan/hw/ip/i2c/data/i2c_testplan.hjson index 29e62e4f7..03f395edd 100644 --- a/hw/vendor/lowrisc_opentitan/hw/ip/i2c/data/i2c_testplan.hjson +++ b/hw/vendor/lowrisc_opentitan/hw/ip/i2c/data/i2c_testplan.hjson @@ -32,7 +32,7 @@ tests: ["i2c_smoke"] } { - name: host_error_intr, + name: host_error_intr desc: ''' Test error interrupts are asserted by the Host DUT due to interference and unstable signals on bus. @@ -158,7 +158,7 @@ tests: ["i2c_fifo_overflow"] } { - name: target_fifo_empty, + name: target_fifo_empty desc: ''' Test tx_empty and tx_nonempty interrupt. diff --git a/mcu_cfg.hjson b/mcu_cfg.hjson index 2e6f33f19..55ab9b6b1 100644 --- a/mcu_cfg.hjson +++ b/mcu_cfg.hjson @@ -8,120 +8,120 @@ cpu_type: cv32e20 linker_script: { - stack_size: 0x800, - heap_size: 0x800, + stack_size: 0x800 + heap_size: 0x800 } debug: { - address: 0x10000000, - length: 0x00100000, + address: 0x10000000 + length: 0x00100000 }, ao_peripherals: { - address: 0x20000000, - length: 0x00100000, + address: 0x20000000 + length: 0x00100000 soc_ctrl: { - offset: 0x00000000, - length: 0x00010000, + offset: 0x00000000 + length: 0x00010000 path: "./hw/ip/soc_ctrl/data/soc_ctrl.hjson" }, bootrom: { - offset: 0x00010000, - length: 0x00010000, + offset: 0x00010000 + length: 0x00010000 }, spi_flash: { - offset: 0x00020000, - length: 0x00008000, + offset: 0x00020000 + length: 0x00008000 }, spi_memio: { - offset: 0x00028000, - length: 0x00008000, + offset: 0x00028000 + length: 0x00008000 }, dma: { - offset: 0x00030000, - length: 0x00010000, + offset: 0x00030000 + length: 0x00010000 path: "./hw/ip/dma/data/dma.hjson" }, power_manager: { - offset: 0x00040000, - length: 0x00010000, + offset: 0x00040000 + length: 0x00010000 path: "./hw/ip/power_manager/data/power_manager.hjson" }, rv_timer_ao: { - offset: 0x00050000, - length: 0x00010000, + offset: 0x00050000 + length: 0x00010000 }, fast_intr_ctrl: { - offset: 0x00060000, - length: 0x00010000, + offset: 0x00060000 + length: 0x00010000 path: "./hw/ip/fast_intr_ctrl/data/fast_intr_ctrl.hjson" }, ext_peripheral: { - offset: 0x00070000, - length: 0x00010000, + offset: 0x00070000 + length: 0x00010000 }, pad_control: { - offset: 0x00080000, - length: 0x00010000, + offset: 0x00080000 + length: 0x00010000 }, gpio_ao: { - offset: 0x00090000, - length: 0x00010000, + offset: 0x00090000 + length: 0x00010000 }, uart: { - offset: 0x000A0000, - length: 0x00010000, + offset: 0x000A0000 + length: 0x00010000 path: "./hw/vendor/lowrisc_opentitan/hw/ip/uart/data/uart.hjson" }, }, peripherals: { - address: 0x30000000, - length: 0x00100000, + address: 0x30000000 + length: 0x00100000 rv_plic: { - offset: 0x00000000, - length: 0x00010000, + offset: 0x00000000 + length: 0x00010000 is_included: "yes", path: "./hw/vendor/lowrisc_opentitan/hw/ip/rv_plic/data/rv_plic.hjson" }, spi_host: { - offset: 0x00010000, - length: 0x00010000, + offset: 0x00010000 + length: 0x00010000 is_included: "yes", path: "./hw/vendor/lowrisc_opentitan_spi_host/data/spi_host.hjson" }, gpio: { - offset: 0x00020000, - length: 0x00010000, + offset: 0x00020000 + length: 0x00010000 is_included: "yes", path: "./hw/vendor/pulp_platform_gpio/gpio_regs.hjson" }, i2c: { - offset: 0x00030000, - length: 0x00010000, + offset: 0x00030000 + length: 0x00010000 is_included: "yes", path: "./hw/vendor/lowrisc_opentitan/hw/ip/i2c/data/i2c.hjson" }, rv_timer: { - offset: 0x00040000, - length: 0x00010000, + offset: 0x00040000 + length: 0x00010000 is_included: "yes", path: "./hw/vendor/lowrisc_opentitan/hw/ip/rv_timer/data/rv_timer.hjson" }, spi2: { - offset: 0x00050000, - length: 0x00010000, + offset: 0x00050000 + length: 0x00010000 is_included: "yes", }, pdm2pcm: { - offset: 0x00060000, - length: 0x00010000, + offset: 0x00060000 + length: 0x00010000 is_included: "no", path: "./hw/ip/pdm2pcm/data/pdm2pcm.hjson" }, i2s: { - offset: 0x00070000, - length: 0x00010000, + offset: 0x00070000 + length: 0x00010000 is_included: "yes", path: "./hw/ip/i2s/data/i2s.hjson" }, @@ -129,13 +129,13 @@ }, flash_mem: { - address: 0x40000000, - length: 0x01000000, + address: 0x40000000 + length: 0x01000000 }, ext_slaves: { - address: 0xF0000000, - length: 0x01000000, + address: 0xF0000000 + length: 0x01000000 }, interrupts: { diff --git a/mcu_cfg_minimal.hjson b/mcu_cfg_minimal.hjson index 271bcf7ac..ca341b063 100644 --- a/mcu_cfg_minimal.hjson +++ b/mcu_cfg_minimal.hjson @@ -8,133 +8,133 @@ cpu_type: cv32e20 linker_script: { - stack_size: 0x800, - heap_size: 0x800, + stack_size: 0x800 + heap_size: 0x800 } debug: { - address: 0x10000000, - length: 0x00100000, + address: 0x10000000 + length: 0x00100000 }, ao_peripherals: { - address: 0x20000000, - length: 0x00100000, + address: 0x20000000 + length: 0x00100000 soc_ctrl: { - offset: 0x00000000, - length: 0x00010000, + offset: 0x00000000 + length: 0x00010000 path: "./hw/ip/soc_ctrl/data/soc_ctrl.hjson" }, bootrom: { - offset: 0x00010000, - length: 0x00010000, + offset: 0x00010000 + length: 0x00010000 }, spi_flash: { - offset: 0x00020000, - length: 0x00008000, + offset: 0x00020000 + length: 0x00008000 }, spi_memio: { - offset: 0x00028000, - length: 0x00008000, + offset: 0x00028000 + length: 0x00008000 }, dma: { - offset: 0x00030000, - length: 0x00010000, + offset: 0x00030000 + length: 0x00010000 path: "./hw/ip/dma/data/dma.hjson" }, power_manager: { - offset: 0x00040000, - length: 0x00010000, + offset: 0x00040000 + length: 0x00010000 path: "./hw/ip/power_manager/data/power_manager.hjson" }, rv_timer_ao: { - offset: 0x00050000, - length: 0x00010000, + offset: 0x00050000 + length: 0x00010000 }, fast_intr_ctrl: { - offset: 0x00060000, - length: 0x00010000, + offset: 0x00060000 + length: 0x00010000 path: "./hw/ip/fast_intr_ctrl/data/fast_intr_ctrl.hjson" }, ext_peripheral: { - offset: 0x00070000, - length: 0x00010000, + offset: 0x00070000 + length: 0x00010000 }, pad_control: { - offset: 0x00080000, - length: 0x00010000, + offset: 0x00080000 + length: 0x00010000 }, gpio_ao: { - offset: 0x00090000, - length: 0x00010000, + offset: 0x00090000 + length: 0x00010000 }, uart: { - offset: 0x000A0000, - length: 0x00010000, + offset: 0x000A0000 + length: 0x00010000 path: "./hw/vendor/lowrisc_opentitan/hw/ip/uart/data/uart.hjson" }, }, peripherals: { - address: 0x30000000, - length: 0x00100000, + address: 0x30000000 + length: 0x00100000 rv_plic: { - offset: 0x00000000, - length: 0x00010000, + offset: 0x00000000 + length: 0x00010000 is_included: "no", path: "./hw/vendor/lowrisc_opentitan/hw/ip/rv_plic/data/rv_plic.hjson" }, spi_host: { - offset: 0x00010000, - length: 0x00010000, + offset: 0x00010000 + length: 0x00010000 is_included: "no", path: "./hw/vendor/lowrisc_opentitan_spi_host/data/spi_host.hjson" }, gpio: { - offset: 0x00020000, - length: 0x00010000, + offset: 0x00020000 + length: 0x00010000 is_included: "no", path: "./hw/vendor/pulp_platform_gpio/gpio_regs.hjson" }, i2c: { - offset: 0x00030000, - length: 0x00010000, + offset: 0x00030000 + length: 0x00010000 is_included: "no", path: "./hw/vendor/lowrisc_opentitan/hw/ip/i2c/data/i2c.hjson" }, rv_timer: { - offset: 0x00040000, - length: 0x00010000, + offset: 0x00040000 + length: 0x00010000 is_included: "no", path: "./hw/vendor/lowrisc_opentitan/hw/ip/rv_timer/data/rv_timer.hjson" }, spi2: { - offset: 0x00050000, - length: 0x00010000, + offset: 0x00050000 + length: 0x00010000 is_included: "no", }, pdm2pcm: { - offset: 0x00060000, - length: 0x00010000, + offset: 0x00060000 + length: 0x00010000 is_included: "no", path: "./hw/ip/pdm2pcm/data/pdm2pcm.hjson" }, i2s: { - offset: 0x00070000, - length: 0x00010000, + offset: 0x00070000 + length: 0x00010000 is_included: "no", path: "./hw/ip/i2s/data/i2s.hjson" }, }, flash_mem: { - address: 0x40000000, - length: 0x01000000, + address: 0x40000000 + length: 0x01000000 }, ext_slaves: { - address: 0xF0000000, - length: 0x01000000, + address: 0xF0000000 + length: 0x01000000 }, interrupts: { diff --git a/pad_cfg.hjson b/pad_cfg.hjson index 1cfa8c798..0bfa7ae88 100644 --- a/pad_cfg.hjson +++ b/pad_cfg.hjson @@ -33,7 +33,7 @@ }, rst: { num: 1, - active: low, + active: low driven_manually: True type: input }, @@ -55,7 +55,7 @@ }, jtag_trst: { num: 1, - active: low, + active: low type: input }, jtag_tdi: {