Git Product home page Git Product logo

fexpand's Introduction

fexpand

A Filelist preprocessor for verilog/system verilog filelist.

A pure Python based Filelist preprocessor implementation very useful for pre-preprocessing hierarchical fielist into single filelist without "-f" index, macros, environment variables and comments.

Note that fexpand expands all environment variables that are present (those that are not present are left in place). Similarly, all paths are converted to absolute paths (non-existing files are left as they are). Fexpand supports most of the c99 macro syntax.

This project is based on the pcpp project modified to expand the verilog/system verilog filelist. The following modifications have been made to pcpp.

  1. equate the "-f" keyword with "#include".
  2. when include a path, it will replace the environment variable and expand it to absolute path and then include the content.
  3. check the duplicity of include, in include the same path for the second time will be ignored.
  4. will be in the text of the path are environment variable replacement, and converted to an absolute path.
  5. In the text content of the path to repeatability check, in the second encounter the same path will be ignored.

fexpand's People

Contributors

ned14 avatar yuunqiliu avatar jaspercraeghs avatar dragon2fly avatar virtuald avatar mathieuduponchelle avatar assarbad avatar untaugh avatar p2k avatar sei-lisa avatar kuri65536 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.