jrnunes1993 / cusco-python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cusco Python

Features

  • Pin routing using A* search algorithm
  • Pseudo layout display in PNG

Install & Usage

Clone the repository:

git clone https://github.com/jrnunes1993/cusco-python

Install dependencies:

pip3 install

Running:

python3 main.pty

...

##################### GRID FINAL ###############################

[[0 0 0 0 0 0 0 0 0 0 0 0 0]
 [0 0 0 0 0 0 2 0 0 0 0 0 0]
 [0 0 0 0 0 0 2 0 0 0 0 0 0]
 [0 0 0 0 0 0 2 0 0 0 0 0 0]
 [0 0 0 0 0 0 2 0 0 0 0 0 0]
 [0 0 2 2 2 2 2 0 0 0 8 0 0]
 [0 0 0 0 0 0 0 0 0 0 8 0 0]
 [0 0 0 0 0 0 0 0 0 0 8 0 0]
 [0 0 0 0 0 0 0 0 0 0 8 0 0]
 [0 0 0 0 0 0 0 0 0 0 8 0 0]
 [0 0 0 0 0 0 0 0 0 0 8 0 0]
 [0 0 0 0 4 0 0 0 7 0 8 0 0]
 [0 0 0 0 0 0 0 0 0 0 8 0 0]
 [0 0 0 0 0 0 0 0 0 0 8 0 0]
 [0 0 0 0 0 0 0 0 0 0 8 0 0]
 [0 0 0 0 0 0 0 0 0 0 8 0 0]
 [0 0 0 0 0 0 0 0 0 0 8 0 0]
 [0 0 0 0 0 0 0 0 0 8 8 0 0]
 [0 0 1 1 1 1 8 8 8 8 1 0 0]
 [0 0 0 0 0 1 1 0 0 0 1 0 0]
 [0 0 0 0 0 0 1 0 0 0 1 0 0]
 [0 0 0 0 0 0 1 0 0 0 1 0 0]
 [0 0 0 0 0 0 1 1 1 1 1 0 0]
 [0 0 0 0 0 0 0 0 0 0 0 0 0]]
-----------------------------------------------

NOR Example Result

NOR Example Layout Result

Requeriments:

  • Python: >= 3
  • Pip: >= 3.x

About


Languages

Language:Python 100.0%