OpenCores
URL https://opencores.org/ocsvn/yifive/yifive/trunk

Subversion Repositories yifive

[/] [yifive/] [trunk/] [caravel_yifive/] [verilog/] [rtl/] [user_project_wrapper.v] - Diff between revs 2 and 21

Show entire file | Details | Blame | View Log

Rev 2 Rev 21
Line 26... Line 26...
 * example should be removed and replaced with the actual
 * example should be removed and replaced with the actual
 * user project.
 * user project.
 *
 *
 *-------------------------------------------------------------
 *-------------------------------------------------------------
 */
 */
 
`default_nettype wire
module user_project_wrapper #(
module user_project_wrapper #(
    parameter BITS = 32
    parameter BITS = 32
) (
) (
`ifdef USE_POWER_PINS
`ifdef USE_POWER_PINS
    inout vdda1,        // User area 1 3.3V supply
    inout vdda1,        // User area 1 3.3V supply
Line 76... Line 76...
 
 
    // User maskable interrupt signals
    // User maskable interrupt signals
    output [2:0] user_irq
    output [2:0] user_irq
);
);
 
 
 
 
/*--------------------------------------*/
/*--------------------------------------*/
/* User project is instantiated  here   */
/* User project is instantiated  here   */
/*--------------------------------------*/
/*--------------------------------------*/
 
 
user_proj_example mprj (
digital_core u_core (
    `ifdef USE_POWER_PINS
    `ifdef USE_POWER_PINS
        .vdda1(vdda1),  // User area 1 3.3V power
        .vdda1(vdda1),  // User area 1 3.3V power
        .vdda2(vdda2),  // User area 2 3.3V power
        .vdda2(vdda2),  // User area 2 3.3V power
        .vssa1(vssa1),  // User area 1 analog ground
        .vssa1(vssa1),  // User area 1 analog ground
        .vssa2(vssa2),  // User area 2 analog ground
        .vssa2(vssa2),  // User area 2 analog ground
Line 92... Line 93...
        .vccd2(vccd2),  // User area 2 1.8V power
        .vccd2(vccd2),  // User area 2 1.8V power
        .vssd1(vssd1),  // User area 1 digital ground
        .vssd1(vssd1),  // User area 1 digital ground
        .vssd2(vssd2),  // User area 2 digital ground
        .vssd2(vssd2),  // User area 2 digital ground
    `endif
    `endif
 
 
    .wb_clk_i(wb_clk_i),
    .clk(wb_clk_i),
    .wb_rst_i(wb_rst_i),
    .rst_n(!wb_rst_i),
 
    .rtc_clk(user_clock2),
 
 
    // MGMT SoC Wishbone Slave
    // MGMT SoC Wishbone Slave
 
 
    .wbs_cyc_i(wbs_cyc_i),
    .wbd_ext_cyc_i(wbs_cyc_i),
    .wbs_stb_i(wbs_stb_i),
    .wbd_ext_stb_i(wbs_stb_i),
    .wbs_we_i(wbs_we_i),
    .wbd_ext_we_i(wbs_we_i),
    .wbs_sel_i(wbs_sel_i),
    .wbd_ext_sel_i(wbs_sel_i),
    .wbs_adr_i(wbs_adr_i),
    .wbd_ext_adr_i(wbs_adr_i),
    .wbs_dat_i(wbs_dat_i),
    .wbd_ext_dat_i(wbs_dat_i),
    .wbs_ack_o(wbs_ack_o),
    .wbd_ext_ack_o(wbs_ack_o),
    .wbs_dat_o(wbs_dat_o),
    .wbd_ext_dat_o(wbs_dat_o),
 
    .wbd_ext_err_o(),
 
 
    // Logic Analyzer
    // Logic Analyzer
 
 
    .la_data_in(la_data_in),
    .la_data_in(la_data_in),
    .la_data_out(la_data_out),
    .la_data_out(la_data_out),

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.