mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-16 07:45:28 +00:00
register.h: Add internal_flag to Pass
Update experimental pass warnings to use a shared function. Reduces repetition, and also allows all of the warning flags to be combined (which at present is just experimental and the new internal). Update `test_*` passes to call `internal()` in their constructors.
This commit is contained in:
parent
f4ad934542
commit
b9485ce094
7 changed files with 40 additions and 20 deletions
|
@ -326,7 +326,9 @@ static void autotest(std::ostream &f, RTLIL::Design *design, int num_iter, int s
|
|||
}
|
||||
|
||||
struct TestAutotbBackend : public Backend {
|
||||
TestAutotbBackend() : Backend("=test_autotb", "generate simple test benches") { }
|
||||
TestAutotbBackend() : Backend("=test_autotb", "generate simple test benches") {
|
||||
internal();
|
||||
}
|
||||
void help() override
|
||||
{
|
||||
// |---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue