1. 15 Nov, 2010 1 commit
  2. 07 Oct, 2010 1 commit
  3. 06 Aug, 2010 1 commit
  4. 05 Jul, 2010 1 commit
  5. 18 Jun, 2010 1 commit
  6. 15 Jun, 2010 1 commit
  7. 02 Jun, 2010 1 commit
  8. 01 Jun, 2010 1 commit
  9. 26 May, 2010 1 commit
  10. 07 May, 2010 1 commit
  11. 05 May, 2010 1 commit
  12. 27 Apr, 2010 1 commit
  13. 25 Apr, 2010 1 commit
  14. 15 Apr, 2010 7 commits
    • cota's avatar
      Use alt_getopt to parse wbgen2's parameters · 65623b4a
      cota authored
      In the current command-line parameter parsing scheme, the
      argument comes before the positional parameters. This is against
      the UNIX tradition of passing the positional parameters first,
      and then the arguments.
      
      This patch gets rid of the existing parameter parsing code, using
      alt-getopt to do the hard work for us. This gets rid of the unusual
      behaviour mentioned above and also makes it easier to add more
      commands or synonyms of existing ones.
      
      Note: the help text has been modified to reflect these changes.
      See how the help text looks like before and after the patch:
      
      $ wbgen2 version 0.6.0
      (c) Tomasz Wlostowski/CERN BE-Co-HT 2010
      
      usage: ./wbgen2 input_file.wb [options]
      
      Options:
      -target [classic / pipelined]   - chooses between classic Wishbone bus and HT pipelined Wishbone.
      -lang   [vhdl / verilog]        - chooses the HDL language to be generated
      -vo     [file.vhdl / file.v]    - generates VHDL/Verilog code for the slave Wishbone core.
      -co     [file.h]                - generates C header file containing register definitions and access macros
      -consto [constants.v]           - generates Verilog file containing addresses of all registers/rams and writes them to specified file. Useful for writing testbenches.
      -doco   [documentation.html]    - generates nice HTML documentation and writes it to specified file.
      
      $ wbgen2 --help
      slave Wishbone generator
        wbgen2 [options] input_file.wb
      options:
        -C, --co=FILE         Write the slave's generated C header file to FILE
        -D, --doco=FILE       Write the slave's generated HTML documentation to FILE
        -h, --help              Show this help text
        -l, --lang=LANG       Set the output Hardware Description Language (HDL) to LANG
                                Valid values for LANG: {vhdl,verilog}
        -K, --constco=FILE    Populate FILE with Verilog output (mainly constants)
        -v, --version         Show version information
        -V, --vo=FILE         Write the slave's generated HDL code to FILE
      
      wbgen2 (c) Tomasz Wlostowski/CERN BE-CO-HT 2010
      Signed-off-by: Emilio G. Cota's avatarEmilio G. Cota <cota@braap.org>
      
      git-svn-id: http://svn.ohwr.org/wishbone-gen@9 4537843c-45c2-4d80-8546-c3283569414f
      65623b4a
    • cota's avatar
      Add modules/alt_getopt · 365bf3ef
      cota authored
      lua_altgetopt is a LUA module for processing application's
      arguments the same way BSD/GNU getopt_long(3) functions do.
      
      Webpage at CTAN:
      	http://www.ctan.org/tex-archive/support/lua/lua-alt-getopt/
      
      lua_altgetopt is MIT-licensed. Note that the MIT license is GPL-compatible.
      
      This patch includes this module in our project. A new directory, modules/,
      has been created for this purpose.
      Signed-off-by: Emilio G. Cota's avatarEmilio G. Cota <cota@braap.org>
      
      git-svn-id: http://svn.ohwr.org/wishbone-gen@8 4537843c-45c2-4d80-8546-c3283569414f
      365bf3ef
    • cota's avatar
      Use squish to build wbgen2 · 8dfcfe1d
      cota authored
      Using squish allows us to include source files or modules into
      our generated program in a portable way.
      
      This patch changes the build procedure to use squish.
      Signed-off-by: Emilio G. Cota's avatarEmilio G. Cota <cota@braap.org>
      
      git-svn-id: http://svn.ohwr.org/wishbone-gen@7 4537843c-45c2-4d80-8546-c3283569414f
      8dfcfe1d
    • cota's avatar
      Add squish · 1415e583
      cota authored
      Squish is a tool to pack many individual Lua scripts and their
      modules into a single Lua script.
      
      Squish has its homepage at
      
      	http://matthewwild.co.uk/projects/squish/home
      
      Squish is MIT-licensed. Note that the MIT license is GPL-compatible.
      
      Currently we are generating wbgen2 in a non-portable way. Adding
      squish is a first step towards doing this properly.
      Signed-off-by: Emilio G. Cota's avatarEmilio G. Cota <cota@braap.org>
      
      git-svn-id: http://svn.ohwr.org/wishbone-gen@6 4537843c-45c2-4d80-8546-c3283569414f
      1415e583
    • cota's avatar
      Makefile: mark PHONY targets as such · 3610f404
      cota authored
      Signed-off-by: Emilio G. Cota's avatarEmilio G. Cota <cota@braap.org>
      
      git-svn-id: http://svn.ohwr.org/wishbone-gen@5 4537843c-45c2-4d80-8546-c3283569414f
      3610f404
    • cota's avatar
      Makefile: add support for 'make clean' · b2cd6eb1
      cota authored
      Signed-off-by: Emilio G. Cota's avatarEmilio G. Cota <cota@braap.org>
      
      git-svn-id: http://svn.ohwr.org/wishbone-gen@4 4537843c-45c2-4d80-8546-c3283569414f
      b2cd6eb1
    • twlostow's avatar
      Removed wbgen2 executable from SVN · 48e7ced4
      twlostow authored
      git-svn-id: http://svn.ohwr.org/wishbone-gen@3 4537843c-45c2-4d80-8546-c3283569414f
      48e7ced4
  15. 03 Apr, 2010 1 commit
  16. 29 Mar, 2010 1 commit