معرفی شرکت ها


blif2graph-1.0.0


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Generate graphs from BLIF files
ویژگی مقدار
سیستم عامل -
نام فایل blif2graph-1.0.0
نام blif2graph
نسخه کتابخانه 1.0.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Zenaro Stefano (mario33881)
ایمیل نویسنده mariortgasd@hotmail.com
آدرس صفحه اصلی https://github.com/mario33881/blif2graph
آدرس اینترنتی https://pypi.org/project/blif2graph/
مجوز MIT
# BLIF2GRAPH Generates a graph from a BLIF (SIS) file. ## Description This library uses argparse to parse arguments: If the ```--fsm``` flag is passed to the program the [blifparser library](https://github.com/mario33881/blifparser) parses the input file and blif2graph generates an FSM graph using graphviz. You can also pass other arguments together with the ```--fsm``` flag: * ```--input```: BLIF input file path (required) * ```--style```: INI style config file path (you can use [graphviz styles](http://www.graphviz.org/doc/info/attrs.html)) * ```--output```: Output file path (no extension) * ```--format```: Set output graph format (default: svg) * ```--view_graph```: View output graph (default: False) * ```--debug```: View debug message (default: False) > The ```--lgate``` flag exists to be used to support logic gate graphs in the future: IT IS NOT CURRENTLY IMPLEMENTED > > If you'd like to contribute with a Pull Request, please do! ## Requirements * [python 3](https://www.python.org/) * [graphviz](https://graphviz.org/): creates the FSM graph * [graphviz python library](https://pypi.org/project/graphviz/): "connects" python to graphviz * [blifparser python library](https://pypi.org/project/blifparser/): parses BLIF files ## Installation Install using pip: ``` pip install blif2graph ``` ## Usage You can use it from the command line: ```bash # generates an FSM graph, fsm.blif input, fsmgraph.pdf output, view result using the default PDF viewer software at the end python3 blif2graph.py --fsm --input fsm.blif --output fsmgraph --format pdf --view_graph ``` ```bash # generates an FSM graph, myfsm.blif input, default fsm.svg output, custom graphviz style, view result using the default SVG viewer software at the end python3 blif2graph.py --fsm --input myfsm.blif --style mystyles.ini --view_graph ``` Example of an FSM custom style file: ```ini [graph] fontsize = 16 fontcolor = black fontname = Times-Roman rankdir = TB # TB: top to bottom (inverse: BT), LR: left to right (inverse: RL) splines = true overlap = false size = 8,5 bgcolor = transparent center = true charset = UTF-8 colorscheme = concentrate = false # true: concentrate arrows together in one line until a certain point dpi = 96.0 [edges] fontsize = 16 arrowsize = .5 arrowhead = normal arrowtail = normal color = gray31 fillcolor = black fontcolor = black fontname = Times-Roman colorscheme = constraint = true decorate = true dir = forward penwidth = 1.0 [nodes] fontsize = 16 colorscheme = color = black fillcolor = black fontcolor = black fontname = Times-Roman penwidth = 2.0 ``` You can also import the script and call the main() function passing a list of arguments: ```py import blif2graph params = " --fsm --input ..\\myfsm.blif --format pdf --view_graph " params = [param for param in params.split(" ") if param.strip() != ""] blif2graph.main(params) ``` ## Changelog **2021-09-10 1.0.0:** <br> First commit ## Author [Stefano Zenaro (mario33881)](https://github.com/mario33881)


نیازمندی

مقدار نام
==0.17 graphviz
==1.0.0 blifparser


زبان مورد نیاز

مقدار نام
>=3 Python


نحوه نصب


نصب پکیج whl blif2graph-1.0.0:

    pip install blif2graph-1.0.0.whl


نصب پکیج tar.gz blif2graph-1.0.0:

    pip install blif2graph-1.0.0.tar.gz