Skip to content

Add missing timescale to three files - #327

Open
Zosili wants to merge 1 commit into
UTOSS:mainfrom
Zosili:fix/verilator-timescalemod
Open

Zosili wants to merge 1 commit into
UTOSS:mainfrom
Zosili:fix/verilator-timescalemod

Conversation

@Zosili

@Zosili Zosili commented Nov 12, 2026 •

Copy link
Copy Markdown

main fails build_top since the Verilator version in the CI image treats TIMESCALEMOD as an error: src/headers/types.svh, src/ext/zicsr/types.svh and src/priv/ecall_processor.sv don't set a time unit, while the rest of the sources do. Adding src/timescale.svh to those three fixes it.

Checked with svlint and by compiling the three files in ModelSim; the Verilator run has to come from CI.

main fails build_top now that TIMESCALEMOD is an error in the Verilator
version used by CI: types.svh, zicsr/types.svh and ecall_processor.sv
don't set a time unit, while the rest of the sources do. Added
src/timescale.svh to those three.
@Zosili
Zosili force-pushed the fix/verilator-timescalemod branch from d591ab8 to 9bc234c Compare November 12, 2026 05:12
@Zosili Zosili changed the title Add the missing time unit to files compiled without a timescale Add missing timescale to three files Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant