LOGIN   :::   RECOVER PASS   :::   GET ACCOUNT    
Browse
  • Projects
  • Code (CVS)
  • Forums
  • News
  • Articles
  • Polls
  •  
    OpenCores
  • FAQ
  • CVS HowTo
  • Mission
  • Media
  • Tools
  • Sponsors
  • Mirrors
  • Logos
  • Contact us
  •  
    Tools
  • Search
      
  • Download Cores (CVSGet)
  •  
    More
  • Wishbone
  • Perlilog
  • EDA tools
  • OpenTech CD
  •  
    Navigation: All forums > Cvs-checkins > Message List > Message Post

    Message

    Reply | Reply all
    Date Prev | Date Next | Thread Prev | Thread Next Date Index | Thread Index

    From: cvs at opencores.org<cvs@o...>
    Date: Sat Jul 29 03:54:09 CEST 2006
    Subject: [cvs-checkins] MODIFIED: mb-jpeg ...
    Top
    Date: 00/06/07 29:03:54

    Added: mb-jpeg/drivers/fsl_dct_v1_00_a/data fsl_dct_v2_1_0.mdd
    fsl_dct_v2_1_0.tcl
    Log:
    Drivers for fsl_dct accelerator


    Revision Changes Path
    1.1 mb-jpeg/drivers/fsl_dct_v1_00_a/data/fsl_dct_v2_1_0.mdd

    http://www.opencores.org/cvsweb.shtml/mb-jpeg/drivers/fsl_dct_v1_00_a/data/fsl_dct_v2_1_0.mdd?rev=1.1&content-type=text/x-cvsweb-markup

    Index: fsl_dct_v2_1_0.mdd
    ===================================================================
    ##############################################################################
    ## Filename: D:\mb-jpeg\drivers/fsl_dct_v1_00_a/data/fsl_dct_v2_1_0.mdd
    ## Description: Microprocessor Driver Definition
    ## Date: Fri Jul 21 08:31:12 2006 (by Create and Import Peripheral Wizard)
    ##############################################################################

    OPTION psf_version = 2.1.0;

    BEGIN DRIVER fsl_dct_v1_00_a

    OPTION supported_peripherals = (fsl_dct_v1_00_a);
    OPTION depends = (common_v1_00_a);
    OPTION DESC = FSL DCT accelerator;
    OPTION copyfiles = all;

    END DRIVER



    1.1 mb-jpeg/drivers/fsl_dct_v1_00_a/data/fsl_dct_v2_1_0.tcl

    http://www.opencores.org/cvsweb.shtml/mb-jpeg/drivers/fsl_dct_v1_00_a/data/fsl_dct_v2_1_0.tcl?rev=1.1&content-type=text/x-cvsweb-markup

    Index: fsl_dct_v2_1_0.tcl
    ===================================================================
    ##############################################################################
    ## Filename: D:\mb-jpeg\drivers/fsl_dct_v1_00_a/data/fsl_dct_v2_1_0.tcl
    ## Description: Tool Command Language
    ## Date: Fri Jul 21 08:31:12 2006 (by Create and Import Peripheral Wizard)
    ##############################################################################

    ## Note:
    ## This tcl file will detect the FSL id number of the connected FSL interface,
    ## and define them as macro in xparameters.h file.

    proc generate {drv_handle} {
    puts "Generating Macros for FSL peripheral access ..."
    set hw_inst_handle [xget_sw_parameter_handle $drv_handle "HW_INSTANCE"]
    set hw_inst [xget_value $hw_inst_handle "value"]
    set drv_name_handle [xget_sw_parameter_handle $drv_handle "DRIVER_NAME"]
    set ipname [xget_value $drv_name_handle "value"]
    set header_file [format "x%s_fsl.h" $ipname]
    fsl_defines "xparameters.h" $hw_inst $ipname
    }

    proc fsl_defines {file_name core_name ipname} {
    set core_def_name [string toupper $core_name]
    if {[string compare -nocase "none" $core_name] != 0} {
    set conffile [xopen_include_file $file_name]
    set sw_prochandle [xget_libgen_proc_handle]
    set ip_handle [xget_sw_ipinst_handle_from_processor $sw_prochandle $core_name]
    set mhs_handle [xget_handle $ip_handle "parent"]

    set mfsl_name [xget_value $ip_handle "BUS_INTERFACE" "MFSL"]
    if {$mfsl_name != ""} {
    set mfsl_slave [xget_hw_connected_busifs_handle $mhs_handle $mfsl_name "slave"]
    set mfsl_index [xget_value $mfsl_slave "NAME"]
    set mfsl_index [string toupper $mfsl_index]
    set mfsl_index [string map {SFSL ""} $mfsl_index]
    puts $conffile "#define XPAR_FSL_${core_def_name}_OUTPUT_SLOT_ID ${mfsl_index}"
    }

    set sfsl_name [xget_value $ip_handle "BUS_INTERFACE" "SFSL"]
    if {$sfsl_name != ""} {
    set sfsl_master [xget_hw_connected_busifs_handle $mhs_handle $sfsl_name "master"]
    set sfsl_index [xget_value $sfsl_master "NAME"]
    set sfsl_index [string toupper $sfsl_index]
    set sfsl_index [string map {MFSL ""} $sfsl_index]
    puts $conffile "#define XPAR_FSL_${core_def_name}_INPUT_SLOT_ID ${sfsl_index}"
    }

    puts $conffile ""
    puts $conffile "/******************************************************************/"
    puts $conffile ""
    close $conffile
    }
    }




     
    Copyright (c) 1999 OPENCORES.ORG. All rights reserved.