mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-24 01:25:33 +00:00
Add attributes and parameter support to JSON front-end
This commit is contained in:
parent
8a69759306
commit
9557fd2a36
2 changed files with 52 additions and 7 deletions
|
@ -201,6 +201,8 @@ struct JsonWriter
|
|||
void write_design(Design *design_)
|
||||
{
|
||||
design = design_;
|
||||
design->sort();
|
||||
|
||||
f << stringf("{\n");
|
||||
f << stringf(" \"creator\": %s,\n", get_string(yosys_version_str).c_str());
|
||||
f << stringf(" \"modules\": {\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue