diff options
author | Couriersud <couriersud@users.noreply.github.com> | 2013-12-31 15:35:08 +0000 |
---|---|---|
committer | Couriersud <couriersud@users.noreply.github.com> | 2013-12-31 15:35:08 +0000 |
commit | a8a62c3212fe7b0793d580d3fcbacd190485aa30 (patch) | |
tree | b5a43fa5d88898b81d22a1a751396558add6fa77 /.gitattributes | |
parent | ce8e8234f0b1316c06d9871bc35e55751351f466 (diff) |
Enhanced the netlist parser and cleaned pong.c. Also added a folder nl_examples which contains standalone netlist examples. [couriersud]
The examples have a ".c" suffix. In eclipse, I get automatic syntax parsing and error notifications. The parser treats "#" preprocessor defines/includes just as comments.
All of these examples can be run through nltool:
./nltool -f nl_examples/opamp.c -t 1 -l OUT
runs the opamp example for 1 second of emulation time and logs the terminal named "OUT" to "netlist_log_OUT.log".
I'll post a simple script to the list to visualize those logs using gnuplot.
Diffstat (limited to '.gitattributes')
-rw-r--r-- | .gitattributes | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes index 54b3d963e67..0a5ce6ab896 100644 --- a/.gitattributes +++ b/.gitattributes @@ -347,6 +347,9 @@ keymaps/km_pt_LINUX.map svneol=native#text/plain keymaps/km_se_LINUX.map svneol=native#text/plain keymaps/km_se_OSX.map svneol=native#text/plain /makefile svneol=native#text/plain +nl_examples/7400_astable.c svneol=native#text/plain +nl_examples/ne555_astable.c svneol=native#text/plain +nl_examples/opamp.c svneol=native#text/plain src/build/build.mak svneol=native#text/plain src/build/file2str.c svneol=native#text/plain src/build/makedep.c svneol=native#text/plain |