{"id":37703767,"url":"https://github.com/mario33881/vscode-blif","last_synced_at":"2026-01-16T13:05:40.875Z","repository":{"id":38361462,"uuid":"321058024","full_name":"mario33881/vscode-blif","owner":"mario33881","description":"BLIF (SIS' Berkeley Logic Interchange Format) highlight and autocomplete extension for Visual Studio Code","archived":false,"fork":false,"pushed_at":"2023-11-10T20:25:20.000Z","size":14228,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2023-11-10T21:28:58.187Z","etag":null,"topics":["autocomplete-keywords","autocompletion","blif","sis","syntax-highlighting","univr","visual-studio","vscode-blif"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mario33881.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-12-13T12:19:53.000Z","updated_at":"2023-11-10T21:28:59.041Z","dependencies_parsed_at":"2023-11-10T21:39:03.994Z","dependency_job_id":null,"html_url":"https://github.com/mario33881/vscode-blif","commit_stats":null,"previous_names":[],"tags_count":2,"template":null,"template_full_name":null,"purl":"pkg:github/mario33881/vscode-blif","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mario33881%2Fvscode-blif","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mario33881%2Fvscode-blif/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mario33881%2Fvscode-blif/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mario33881%2Fvscode-blif/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mario33881","download_url":"https://codeload.github.com/mario33881/vscode-blif/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mario33881%2Fvscode-blif/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28478913,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["autocomplete-keywords","autocompletion","blif","sis","syntax-highlighting","univr","visual-studio","vscode-blif"],"created_at":"2026-01-16T13:05:37.011Z","updated_at":"2026-01-16T13:05:40.866Z","avatar_url":"https://github.com/mario33881.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VSCODE-BLIF\n\nThis is the README for the **BLIF extension** (vscode-blif) for Visual Studio Code.\n\u003e BLIF is SIS' Berkeley Logic Interchange Format.\n\u003e \n\u003e SIS is a tool that optimizes and simulates logic gate and finite state machine networks\n\n\u003cdiv style=\"text-align: center; margin: 25px 0px;\"\u003e\n    \u003cimg style=\"border: 1px solid white\" alt=\"Presentation gif\" src=\"https://github.com/mario33881/vscode-blif/blob/main/images/presentation.gif?raw=true\"\u003e\n\u003c/div\u003e\n\nThis extension allows you to:\n* Start to develop a .blif file from a **template**\n    \u003e Currently the included templates are: \n    \u003e * ```!fsm```, which is a Finite State Machine template\n    \u003e * ```!lgate```, which is a Logic Gate template\n\n* **Autocomplete keywords** (commands that start with the dot ```.```)\n\n* **See what a keyword does** while using the autocomplete feature\n\n* **Syntax highlight** keywords\n\n\u003cbr\u003e\n\n\u003e Disclaimer: \n\u003e\n\u003e I'm **not** affiliated with the SIS and the Visual Studio Code developers in any way.\n\u003e\n\u003e The aim of the extension is only to add syntax highlighting and autocompletion for the BLIF format, \n\u003e SIS' Berkeley Logic Interchange Format, on VS Code.\n\n## README Index\n* [Installation](#installation)\n* [Features](#features)\n    * [Templates](#templates)\n    * [Keyword autocompletion](#keyword-autocompletion)\n    * [Keyword description](#keyword-description)\n    * [Syntax highlighting](#syntax-highlighting)\n* [Development](#development)\n* [Release Notes](#release-notes)\n\n## Installation\n* **(BEST) First option**: You can install this extension on the the Visual Studio Code extension marketplace, \n(from browser or from VS Code):\n    From VS Code:\n    * Open the extensions marketplace\n    * search for the \"BLIF (SIS)\" extension by mario33881 (me)\n    * click on the install button\n\n    From the browser:\n    * Click [this link to go to the marketplace](https://marketplace.visualstudio.com/items?itemName=mario33881.vscode-blif)\n    * Click the install button and accept to open the link with Visual Studio Code\n\n* **Second option**: you can also download and install the VSIX package from the [latest github release by clicking here](https://github.com/mario33881/vscode-blif/releases/latest) \n    \n    The VSIX package can then be installed from VS Code:\n    * go to the Extensions marketplace\n    * click on the three dots ```...``` (positioned on top of the seach bar)\n    * then click on ```Install from VSIX...```, select the VSIX file and click ```open```\n\n    The VSIX package can also be installed from the terminal using the following command:\n    \n    ```\n    code --install-extension \u003cfile\u003e\n    ```\n    \u003e Replace ```\u003cfile\u003e``` with the correct file name (example ```vscode-blif-v1.0.1.vsix```)\n\n* **Third option**: You can also copy this repository folder into the extensions folder:\n\n    * Windows: ```%USERPROFILE%\\.vscode\\extensions```\n    * macOS: ```~/.vscode/extensions```\n    * Linux: ```~/.vscode/extensions```\n\n    and then restart Code.\n\n* **Fourth option**: download this repository, navigate to this directory via the terminal and execute the following command:\n\n        npm install \u0026\u0026 npm run install_ext\n    \u003e NPM is required to install the extension using this option\n\n## Features\n\n### Templates\nTemplates allow you to develop your .blif file from a basic, common, baseline.\n\nCurrently the included templates are: \n* ```!fsm```, which is a Finite State Machine template\n\n    \u003cdiv style=\"text-align: center; margin: 25px 0px;\"\u003e\n        \u003cimg style=\"border: 1px solid white\" alt=\"FSM template\" src=\"https://github.com/mario33881/vscode-blif/blob/main/images/templates/fsm_template.gif?raw=true\"\u003e\n    \u003c/div\u003e\n\n* ```!lgate```, which is a Logic Gate template\n\n    \u003cdiv style=\"text-align: center; margin: 25px 0px;\"\u003e\n        \u003cimg style=\"border: 1px solid white\" alt=\"Logic Gate template\" src=\"https://github.com/mario33881/vscode-blif/blob/main/images/templates/lgate_template.gif?raw=true\"\u003e\n    \u003c/div\u003e\n\n### Keyword autocompletion\nKeyword autocompletion allows you to **write keywords efficiently by completing a keyword** using the tab key:\n* Start writing a keyword, like ```.m```\n\n    \u003cdiv style=\"text-align: center; margin: 25px 0px;\"\u003e\n        \u003cimg style=\"border: 1px solid white\" alt=\"Autocompletion, .m\" src=\"https://github.com/mario33881/vscode-blif/blob/main/images/autocompletion/m.png?raw=true\"\u003e\n    \u003c/div\u003e\n\n* The extension suggests you all the possible options for autocompletion,\nuse the arrow keys to hover over an option\n\n* You can read what the keyword does on the right of the hovered option.\nSelect the option by clicking the tab key.\n\n    \u003cdiv style=\"text-align: center; margin: 25px 0px;\"\u003e\n        \u003cimg style=\"border: 1px solid white\" alt=\"Autocompletion, .model confirmed\" src=\"https://github.com/mario33881/vscode-blif/blob/main/images/autocompletion/model_confirmed.png?raw=true\"\u003e\n    \u003c/div\u003e\n\n* If default values follow the keyword, start typing to replace the value and then use the tab key to move to the next default value (if available). \n\n    You can repeat this operation (tab key and then overwriting values)\n    for every default value.\n\n    \u003e If you close the autocompletion you can also modify the values by modifing them normally\n\n### Keyword description\nEach keyword has a description that **is shown while using the autocompletion** feature.\n\nThese are the keywords that have a description:\n* ```.model```: Define a sub-cell by specifying the name of its model\n* ```.inputs```: Define the name of the input(s)\n* ```.outputs```: Define the name of the output(s)\n* ```.names```: Define a link between inputs and an output \n    (on a new line write a truth table with only minterms).\n* ```.exdc```: Specifies that the following truth tables have don't care(s) as an output\n* ```.start_kiss```: Defines a FSM.\n* ```.end_kiss```: Closes the definition of an FSM.\n* ```.i```: Specifies the number of inputs of a FSM.\n* ```.o```: Specifies the number of outputs of a FSM.\n* ```.s```: Specifies the number of states of a FSM\n* ```.p```: Specifies the number of states transitions of a FSM\n* ```.r```: Specifies the name of the reset state of a FSM\n* ```.code```: Define a state encoding\n* ```.subckt```: Initialize an instance of a sub-cell model.\n* ```.search```: Searches (imports) sub-cell models defined in another .blif file.\n* ```.latch```: Defines a latch.\n* ```.end```: Closes the definition of a sub-cell model.\n\n### Syntax highlighting\nThis extension **highlights keywords** that start with the dot ```.``` and ```.subckt``` parameters.\n\nHighlighted keywords:\n\n\u003cdiv style=\"text-align: center; margin: 25px 0px;\"\u003e\n    \u003cimg style=\"border: 1px solid white\" alt=\"Syntax Highlighting\" src=\"https://github.com/mario33881/vscode-blif/blob/main/images/highlighting/highlighting.png?raw=true\"\u003e\n\u003c/div\u003e\n\n## Development\n* Open this repository with visual studio code and then press `F5`\nto open a new window with the extension loaded.\n* You can relaunch the extension from the debug toolbar after making changes to the extensions files.\n* You can also reload (`Ctrl+R` or `Cmd+R` on Mac) the VS Code window with the extension to load your changes.\n\n## Release Notes\n\n### 1.0.1\n\nInitial release\n\n## Author\n[Zenaro Stefano (mario33881)](https://github.com/mario33881)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmario33881%2Fvscode-blif","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmario33881%2Fvscode-blif","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmario33881%2Fvscode-blif/lists"}