diff --git a/Makefile b/Makefile --- a/Makefile +++ b/Makefile @@ -1,10 +1,20 @@ +SCRIPTSDIR=scripts/ +LIBDIR=lib/ +BOARDSDIR=boards/ +DESIGNSDIR=designs/ + + + + + + all: help help: @echo @echo " batch targets:" @echo - @echo " make Patch-GRLIB : install library into $(GRLIB)" + @echo " make Patch-GRLIB : install library into GRLIB at : $(GRLIB)" @echo " make dist : create a tar file for using into an other computer" @echo " make Patched-dist : create a tar file for with a patched grlib for using into an other computer" @echo " make allGPL : add a GPL HEADER in all vhdl Files" @@ -13,19 +23,19 @@ help: @echo allGPL: - sh lib/GPL_Patcher.sh -R + sh $(SCRIPTSDIR)/GPL_Patcher.sh -R init: allGPL - sh lib/lpp/vhdlsynPatcher.sh - sh lib/lpp/makeDirs.sh lib/lpp + sh $(SCRIPTSDIR)/vhdlsynPatcher.sh + sh $(SCRIPTSDIR)/makeDirs.sh lib/lpp Patch-GRLIB: init doc - sh patch.sh $(GRLIB) + sh $(SCRIPTSDIR)/patch.sh $(GRLIB) dist: init - tar -cvzf ./../lpp-lib.tgz ./../lib_lpp/* + tar -cvzf ./../lpp-lib.tgz ./../VHD_Lib/* Patched-dist: Patch-GRLIB tar -cvzf ./../lpp-patched-GRLIB.tgz $(GRLIB)/* diff --git a/TODO b/TODO --- a/TODO +++ b/TODO @@ -1,4 +1,5 @@ -patch VENDOR Ids -Write a README -add app_simple_diode -add LCD_16x2_DRIVER.vhd +x patch VENDOR Ids +x Write a README +x add app_simple_diode +x add LCD_16x2_DRIVER.vhd +Write how_to_improve.pdf diff --git a/lib/lpp/Doxyfile b/lib/lpp/Doxyfile --- a/lib/lpp/Doxyfile +++ b/lib/lpp/Doxyfile @@ -38,7 +38,7 @@ PROJECT_NUMBER = 1.0 # If a relative path is entered, it will be relative to the location # where doxygen was started. If left blank the current directory will be used. -OUTPUT_DIRECTORY = doc +OUTPUT_DIRECTORY = ../../doc/ # If the CREATE_SUBDIRS tag is set to YES, then doxygen will create # 4096 sub-directories (in 2 levels) under the output directory of each output diff --git a/lib/lpp/amba_lcd_16x2_ctrlr/amba_lcd_16x2_ctrlr.vhd b/lib/lpp/amba_lcd_16x2_ctrlr/amba_lcd_16x2_ctrlr.vhd --- a/lib/lpp/amba_lcd_16x2_ctrlr/amba_lcd_16x2_ctrlr.vhd +++ b/lib/lpp/amba_lcd_16x2_ctrlr/amba_lcd_16x2_ctrlr.vhd @@ -121,23 +121,6 @@ component LCD_CLK_GENERATOR is clk_1us : out STD_LOGIC); end component; -component AMBA_LCD_16x2_DRIVER is - Port ( reset : in STD_LOGIC; - clk : in STD_LOGIC; - Bp0 : in STD_LOGIC; - Bp1 : in STD_LOGIC; - Bp2 : in STD_LOGIC; - LCD_data : out STD_LOGIC_VECTOR (7 downto 0); - LCD_RS : out STD_LOGIC; - LCD_RW : out STD_LOGIC; - LCD_E : out STD_LOGIC; - LCD_RET : out STD_LOGIC; - LCD_CS1 : out STD_LOGIC; - LCD_CS2 : out STD_LOGIC; - SF_CE0 : out std_logic - ); -end component; - component LCD_16x2_ENGINE is generic(OSC_freqKHz : integer := 50000); Port ( clk : in STD_LOGIC; @@ -151,23 +134,4 @@ component LCD_16x2_ENGINE is end component; -component AMBA_LCD_16x2_DRIVER is - Port ( reset : in STD_LOGIC; - clk : in STD_LOGIC; - Bp0 : in STD_LOGIC; - Bp1 : in STD_LOGIC; - Bp2 : in STD_LOGIC; - LCD_data : out STD_LOGIC_VECTOR (7 downto 0); - LCD_RS : out STD_LOGIC; - LCD_RW : out STD_LOGIC; - LCD_E : out STD_LOGIC; - LCD_RET : out STD_LOGIC; - LCD_CS1 : out STD_LOGIC; - LCD_CS2 : out STD_LOGIC; - SF_CE0 : out std_logic - ); -end component; - - - end; diff --git a/lib/lpp/amba_lcd_16x2_ctrlr/vhdlsyn.txt b/lib/lpp/amba_lcd_16x2_ctrlr/vhdlsyn.txt --- a/lib/lpp/amba_lcd_16x2_ctrlr/vhdlsyn.txt +++ b/lib/lpp/amba_lcd_16x2_ctrlr/vhdlsyn.txt @@ -1,6 +1,7 @@ amba_lcd_16x2_ctrlr.vhd FRAME_CLK.vhd LCD_16x2_CFG.vhd +LCD_16x2_DRVR.vhd LCD_16x2_ENGINE.vhd LCD_2x16_DRIVER.vhd LCD_CLK_GENERATOR.vhd