Line 40... |
Line 40... |
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
//
|
//
|
// CVS Revision History
|
// CVS Revision History
|
//
|
//
|
// $Log: not supported by cvs2svn $
|
// $Log: not supported by cvs2svn $
|
|
// Revision 1.10 2002/10/18 03:36:37 tadejm
|
|
// Changed wrong signal name scanb_sen into scanb_en.
|
|
//
|
// Revision 1.9 2002/10/17 22:51:08 tadejm
|
// Revision 1.9 2002/10/17 22:51:08 tadejm
|
// Changed BIST signals for RAMs.
|
// Changed BIST signals for RAMs.
|
//
|
//
|
// Revision 1.8 2002/10/11 10:09:01 mihad
|
// Revision 1.8 2002/10/11 10:09:01 mihad
|
// Added additional testcase and changed rst name in BIST to trst
|
// Added additional testcase and changed rst name in BIST to trst
|
Line 78... |
Line 81... |
|
|
// synopsys translate_off
|
// synopsys translate_off
|
`include "timescale.v"
|
`include "timescale.v"
|
// synopsys translate_on
|
// synopsys translate_on
|
|
|
module PCI_TARGET_UNIT
|
module pci_target_unit
|
(
|
(
|
reset_in,
|
reset_in,
|
wb_clock_in,
|
wb_clock_in,
|
pci_clock_in,
|
pci_clock_in,
|
ADR_O,
|
ADR_O,
|
Line 465... |
Line 468... |
wire wbm_sm_ack_in = ACK_I ;
|
wire wbm_sm_ack_in = ACK_I ;
|
wire wbm_sm_rty_in = RTY_I ;
|
wire wbm_sm_rty_in = RTY_I ;
|
wire wbm_sm_err_in = ERR_I ;
|
wire wbm_sm_err_in = ERR_I ;
|
|
|
// WISHBONE master interface instantiation
|
// WISHBONE master interface instantiation
|
WB_MASTER wishbone_master
|
pci_wb_master wishbone_master
|
(
|
(
|
.wb_clock_in (wb_clock_in),
|
.wb_clock_in (wb_clock_in),
|
.reset_in (reset_in),
|
.reset_in (reset_in),
|
.pci_tar_read_request (wbm_sm_pci_tar_read_request), //in
|
.pci_tar_read_request (wbm_sm_pci_tar_read_request), //in
|
.pci_tar_address (wbm_sm_pci_tar_address), //in
|
.pci_tar_address (wbm_sm_pci_tar_address), //in
|
Line 525... |
Line 528... |
wire [3:0] fifos_pcir_control_in = wbm_sm_pcir_fifo_control_out ;
|
wire [3:0] fifos_pcir_control_in = wbm_sm_pcir_fifo_control_out ;
|
wire fifos_pcir_renable_in = pcit_if_pcir_fifo_renable_out ;
|
wire fifos_pcir_renable_in = pcit_if_pcir_fifo_renable_out ;
|
wire fifos_pcir_flush_in = pcit_if_pcir_fifo_flush_out ;
|
wire fifos_pcir_flush_in = pcit_if_pcir_fifo_flush_out ;
|
|
|
// PCIW_FIFO and PCIR_FIFO instantiation
|
// PCIW_FIFO and PCIR_FIFO instantiation
|
PCIW_PCIR_FIFOS fifos
|
pci_pciw_pcir_fifos fifos
|
(
|
(
|
.wb_clock_in (wb_clock_in),
|
.wb_clock_in (wb_clock_in),
|
.pci_clock_in (pci_clock_in),
|
.pci_clock_in (pci_clock_in),
|
.reset_in (reset_in),
|
.reset_in (reset_in),
|
.pciw_wenable_in (fifos_pciw_wenable_in), //for PCI Target !!!
|
.pciw_wenable_in (fifos_pciw_wenable_in), //for PCI Target !!!
|
Line 583... |
Line 586... |
wire del_sync_status_in = 1'b0 ;
|
wire del_sync_status_in = 1'b0 ;
|
wire del_sync_burst_in = pcit_if_burst_ok_out ;
|
wire del_sync_burst_in = pcit_if_burst_ok_out ;
|
wire del_sync_retry_expired_in = wbm_sm_read_rty_cnt_exp_out ;
|
wire del_sync_retry_expired_in = wbm_sm_read_rty_cnt_exp_out ;
|
|
|
// delayed transaction logic instantiation
|
// delayed transaction logic instantiation
|
DELAYED_SYNC del_sync
|
pci_delayed_sync del_sync
|
(
|
(
|
.reset_in (reset_in),
|
.reset_in (reset_in),
|
.req_clk_in (pci_clock_in),
|
.req_clk_in (pci_clock_in),
|
.comp_clk_in (wb_clock_in),
|
.comp_clk_in (wb_clock_in),
|
.req_in (del_sync_req_in),
|
.req_in (del_sync_req_in),
|
Line 689... |
Line 692... |
wire pcit_if_addr_tran_en2_in = pciu_at_en_in[2] ;
|
wire pcit_if_addr_tran_en2_in = pciu_at_en_in[2] ;
|
wire pcit_if_addr_tran_en3_in = pciu_at_en_in[3] ;
|
wire pcit_if_addr_tran_en3_in = pciu_at_en_in[3] ;
|
wire pcit_if_addr_tran_en4_in = pciu_at_en_in[4] ;
|
wire pcit_if_addr_tran_en4_in = pciu_at_en_in[4] ;
|
wire pcit_if_addr_tran_en5_in = pciu_at_en_in[5] ;
|
wire pcit_if_addr_tran_en5_in = pciu_at_en_in[5] ;
|
|
|
PCI_TARGET32_INTERFACE pci_target_if
|
pci_target32_interface pci_target_if
|
(
|
(
|
.clk_in (pci_clock_in),
|
.clk_in (pci_clock_in),
|
.reset_in (reset_in),
|
.reset_in (reset_in),
|
.address_in (pcit_if_address_in),
|
.address_in (pcit_if_address_in),
|
.addr_claim_out (pcit_if_addr_claim_out),
|
.addr_claim_out (pcit_if_addr_claim_out),
|
Line 834... |
Line 837... |
wire pcit_sm_wbu_frame_en_in = pciu_wbu_frame_en_in ;
|
wire pcit_sm_wbu_frame_en_in = pciu_wbu_frame_en_in ;
|
wire pcit_sm_trdy_reg_in = pciu_pciif_trdy_reg_in ;
|
wire pcit_sm_trdy_reg_in = pciu_pciif_trdy_reg_in ;
|
wire pcit_sm_stop_reg_in = pciu_pciif_stop_reg_in ;
|
wire pcit_sm_stop_reg_in = pciu_pciif_stop_reg_in ;
|
|
|
|
|
PCI_TARGET32_SM pci_target_sm
|
pci_target32_sm pci_target_sm
|
(
|
(
|
.clk_in (pci_clock_in),
|
.clk_in (pci_clock_in),
|
.reset_in (reset_in),
|
.reset_in (reset_in),
|
.pci_frame_in (pcit_sm_frame_in),
|
.pci_frame_in (pcit_sm_frame_in),
|
.pci_irdy_in (pcit_sm_irdy_in),
|
.pci_irdy_in (pcit_sm_irdy_in),
|