Fix slang errors and warnings in Koios benchmarks - #3196
Conversation
|
@petergrossmann21 @AlexandreSinger have any of these issues been reported to the yosys-slang project? Nothing in these changes seems like something it should have choked on, so it might be work verifying that the maintainer @povik is aware or that the VTR version of yosys-slang is kept up to date. |
|
@gadfort Now that you have pinged me I've taken a look. The two below are worth changing but I'd say it's of low priority.
This could be made into a demotable error.
Ideally synthesis would ignore timescales. I suppose there was an error "time scale declaration must come before all other items in scope". |
@povik regarding timescales you are correct that this is the error we see. See also comments on #3195; what are your thoughts regarding handling parameters for modules read using previous |
|
@petergrossmann21 : let's discuss this one on Thursday. The non-blocking update to RAMs has been made, so maybe this one has gotten easier. |
Resolve slang errors/warnings in the Koios benchmarks.
Description
The errors/warnings fell into the following buckets:
Related Issue
#3169
Motivation and Context
Eliminating slang errors allows these benchmarks to continue to be used in flows that make use of the yosys-slang plugin.
How Has This Been Tested?
Primary method of testing has been running slang directly at the command line. Quick research suggested there was not a single VTR regression test I could execute to try all four of these benchmarks in one push button; due to this and test runtime concerns I have deferred running VTR regression tests to validate that no synthesis results have changed.
From a synthesis standpoint, the risk of results changing due to these edits is very low.
Types of changes
Checklist: