3
0
Fork 0
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:
Clifford Wolf 2017-07-10 13:17:38 +02:00
parent 8a69759306
commit 9557fd2a36
2 changed files with 52 additions and 7 deletions

View file

@ -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");