wsong83 / vpreproc Goto Github PK
View Code? Open in Web Editor NEWA Preprocessor for Verilog HDL written in C++
A Preprocessor for Verilog HDL written in C++
After git cloning the repo, the vanilla Makefile does not work for me.
I had to make a few changes:
boost_inc_path = -I/my_path_to_boost/include
boost_lib_path = -L/my_path_to_boost/lib
# global variables
export BISON_EXE = bison
export FLEX_EXE = flex
export CXX = g++
export CXXFLAGS = -Wall -g ${boost_inc_path} -D _GLIBCXX_USE_CXX11_ABI=0
export LINKFLAGS = ${boost_lib_path} -lboost_program_options -lboost_filesystem -lboost_system
The pre-processor define -D _GLIBCXX_USE_CXX11_ABI=0 was a key missing piece that took me a while to debug, after getting linker issues. The reason we need this define is that the Boost libraries were compiled with this macro OFF, however the Boost headers have this macro ON by default.
Hopefully this helps any future users of this tool.
And thank you Song for creating this brilliant tool. I've been having several issues with the perl library and this one solves all of them.
It seems not support the for loop expansion.
Is my usage incorrect, or is it really not supported?
like this:
<% for( $i = 0; $i < 4; $i += 1) { %>
May I ask for your help?thks~~~
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.