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

    Message

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

    From: Jose Ignacio Villar<jose@d...>
    Date: Wed Apr 30 00:27:48 CEST 2008
    Subject: [openrisc] Pb with the jtag_trst pin.
    Top
    Hi!
    you can connect it to an external source as a button of your board.
    Here i send you a working instantiation for Spartan 3E starter kit from
    Digilent.

    from system.ucf:
    #
    # JTAG signals - on J4 6-pin accessory header.
    # Use button "east" as trst.
    #
    NET "jtag_tms" LOC = "D7" | IOSTANDARD = LVCMOS33 | PULLDOWN ;
    NET "jtag_tdi" LOC = "C7" | IOSTANDARD = LVCMOS33 | PULLDOWN ;
    NET "jtag_tdo" LOC = "F8" | IOSTANDARD = LVCMOS33 | SLEW = FAST | DRIVE =
    8 ;
    NET "jtag_tck" LOC = "E8" | IOSTANDARD = LVCMOS33 | PULLDOWN ;
    NET "jtag_trst" LOC = "H13" | IOSTANDARD = LVCMOS33 | PULLDOWN ;

    from system.v:
    dbg_top dbg_top (

    // JTAG pins
    .tms_pad_i ( jtag_tms ),
    .tck_pad_i ( jtag_tck ),
    .trst_pad_i ( ~jtag_trst ),
    .tdi_pad_i ( jtag_tdi ),
    .tdo_pad_o ( jtag_tdo ),
    .tdo_padoen_o ( ),

    // Boundary Scan signals
    .capture_dr_o ( ),
    .shift_dr_o ( ),
    .update_dr_o ( ),
    .extest_selected_o ( ),
    .bs_chain_i ( 1'b0 ),
    .bs_chain_o ( ),

    // RISC signals
    .risc_clk_i ( wb_clk ),
    .risc_addr_o ( dbg_adr ),
    .risc_data_i ( dbg_dat_risc ),
    .risc_data_o ( dbg_dat_dbg ),
    .wp_i ( dbg_wp ),
    .bp_i ( dbg_bp ),
    .opselect_o ( dbg_op ),
    .lsstatus_i ( dbg_lss ),
    .istatus_i ( dbg_is ),
    .risc_stall_o ( dbg_stall ),
    .reset_o ( ),

    // WISHBONE common
    .wb_clk_i ( wb_clk ),
    .wb_rst_i ( wb_rst ),

    // WISHBONE master interface
    .wb_adr_o ( wb_dm_adr_o ),
    .wb_dat_i ( wb_dm_dat_i ),
    .wb_dat_o ( wb_dm_dat_o ),
    .wb_sel_o ( wb_dm_sel_o ),
    .wb_we_o ( wb_dm_we_o ),
    .wb_stb_o ( wb_dm_stb_o ),
    .wb_cyc_o ( wb_dm_cyc_o ),
    .wb_cab_o ( wb_dm_cab_o ),
    .wb_ack_i ( wb_dm_ack_i ),
    .wb_err_i ( wb_dm_err_i )
    );

    hope it helps.

    Kind regards,
    José Ignacio Villar.


    On Mon, Apr 28, 2008 at 10:10 AM, <attachment.htm
    >
    -------------- next part --------------
    An HTML attachment was scrubbed... URL: attachment.htm

    ReferenceAuthor
    [openrisc] Pb with the jtag_trst pin.Ffabre

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