3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-10-09 17:31:59 +00:00

pyosys: rewrite wrapper generator

[skip ci]
This commit is contained in:
Mohamed Gaber 2025-09-21 23:04:27 +03:00
parent 88be728353
commit 384f7431fd
No known key found for this signature in database
7 changed files with 738 additions and 2011 deletions

View file

@ -0,0 +1,8 @@
from pyosys import libyosys as ys
d = ys.Design(); ys.log_header(d, "foo\n")
ys.log("foo\n")
ys.log_warning("foo\n")
ys.log_warning_noprefix("foo\n")
ys.log_file_info("foo.ys", 1, "foo\n")
ys.log_file_warning("foo.ys", 1, "foo\n")