mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-24 13:18:56 +00:00
Write yosys version to output files
This commit is contained in:
parent
eab536a203
commit
1dcb683fcb
7 changed files with 13 additions and 9 deletions
|
@ -17,6 +17,9 @@
|
|||
*
|
||||
*/
|
||||
|
||||
// [[CITE]] EDIF Version 2 0 0 Grammar
|
||||
// http://web.archive.org/web/20050730021644/http://www.edif.org/documentation/BNF_GRAMMAR/index.html
|
||||
|
||||
#include "kernel/rtlil.h"
|
||||
#include "kernel/register.h"
|
||||
#include "kernel/sigtools.h"
|
||||
|
@ -151,6 +154,7 @@ struct EdifBackend : public Backend {
|
|||
fprintf(f, " (edifVersion 2 0 0)\n");
|
||||
fprintf(f, " (edifLevel 0)\n");
|
||||
fprintf(f, " (keywordMap (keywordLevel 0))\n");
|
||||
fprintf(f, " (comment \"Generated by %s\")\n", yosys_version_str);
|
||||
|
||||
fprintf(f, " (external LIB\n");
|
||||
fprintf(f, " (edifLevel 0)\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue