Changeset 8 in XOpenSparcT1 for trunk/Top/W1.v


Ignore:
Timestamp:
03/22/11 11:51:17 (13 years ago)
Author:
pntsvt00
Message:

modifiche per la sintesi su Xilinx

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Top/W1.v

    r6 r8  
    2222module W1( 
    2323 
    24    input         sysclk, 
     24   input         clk_in, 
    2525   input         sysrst, 
    2626 
     
    4242   output [ 7:0] ddr3_dm, 
    4343 
    44    output        phy_init_done, // LED 
    45    input         rup, 
    46    input         rdn, 
     44   //output        phy_init_done, // LED 
     45   //input         rup, 
     46   //input         rdn, 
    4747         
    4848   // Console interface 
    4949   input  srx, 
    5050   output stx, 
    51    input  [1:0] flash_rev, 
     51   //input  [1:0] flash_rev, 
    5252    
    5353   /* MII interface replaced by SGMII 
     
    8080   //output led_an, 
    8181         
    82    output     [24:0] flash_addr, 
     82   output     [21:0] flash_addr, 
    8383   input      [15:0] flash_data, 
    8484   output            flash_oen, 
     
    9090); 
    9191 
     92wire pllclk; 
     93wire sysclk; 
    9294wire wb_rst_i; 
    9395wire [35:0] CONTROL0; 
     
    387389dram_wb dram_wb_inst ( 
    388390    .clk200(sysclk),  
    389     .rup(rup), 
    390     .rdn(rdn), 
     391    //.clk200(clk_in), 
     392    //.rup(rup), 
     393    //.rdn(rdn), 
    391394    .wb_clk_i(wb_clk_i),  
    392395    .wb_rst_i(wb_rst_i),  
     
    455458    .flash_oen(flash_oen),  
    456459    .flash_wen(flash_wen),  
    457     .flash_cen(flash_cen), 
    458     .flash_rev(flash_rev) 
     460    .flash_cen(flash_cen) 
     461    //.flash_rev(flash_rev) 
    459462); 
    460463 
     
    570573assign sysrst_p=!sysrst; 
    571574 
     575 
     576IBUFG ibufg_inst (.O(sysclk),.I(clk_in)); 
     577BUFG bufg_inst (.O(pllclk),.I(sysclk)); 
     578 
    572579// Standard PLL 
    573580pll pll_inst( 
    574581        .RST_IN(sysrst_p), 
    575         .CLKIN1_IN(sysclk), 
     582        .CLKIN1_IN(pllclk), 
    576583        .CLKOUT0_OUT(wb_clk_i), //Up to 75 MHz on Stratix IV 
    577584        .LOCKED_OUT(dcm_locked) 
Note: See TracChangeset for help on using the changeset viewer.