• Benoit Rat's avatar
    cgen_vhdl: add SDB descriptor while generating package (v0.7.0) · dc95bb1f
    Benoit Rat authored
    You only need to add sdb_vendor in your *.wb to generate the file
    
    {...
    hdl_entity = "wb_clk_counters";
    sdb_vendor  = 0x7501;
    sdb_version = 1;
    ...
    }
    
    Then you can generate with the new example/Makefile by calling:
    
    	make pts
    
    or
    
    	wbgen2 --vo=wb_clk_counters.vhdl --vpo=wb_clk_counters_pkg.vhdl
    --hstyle=record wb_clk_counters.wb
    
    IMPORTANT: This new option requires lua-md5 library
    
    	sudo apt-get install lua-md5
    dc95bb1f