Commit 25765216 authored by unknown's avatar unknown
Browse files

- Added FMC pins to VFC HD model

parent dfce841d
......@@ -168,7 +168,8 @@ VmeBusModule #(.g_NSlots(20), .g_VerboseDefault(1))
//==== VFC ====\\
VfcHd_v2_0
i_VfcHdSlot1(
i_VfcHdSlot1(
// VME interface:
.As_in(As_n),
.AM_ib6(AM_b6),
.A_iob31(A_b31),
......@@ -185,7 +186,36 @@ VfcHd_v2_0
.SysClk_ik(SysClk_k),
.Ga_ionb5(Ga_nmb5[1]),
.Gap_ion(Gap_nb5),
// FMC Connector:
.FmcLaP_iob34(),
.FmcLaN_iob34(),
.FmcHaP_iob24(),
.FmcHaN_iob24(),
.FmcHbP_iob22(),
.FmcHbN_iob22(),
.FmcPrsntM2C_in(1'b1),
.FmcTck_ok(),
.FmcTms_o(),
.FmcTdi_o(),
.FmcTdo_i(1'b0),
.FmcTrstL_orn(),
.FmcScl_ok(),
.FmcSda_io(),
.FmcPgM2C_in(1'b0),
.FmcPgC2M_on(),
.FmcClk0M2CCmos_ik(1'b0),
.FmcClk1M2CCmos_ik(1'b0),
.FmcClk2Bidir_ik(1'b0),
.FmcClk3Bidir_ik(1'b0),
.FmcClkDir_i(1'b0),
.FmcDpC2M_ob10(),
.FmcDpM2C_ib10(10'h0),
.FmcGbtClk0M2CLeft_ik(1'b0),
.FmcGbtClk1M2CLeft_ik(1'b0),
.FmcGbtClk0M2CRight_ik(1'b0),
.FmcGbtClk1M2CRight_ik(1'b0),
// Miscellaneous:
.PushButton_i(PushButton),
.GpIoLemo_iob4());
.GpIoLemo_iob4());
endmodule
\ No newline at end of file
......@@ -124,6 +124,7 @@ VmeBusModule #(.g_NSlots(20), .g_VerboseDefault(1))
//==== VFC ====\\
VfcHd_v2_0
i_VfcHdSlot1(
// VME interface:
.As_in(As_n),
.AM_ib6(AM_b6),
.A_iob31(A_b31),
......@@ -140,8 +141,36 @@ VfcHd_v2_0
.SysClk_ik(SysClk_k),
.Ga_ionb5(Ga_nmb5[1]),
.Gap_ion(Gap_nb5),
// FMC Connector:
.FmcLaP_iob34(),
.FmcLaN_iob34(),
.FmcHaP_iob24(),
.FmcHaN_iob24(),
.FmcHbP_iob22(),
.FmcHbN_iob22(),
.FmcPrsntM2C_in(1'b1),
.FmcTck_ok(),
.FmcTms_o(),
.FmcTdi_o(),
.FmcTdo_i(1'b0),
.FmcTrstL_orn(),
.FmcScl_ok(),
.FmcSda_io(),
.FmcPgM2C_in(1'b0),
.FmcPgC2M_on(),
.FmcClk0M2CCmos_ik(1'b0),
.FmcClk1M2CCmos_ik(1'b0),
.FmcClk2Bidir_ik(1'b0),
.FmcClk3Bidir_ik(1'b0),
.FmcClkDir_i(1'b0),
.FmcDpC2M_ob10(),
.FmcDpM2C_ib10(10'h0),
.FmcGbtClk0M2CLeft_ik(1'b0),
.FmcGbtClk1M2CLeft_ik(1'b0),
.FmcGbtClk0M2CRight_ik(1'b0),
.FmcGbtClk1M2CRight_ik(1'b0),
// Miscellaneous:
.PushButton_i(PushButton),
.GpIoLemo_iob4());
.GpIoLemo_iob4());
endmodule
\ No newline at end of file
......@@ -26,26 +26,54 @@
module VfcHd_v2_0
(
//==== VME interface connectors ====\\
input wire As_in,
input wire [5:0] AM_ib6,
inout wire [31:1] A_iob31,
inout wire LWord_io,
input wire [1:0] Ds_inb2,
input wire Wr_in,
inout wire [31:0] D_iob32,
output wire DtAck_on,
output wire [7:1] Irq_onb7,
input wire Iack_in,
input wire IackIn_in,
output wire IackOut_on,
input wire SysResetN_irn,
input wire SysClk_ik,
inout wire [4:0] Ga_ionb5,
inout wire Gap_ion,
//==== VME interface ====\\
input As_in,
input [5:0] AM_ib6,
inout [31:1] A_iob31,
inout LWord_io,
input [1:0] Ds_inb2,
input Wr_in,
inout [31:0] D_iob32,
output DtAck_on,
output [7:1] Irq_onb7,
input Iack_in,
input IackIn_in,
output IackOut_on,
input SysResetN_irn,
input SysClk_ik,
inout [4:0] Ga_ionb5,
inout Gap_ion,
//==== FMC Connector ====\\
inout [33:0] FmcLaP_iob34,
inout [33:0] FmcLaN_iob34,
inout [23:0] FmcHaP_iob24,
inout [23:0] FmcHaN_iob24,
inout [21:0] FmcHbP_iob22,
inout [21:0] FmcHbN_iob22,
input FmcPrsntM2C_in,
output FmcTck_ok,
output FmcTms_o,
input FmcTdi_o,
input FmcTdo_i,
output FmcTrstL_orn,
inout FmcScl_ok,
inout FmcSda_io,
input FmcPgM2C_in,
output FmcPgC2M_on,
input FmcClk0M2CCmos_ik,
input FmcClk1M2CCmos_ik,
inout FmcClk2Bidir_ik,
inout [9:0] FmcClk3Bidir_ik,
input [9:0] FmcClkDir_i,
output FmcDpC2M_ob10,
input FmcDpM2C_ib10,
input FmcGbtClk0M2CLeft_ik,
input FmcGbtClk1M2CLeft_ik,
input FmcGbtClk0M2CRight_ik,
input FmcGbtClk1M2CRight_ik,
//==== Miscellaneus ====\\
input wire PushButton_i,
inout wire [4:1] GpIoLemo_iob4
input PushButton_i,
inout [4:1] GpIoLemo_iob4
);
//======================================= Declarations =====================================\\
......@@ -154,33 +182,33 @@ VfcHdTop
.VAdcCs_o(),
.VAdcSclk_ok(),
//FMC connector:
.FmcLaP_iob34(),
.FmcLaN_iob34(),
.FmcHaP_iob24(),
.FmcHaN_iob24(),
.FmcHbP_iob22(),
.FmcHbN_iob22(),
.FmcPrsntM2C_in(),
.FmcTck_ok(),
.FmcTms_o(),
.FmcTdi_o(),
.FmcTdo_i(),
.FmcTrstL_orn(),
.FmcScl_ok(),
.FmcSda_io(),
.FmcPgM2C_in(),
.FmcPgC2M_on(),
.FmcClk0M2CCmos_ik(),
.FmcClk1M2CCmos_ik(),
.FmcClk2Bidir_ik(),
.FmcClk3Bidir_ik(),
.FmcClkDir_i(),
.FmcDpC2M_ob10(),
.FmcDpM2C_ib10(),
.FmcGbtClk0M2CLeft_ik(),
.FmcGbtClk1M2CLeft_ik(),
.FmcGbtClk0M2CRight_ik(),
.FmcGbtClk1M2CRight_ik(),
.FmcLaP_iob34(FmcLaP_iob34),
.FmcLaN_iob34(FmcLaN_iob34),
.FmcHaP_iob24(FmcHaP_iob24),
.FmcHaN_iob24(FmcHaN_iob24),
.FmcHbP_iob22(FmcHbP_iob22),
.FmcHbN_iob22(FmcHbN_iob22),
.FmcPrsntM2C_in(FmcPrsntM2C_in),
.FmcTck_ok(FmcTck_ok),
.FmcTms_o(FmcTms_o),
.FmcTdi_o(FmcTdi_o),
.FmcTdo_i(FmcTdo_i),
.FmcTrstL_orn(FmcTrstL_orn),
.FmcScl_ok(FmcScl_ok),
.FmcSda_io(FmcSda_io),
.FmcPgM2C_in(FmcPgM2C_in),
.FmcPgC2M_on(FmcPgC2M_on),
.FmcClk0M2CCmos_ik(FmcClk0M2CCmos_ik),
.FmcClk1M2CCmos_ik(FmcClk1M2CCmos_ik),
.FmcClk2Bidir_ik(FmcClk2Bidir_ik),
.FmcClk3Bidir_ik(FmcClk3Bidir_ik),
.FmcClkDir_i(FmcClkDir_i),
.FmcDpC2M_ob10(FmcDpC2M_ob10),
.FmcDpM2C_ib10(FmcDpM2C_ib10),
.FmcGbtClk0M2CLeft_ik(FmcGbtClk0M2CLeft_ik),
.FmcGbtClk1M2CLeft_ik(FmcGbtClk1M2CLeft_ik),
.FmcGbtClk0M2CRight_ik(FmcGbtClk0M2CRight_ik),
.FmcGbtClk1M2CRight_ik(FmcGbtClk1M2CRight_ik),
//Clock sources and control:
.OeSi57x_oe(OeSi57x),
.Si57xClk_ik(Si57xClk_k),
......
......@@ -124,6 +124,7 @@ VmeBusModule #(.g_NSlots(20), .g_VerboseDefault(1))
//==== VFC ====\\
VfcHd_v2_0
i_VfcHdSlot1(
// VME interface:
.As_in(As_n),
.AM_ib6(AM_b6),
.A_iob31(A_b31),
......@@ -140,6 +141,35 @@ VfcHd_v2_0
.SysClk_ik(SysClk_k),
.Ga_ionb5(Ga_nmb5[1]),
.Gap_ion(Gap_nb5),
// FMC Connector:
.FmcLaP_iob34(),
.FmcLaN_iob34(),
.FmcHaP_iob24(),
.FmcHaN_iob24(),
.FmcHbP_iob22(),
.FmcHbN_iob22(),
.FmcPrsntM2C_in(1'b1),
.FmcTck_ok(),
.FmcTms_o(),
.FmcTdi_o(),
.FmcTdo_i(1'b0),
.FmcTrstL_orn(),
.FmcScl_ok(),
.FmcSda_io(),
.FmcPgM2C_in(1'b0),
.FmcPgC2M_on(),
.FmcClk0M2CCmos_ik(1'b0),
.FmcClk1M2CCmos_ik(1'b0),
.FmcClk2Bidir_ik(1'b0),
.FmcClk3Bidir_ik(1'b0),
.FmcClkDir_i(1'b0),
.FmcDpC2M_ob10(),
.FmcDpM2C_ib10(10'h0),
.FmcGbtClk0M2CLeft_ik(1'b0),
.FmcGbtClk1M2CLeft_ik(1'b0),
.FmcGbtClk0M2CRight_ik(1'b0),
.FmcGbtClk1M2CRight_ik(1'b0),
// Miscellaneous:
.PushButton_i(PushButton),
.GpIoLemo_iob4());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment