-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
dvsim==1.6.0
This error is seen when invoking the top_* linting flows.
[harry@neptune:~/projects/opentitan]$ dvsim --tool=veriblelint hw/top_earlgrey/lint/top_earlgrey_lint_cfgs.hjson
[I 251201 16:20:15 run:840] [proj_root]: /home/harry/projects/opentitan
[I 251201 16:20:15 one_shot:90] [scratch_path]: [aes] [/home/harry/projects/opentitan/scratch/dvsim_migration/aes-lint-veriblelint]
[I 251201 16:20:15 one_shot:90] [scratch_path]: [alert_handler] [/home/harry/projects/opentitan/scratch/dvsim_migration/alert_handler-lint-veriblelint]
[I 251201 16:20:15 one_shot:90] [scratch_path]: [aon_timer] [/home/harry/projects/opentitan/scratch/dvsim_migration/aon_timer-lint-veriblelint]
[I 251201 16:20:15 one_shot:90] [scratch_path]: [ascon] [/home/harry/projects/opentitan/scratch/dvsim_migration/ascon-lint-veriblelint]
[I 251201 16:20:15 one_shot:90] [scratch_path]: [ast] [/home/harry/projects/opentitan/scratch/dvsim_migration/ast-lint-veriblelint]
[I 251201 16:20:15 one_shot:90] [scratch_path]: [entropy_src] [/home/harry/projects/opentitan/scratch/dvsim_migration/entropy_src-lint-veriblelint]
[I 251201 16:20:15 one_shot:90] [scratch_path]: [clkmgr] [/home/harry/projects/opentitan/scratch/dvsim_migration/clkmgr-lint-veriblelint]
[I 251201 16:20:15 one_shot:90] [scratch_path]: [csrng] [/home/harry/projects/opentitan/scratch/dvsim_migration/csrng-lint-veriblelint]
[I 251201 16:20:15 one_shot:90] [scratch_path]: [adc_ctrl] [/home/harry/projects/opentitan/scratch/dvsim_migration/adc_ctrl-lint-veriblelint]
[I 251201 16:20:15 one_shot:90] [scratch_path]: [edn] [/home/harry/projects/opentitan/scratch/dvsim_migration/edn-lint-veriblelint]
[I 251201 16:20:15 one_shot:90] [scratch_path]: [flash_ctrl] [/home/harry/projects/opentitan/scratch/dvsim_migration/flash_ctrl-lint-veriblelint]
[I 251201 16:20:15 one_shot:90] [scratch_path]: [gpio] [/home/harry/projects/opentitan/scratch/dvsim_migration/gpio-lint-veriblelint]
[I 251201 16:20:15 one_shot:90] [scratch_path]: [hmac] [/home/harry/projects/opentitan/scratch/dvsim_migration/hmac-lint-veriblelint]
[I 251201 16:20:15 one_shot:90] [scratch_path]: [kmac] [/home/harry/projects/opentitan/scratch/dvsim_migration/kmac-lint-veriblelint]
[I 251201 16:20:15 one_shot:90] [scratch_path]: [i2c] [/home/harry/projects/opentitan/scratch/dvsim_migration/i2c-lint-veriblelint]
[I 251201 16:20:15 one_shot:90] [scratch_path]: [lc_ctrl] [/home/harry/projects/opentitan/scratch/dvsim_migration/lc_ctrl-lint-veriblelint]
[I 251201 16:20:15 one_shot:90] [scratch_path]: [pattgen] [/home/harry/projects/opentitan/scratch/dvsim_migration/pattgen-lint-veriblelint]
[I 251201 16:20:15 one_shot:90] [scratch_path]: [keymgr] [/home/harry/projects/opentitan/scratch/dvsim_migration/keymgr-lint-veriblelint]
[I 251201 16:20:15 one_shot:90] [scratch_path]: [otbn] [/home/harry/projects/opentitan/scratch/dvsim_migration/otbn-lint-veriblelint]
[I 251201 16:20:15 one_shot:90] [scratch_path]: [otp_ctrl] [/home/harry/projects/opentitan/scratch/dvsim_migration/otp_ctrl-lint-veriblelint]
[I 251201 16:20:15 one_shot:90] [scratch_path]: [pinmux] [/home/harry/projects/opentitan/scratch/dvsim_migration/pinmux-lint-veriblelint]
[I 251201 16:20:15 one_shot:90] [scratch_path]: [pwm] [/home/harry/projects/opentitan/scratch/dvsim_migration/pwm-lint-veriblelint]
[I 251201 16:20:16 one_shot:90] [scratch_path]: [pwrmgr] [/home/harry/projects/opentitan/scratch/dvsim_migration/pwrmgr-lint-veriblelint]
[I 251201 16:20:16 one_shot:90] [scratch_path]: [rom_ctrl] [/home/harry/projects/opentitan/scratch/dvsim_migration/rom_ctrl-lint-veriblelint]
[I 251201 16:20:16 one_shot:90] [scratch_path]: [rstmgr] [/home/harry/projects/opentitan/scratch/dvsim_migration/rstmgr-lint-veriblelint]
[I 251201 16:20:16 one_shot:90] [scratch_path]: [rv_core_ibex] [/home/harry/projects/opentitan/scratch/dvsim_migration/rv_core_ibex-lint-veriblelint]
[I 251201 16:20:16 one_shot:90] [scratch_path]: [rv_dm] [/home/harry/projects/opentitan/scratch/dvsim_migration/rv_dm-lint-veriblelint]
[I 251201 16:20:16 one_shot:90] [scratch_path]: [top_earlgrey_rv_plic] [/home/harry/projects/opentitan/scratch/dvsim_migration/top_earlgrey_rv_plic-lint-veriblelint]
[I 251201 16:20:16 one_shot:90] [scratch_path]: [rv_timer] [/home/harry/projects/opentitan/scratch/dvsim_migration/rv_timer-lint-veriblelint]
[I 251201 16:20:16 one_shot:90] [scratch_path]: [spi_device] [/home/harry/projects/opentitan/scratch/dvsim_migration/spi_device-lint-veriblelint]
[I 251201 16:20:16 one_shot:90] [scratch_path]: [spi_host] [/home/harry/projects/opentitan/scratch/dvsim_migration/spi_host-lint-veriblelint]
[I 251201 16:20:16 one_shot:90] [scratch_path]: [sram_ctrl] [/home/harry/projects/opentitan/scratch/dvsim_migration/sram_ctrl-lint-veriblelint]
[I 251201 16:20:16 one_shot:90] [scratch_path]: [sysrst_ctrl] [/home/harry/projects/opentitan/scratch/dvsim_migration/sysrst_ctrl-lint-veriblelint]
[I 251201 16:20:16 one_shot:90] [scratch_path]: [uart] [/home/harry/projects/opentitan/scratch/dvsim_migration/uart-lint-veriblelint]
[I 251201 16:20:16 one_shot:90] [scratch_path]: [usbdev] [/home/harry/projects/opentitan/scratch/dvsim_migration/usbdev-lint-veriblelint]
[I 251201 16:20:16 one_shot:90] [scratch_path]: [socket_1n] [/home/harry/projects/opentitan/scratch/dvsim_migration/socket_1n-lint-veriblelint]
[I 251201 16:20:16 one_shot:90] [scratch_path]: [socket_m1] [/home/harry/projects/opentitan/scratch/dvsim_migration/socket_m1-lint-veriblelint]
[I 251201 16:20:16 one_shot:90] [scratch_path]: [adapter_reg] [/home/harry/projects/opentitan/scratch/dvsim_migration/adapter_reg-lint-veriblelint]
[I 251201 16:20:16 one_shot:90] [scratch_path]: [adapter_sram] [/home/harry/projects/opentitan/scratch/dvsim_migration/adapter_sram-lint-veriblelint]
[I 251201 16:20:16 one_shot:90] [scratch_path]: [sensor_ctrl] [/home/harry/projects/opentitan/scratch/dvsim_migration/sensor_ctrl-lint-veriblelint]
[I 251201 16:20:16 one_shot:90] [scratch_path]: [sram2tlul] [/home/harry/projects/opentitan/scratch/dvsim_migration/sram2tlul-lint-veriblelint]
[I 251201 16:20:16 one_shot:90] [scratch_path]: [chip_earlgrey_asic] [/home/harry/projects/opentitan/scratch/dvsim_migration/chip_earlgrey_asic-lint-veriblelint]
Traceback (most recent call last):
File "/usr/bin/dvsim", line 10, in <module>
sys.exit(main())
^^^^^^
File "/nix/store/zc4i0pldgbdjmqx3zr6km5ff5qwnw08g-opentitan-env/lib/python3.11/site-packages/dvsim/cli/run.py", line 906, in main
cfg.create_deploy_objects()
File "/nix/store/zc4i0pldgbdjmqx3zr6km5ff5qwnw08g-opentitan-env/lib/python3.11/site-packages/dvsim/flow/base.py", line 407, in create_deploy_objects
item._create_deploy_objects()
File "/nix/store/zc4i0pldgbdjmqx3zr6km5ff5qwnw08g-opentitan-env/lib/python3.11/site-packages/dvsim/flow/one_shot.py", line 144, in _create_deploy_objects
item = CompileOneShot(build, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/zc4i0pldgbdjmqx3zr6km5ff5qwnw08g-opentitan-env/lib/python3.11/site-packages/dvsim/job/deploy.py", line 470, in __init__
super().__init__(sim_cfg)
File "/nix/store/zc4i0pldgbdjmqx3zr6km5ff5qwnw08g-opentitan-env/lib/python3.11/site-packages/dvsim/job/deploy.py", line 77, in __init__
self._variant_suffix = f"_{self.sim_cfg.variant}" if self.sim_cfg.variant else ""
^^^^^^^^^^^^^^^^^^^^
AttributeError: 'LintCfg' object has no attribute 'variant'